Skip to content
Snippets Groups Projects
  1. Oct 08, 2016
  2. Oct 05, 2016
  3. Oct 04, 2016
  4. Oct 03, 2016
  5. Oct 02, 2016
    • Raymond Toy's avatar
      Merge branch 'master' into 'master' · 4bf2062f
      Raymond Toy authored
      Fix: directory followed symlinks with :follow-links nil
      
      I'm on Linux. I'm looking at a directory that contains both physical directories and symbolic links to directories.
      
      ### What I would expect: 
      ```common-lisp
      (directory "/path/to/dir/*.*" :check-for-subdirs t :follow-links t :truenamep nil)
      ```
      
      will show both (because it will show everything in that directory) and mark both types as directories with trailing slashes.
      ```common-lisp
      (directory "/path/to/dir/*.*" :check-for-subdirs t :follow-links nil :truenamep nil)
      ```
      
      will again show all files but only add trailing slashes to the physical subdirectories.
      
      ### What actually happens
      Both commands give me the same output. That is because `directory` calls `unix:unix-file-kind` to categorise files into directory/link/etc., which internally calls `stat`. It will only use `lstat` if the second, optional argument is passed as **t**. In default mode (the way it currently is) symlinks to directories will be assigned the type :directory regardless of the flags passed to `directory`.
      
      I believe the change contained in this merge request is thus the correct fix.
      
      See merge request !15
      4bf2062f
  6. Oct 01, 2016
  7. Sep 28, 2016
  8. Sep 27, 2016
  9. Sep 26, 2016
  10. Sep 19, 2016
    • Raymond Toy's avatar
      Fix #29: Update processing of command line · d9090138
      Raymond Toy authored
      Several related changes here.
      
      o If :process-command-line is NIL, *command-line-strings* and
        *command-line-application-arguments* weren't getting updated.  They
        should get updated so that the resulting core can get updated
        command line options instead of using the values dumped with the
        core.  The command line switch demons are still not run, as before.
      o Add a :quiet option as if -quiet were given.
      d9090138
  11. Sep 10, 2016
  12. Sep 08, 2016
  13. Sep 07, 2016
  14. Sep 05, 2016
  15. Sep 04, 2016
    • Raymond Toy's avatar
      Merge branch 'rtoy-fix-27-pathname-match-p' into 'master' · efc9519f
      Raymond Toy authored
      Fix #27: pathname-match-p infinite recursion
      
      When support for search-lists was added to `PATHNAME-MATCH-P`, support
      for logical pathnames was broken because `PATHNAME-MATCH-P` eventually
      calls `TRANSLATE-LOGICAL-PATHNAME` which calls `PATHNAME-MATCH-P` with
      logical pathnames.  This caused infinite recursion.
          
      So add back the original `PATHNAME-MATCH-P`, but rename to
      `%PATHNAME-MATCH-P` and use that in `TRANSLATE-LOGICAL-PATHNAME` and
      friends.
          
      Add test for this case too.
      
      See merge request !10
      efc9519f
    • Raymond Toy's avatar
      37c549c6
    • Raymond Toy's avatar
      Fix #27: PATHNAME-MATCH-P loops for logical pathnames · c07cad4b
      Raymond Toy authored
      When support for search-lists was added to PATHNAME-MATCH-P, support
      for logical pathnames was broken because PATHNAME-MATCH-P eventually
      calls TRANSLATE-LOGICAL-PATHNAME which calls PATHNAME-MATCH-P with
      logical pathnames.  This caused infinite recursion.
      
      So add back the original PATHNAME-MATCH-P, but rename to
      %PATHNAME-MATCH-P and use that in TRANSLATE-LOGICAL-PATHNAME and
      friends.
      
      Add test for this case too.
      c07cad4b
Loading