From: Sam S. <sd...@gn...> - 2002-10-10 16:40:15
|
DELETE-FILE in CLISP deletes the truename of the file, so you cannot delete a symbolic link, only its target: $ touch foo $ ln -s foo bar $ clisp -q -norc -x '(delete-file "foo") $ ls foo $ i.e., `bar' is gone, but `foo' is still there. I think it is better to remove the symlink. (the current behavior is always available with (DELETE-FILE (TRUENAME x))). comments? -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux <http://www.camera.org> <http://www.iris.org.il> <http://www.memri.org/> <http://www.mideasttruth.com/> <http://www.palestine-central.com/links.html> "A pint of sweat will save a gallon of blood." -- George S. Patton |