Custom Query (1030 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (781 - 783 of 1030)

Ticket Resolution Summary Owner Reporter
#970 invalid DIRECTORY includes directories by default Erik Pearson
Description

I think that DIRECTORY is out of compliance with the (albeit fuzzy in this regard) ANSI CL as well as the CCL documentation for said function.

According to the ANSI CL, DIRECTORY should return "files", and by "files" it is pretty clear it does not refer to directories. The spec gives plenty of wiggle room for extensions, however.

CCL provides the extension keyword options :DIRECTORIES and :FILES to specify whether directories and/or files are considered. :DIRECTORIES should default to nil according to the CCL docs (and my interpretation of ANSI CL compliance) but actually defaults to T (from usage results and source code inspection.) Thus the bare, naked usage of DIRECTORY, such as (DIRECTORY "*") will provide directories, if any are found, in the results.

If CCL's DIRECTORY defaults to :DIRECTORY nil, it would be in compliance as far as this point goes. However, I think there is further work to ensure that DIRECTORY (and related functions like PROBE-FILE) are consistent and compliant in the treatment of pathnames.

That will be the subject of a follow up either here or the the mailing list.

Man do I feel like a nit picking Lisper now!

#692 fixed DIRECTORY extensions undocumented Gary Byers
Description

The keyword arguments that modify/extend DIRECTORY's behavior are undocumented.

#521 invalid DIRECTORY does not work with pathnames containing multiple dots on Windows Gary Byers Hans Hübner
Description

Welcome to Clozure Common Lisp Version 1.3-dev-r12165-trunk (WindowsX8632)! neo-angin 103_> touch foo.bar foo.foo.bar neo-angin 104_> h:/ccl/wx86cl -n -e '(print (directory "c:/cygwin/tmp/**/*.bar")))' (#P"C:/cygwin/tmp/x/foo.bar" #P"C:/cygwin/tmp/x/foo'.foo.bar")

Notice the second pathname, which contains a quote character for no valid reason.

Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.