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

Leslie P. Polzer sky at viridian-project.de
Tue Aug 18 10:12:58 UTC 2009


Leslie P. Polzer wrote:

> file: #P"PKGBUILD"
> file: #P"symlinks_1.2.orig.tar.gz"
> file: #P"src/"
>       2: (OSICAT:DELETE-DIRECTORY #P"src/")
>
> debugger invoked on a OSICAT-POSIX:ENOTEMPTY in thread #<THREAD "initial thread" RUNNING
> {A905A39}>:
>   #<ENOTEMPTY 39 :ENOTEMPTY "">
>
>
> Why is DELETE-DIRECTORY being called instantly on src/ although
> it still contains a symlink?

Correction: since we're walking depth-first the second "file:" line
refers to the symlink being deleted.

However my SBCL here doesn't delete the link but the target instead.

Will research this further...

  Leslie

-- 
http://www.linkedin.com/in/polzer





More information about the osicat-devel mailing list