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

Leslie P. Polzer sky at viridian-project.de
Mon Aug 17 07:49:41 UTC 2009


Luis Oliveira wrote:

> Sorry, I can't reproduce this.

Weird. Here's the whole thing from scratch:

% ls /tmp
keyring-MSmdLA  orbit-gdm  orbit-sky  ssh-JKVALh3920
% mkdir /tmp/foo/src -p
% cd /tmp/foo
% touch symlinks_1.2.orig.tar.gz
% cd src
% ln -s /tmp/foo/symlinks_1.2.orig.tar.gz
% ls -l
total 0
lrwxrwxrwx 1 sky users 33 2009-08-17 09:51 symlinks_1.2.orig.tar.gz ->
/tmp/foo/symlinks_1.2.orig.tar.gz
% sbcl
(running SBCL from: /home/sky/sbcl.git.dev)
This is SBCL 1.0.30.26, an implementation of ANSI Common Lisp.
More information about SBCL is available at <http://www.sbcl.org/>.

SBCL is free software, provided as is, with absolutely no warranty.
It is mostly in the public domain; some portions are provided under
BSD-style licenses.  See the CREDITS and COPYING files in the
distribution for more information.
CL-USER(1): (asdf:oos 'asdf:load-op 'osicat)

; loading system definition from
; /home/sky/projects/lisp/clbuild.paktahn/systems/osicat.asd into
; #<PACKAGE "ASDF0">
; loading system definition from
; /home/sky/projects/lisp/clbuild.paktahn/systems/trivial-features.asd into
; #<PACKAGE "ASDF1">
; registering #<SYSTEM TRIVIAL-FEATURES {AAA6C39}> as TRIVIAL-FEATURES
; loading system definition from
; /home/sky/projects/lisp/clbuild.paktahn/systems/cffi-grovel.asd into
; #<PACKAGE "ASDF1">
; registering #<SYSTEM CFFI-GROVEL {ACD8D69}> as CFFI-GROVEL
; loading system definition from
; /home/sky/projects/lisp/clbuild.paktahn/systems/alexandria.asd into
; #<PACKAGE "ASDF1">
; registering #<SYSTEM :ALEXANDRIA {AE96181}> as ALEXANDRIA
; loading system definition from
; /home/sky/projects/lisp/clbuild.paktahn/systems/cffi.asd into
; #<PACKAGE "ASDF1">
; registering #<SYSTEM CFFI {B037E69}> as CFFI

CL-USER(2): (osicat:delete-directory-and-files #p"/tmp/foo/")

debugger invoked on a OSICAT-POSIX:ENOTEMPTY in thread #<THREAD "initial thread" RUNNING
{A905951}>:
  #<ENOTEMPTY 39 :ENOTEMPTY "">

Type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL.

restarts (invokable by number or by possibly-abbreviated name):
  0: [ABORT] Exit debugger, returning to top level.

(OSICAT-POSIX:POSIX-ERROR 39 NIL)
0]


Specs:

Linux 2.6.30
glibc 2.10.1

Osicat:
commit 725fd246adb79a87f4ac48309012e298654a1e15
Author: Stelian Ionescu <sionescu at cddr.org>
Date:   Mon Aug 10 20:14:13 2009 +0200

    Change soname of wrapper library to "libosicat".

 Leslie

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





More information about the osicat-devel mailing list