[pg-cvs] Bug in delete-directory-and-files

Luis Oliveira luismbo at gmail.com
Sun Aug 16 22:11:35 UTC 2009


"Leslie P. Polzer" <sky at viridian-project.de> writes:

> % ls -Rl /tmp/foo
> /tmp/foo:
> -rw-r--r-- 1 sky users 4625 1997-11-14 21:04 symlinks_1.2.orig.tar.gz
>
> /tmp/foo/src:
> symlinks_1.2.orig.tar.gz -> /tmp/foo/symlinks_1.2.orig.tar.gz
>
> Now when I call delete-directory-and-files on it I get:
>
> debugger invoked on a OSICAT-POSIX:ENOTEMPTY in thread
> #<THREAD "initial thread" RUNNING {A9058A1}>:
>   #<ENOTEMPTY 39 :ENOTEMPTY "">

Sorry, I can't reproduce this.

$ ls -Rl /tmp/foo
/tmp/foo:
total 4
drwxr-xr-x 2 luis luis 4096 2009-08-16 22:53 src
-rw-r--r-- 1 luis luis    0 2009-08-16 22:52 symlinks_1.2.orig.tar.gz

/tmp/foo/src:
total 0
lrwxrwxrwx 1 luis luis 33 2009-08-16 22:53 symlinks_1.2.orig.tar.gz ->
/tmp/foo/symlinks_1.2.orig.tar.gz

$ sbcl
[...]
* (osicat:delete-directory-and-files #p"/tmp/foo/")

T

[...]
$ ls /tmp/foo
ls: cannot access /tmp/foo: No such file or directory


Am I missing some step?

-- 
Luís Oliveira
http://student.dei.uc.pt/~lmoliv/





More information about the osicat-devel mailing list