#179: LIST-DIRECTORY ignores :RESOLVE-SYMLINKS flag?
-----------------------------------------------------------+----------------
Reporter: mevenson | Owner: somebody
Type: defect | Status: new
Priority: minor | Milestone: unscheduled
Component: other | Version: 1.0
Keywords: list-directory platform-dependence unanalyzed |
-----------------------------------------------------------+----------------
I think there is a bug in the list-directory function. The resolve-
symlinks flag seems to always resolve the directory symlinks even when the
flag is set to nil.
Let's have a directory as :
total 4
drwxr-xr-x 2 bege users 4096 Oct 23 23:52 dir
lrwxrwxrwx 1 bege users 3 Oct 23 23:53 dir-link -> dir
-rw-r--r-- 1 bege users 0 Oct 23 23:53 file
lrwxrwxrwx 1 bege users 4 Oct 23 23:53 file-link -> file
Then
Armed Bear Common Lisp 0.26.2
Java 1.6.0_26 Sun Microsystems Inc.
Java HotSpot(TM) 64-Bit Server VM
Low-level initialization completed in 1.436 seconds.
Startup completed in 5.385 seconds.
Type ":help" for a list of available commands.
CL-USER(1): (directory "./*" :resolve-symlinks nil)
(#P"/home/bege/TEST/./file" #P"/home/bege/TEST/dir/" #P"/home/bege/TEST
/./file-link" #P"/home/bege/TEST/dir/")
Sorry, if this has been already fixed...
--
Ticket URL: <http://trac.common-lisp.net/armedbear/ticket/179>
armedbear <http://common-lisp.net/project/armedbear>
armedbear
#178: Replace source path with logical pathnames
--------------------------------------------------------------+-------------
Reporter: mevenson | Owner: somebody
Type: enhancement | Status: new
Priority: minor | Milestone: unscheduled
Component: other | Version: 1.0
Keywords: fasl bite-sized logical-pathname source metadata |
--------------------------------------------------------------+-------------
It would reduce the fasl sizes somewhat to refer to the path as a logical
pathname.
This is a suitable "bite-sized" excercise to new contributors to ABCL.
Simply figure out how to get the compiler to emit logical pathnames
referring to [sys;src], and ensure the proper path is recorded in
'system.lisp' at build time.
--
Ticket URL: <http://trac.common-lisp.net/armedbear/ticket/178>
armedbear <http://common-lisp.net/project/armedbear>
armedbear