Skip to content
Snippets Groups Projects
  1. Sep 27, 2004
    • rtoy's avatar
      Do not signal errors when a version is given without a name. This · aa27fcc2
      rtoy authored
      needs to be rethought because there's confusion on what pathnames can
      be printed readably or not.
      
      In particular (probe-file "logical-host:dir;") gets an error because
      there's a merge-pathname that creates a pathname without a name, but
      version :newest.
      aa27fcc2
  2. Sep 13, 2004
  3. Jun 02, 2004
  4. Apr 01, 2004
    • rtoy's avatar
      Helmut Eller notes on cmucl-imp on 2004-04-24 that · 70cf5703
      rtoy authored
        (delete-file (open "/tmp/tmp-file" :direction :output
                           :if-does-not-exist :create :if-exists :supersede))
      
      signals an error because delete-file is unlinking the file twice,
      because CLOSE is called with the option :ABORT T.
      
      Don't do that, so that any reversion of the file isn't done, and we
      file is deleted.
      70cf5703
  5. Jan 09, 2004
  6. Aug 05, 2003
  7. Jun 11, 2003
  8. Jun 10, 2003
    • toy's avatar
      * code/filesys.lisp (filesys-init): The version component of · 0376f352
      toy authored
      	*default-pathname-defaults* changed from :newest to :unspecific,
      	so merging doesn't automatically create versioned files.
      
      	(extract-name-type-and-version): When no explicit version is given
      	in a namestring, return version NIL instead of :NEWEST.
      0376f352
    • toy's avatar
      Some changes from Paul Foley: · 842ce4c2
      toy authored
      o Fix a number of spelling errors.
      o Add EXT:PURGE-FILES (hmm, should that be renamed to
        purge-backup-files?) to delete old versions of files.
      o Opening a file with :if-exists :append shouldn't set the Unix append
        flag, else you can't seek back to a point before you started
        appending. (Actually from Rudi Schlatte.)
      o Fix a bug in logical pathname parsing.
      o Fix FASL-file versioning so we don't create versioned fasl files.
      842ce4c2
  9. Feb 14, 2003
  10. Nov 15, 2002
    • toy's avatar
      From Eric Marsden: · d1a7c168
      toy authored
         Replace the code that grovels /etc/passwd files with an interface
         to the standard user and group database access functions. This
         makes CMUCL work better on systems where user databases are
         accessed using NIS or LDAP.
      
         Add functions UNIX-GETPWUID, UNIX-GETPWNAM that return structures
         of type USER-INFO, and UNIX-GETGRGID and UNIX-GETGRNAM that
         return structures of type GROUP-INFO. The functions return NIL if
         the requested information is not available. On Linux/glibc and
         Solaris, reentrant versions of the functions are used. On FreeBSD
         we call the non-thread-safe versions.
      d1a7c168
  11. Nov 08, 2002
  12. Oct 16, 2002
    • toy's avatar
      Port over SBCL's fix for the Entomotomy bug · 6de3f186
      toy authored
      host-namestring-return-value-unusable
      logical-pathnames-not-externalizable
      
      host-namestring returns "" for physical pathnames when it used to
      return "Unix".  But "Unix" is a valid logical host name and "" is not.
      
      Logical pathnames weren't externalizable.  Make them so.
      6de3f186
  13. Oct 02, 2002
  14. Jul 10, 2002
    • toy's avatar
      From Eric Marsden: · 6e9a215f
      toy authored
       * (pcl:class-precedence-list (find-class 'null)) should have symbol
         occurring before list, as per CLHS.
      
       * minor changes to certain error conditions: eg trying to set
         DEFAULT-DIRECTORY to a non-existent directory should raise a
         condition of type FILE-ERROR. (Some of these changes are from
         Alexey Dejneka, via SBCL).
      
       * cleanup of some Hemlock-related symbols that shouldn't be exported
         when :no-hemlock is defined.
      6e9a215f
  15. Feb 19, 2002
  16. Dec 13, 2001
  17. May 31, 2001
  18. Mar 12, 2001
  19. Mar 11, 2001
  20. Mar 09, 2001
  21. Feb 23, 2001
  22. Feb 22, 2001
  23. Aug 24, 2000
  24. Aug 23, 2000
    • dtc's avatar
      o Rework %enumerate-directories to handle :wild and :wild-inferiors · 1e8bacb7
      dtc authored
        within the pathname; noted by Christophe Rhodes. Further maintain a
        list of the directory inode and device numbers which are used to avoid
        paths loops during :wild-inferiors searches.
      
      o Enhance %enumerate-directories to accept a new follow-links argument to
        allow the following of symbolic links to be disabled. Similarly add
        follow-links keyword argument to interface macro enumerate-matches.
      1e8bacb7
  25. Jun 03, 1999
  26. Feb 02, 1999
  27. Dec 19, 1998
  28. Jul 14, 1998
    • pw's avatar
      This revision merges in many of the fixes for ANSI condition types · 42efe00d
      pw authored
      in various calls to ERROR. Those easily handled by using new condition
      types simple-file-error and simple-program-error are included.
      
      The only functional change here is that the function CHARACTER no longer
      accepts an integer argument so as to be ANSI compliant. This may
      break some code.
      42efe00d
  29. Jul 13, 1998
    • pw's avatar
      Backout a previous hack of adding format-{control|arguments} protocol · 06be8c9a
      pw authored
      to serious-condition. Instead, have new internal condition types
      simple-package-error, simple-file-error and simple-program-error
      which inherit from simple-condition and respective error condition,
      thus picking up the format protocol from simple-condition.
      
      Noted a probable bug in that the CPL for conditions is not sorted
      which results in the found report method being dependent
      on the order of super-classes specified in the call to define-condition.
      06be8c9a
  30. May 05, 1998
  31. May 04, 1998
    • dtc's avatar
      Gray streams support: · 6c21ff8a
      dtc authored
      * Rename the 'stream structure class to sys:lisp-stream.
      * Add a new none hierarchical 'stream built-in class which inherits
        from: instance, t.
      * Hack in the new stream class as a mixin for the structure base
        lisp-stream class which now inherits from: stream, structure-object,
        instance, t.
      * Add a new 'fundamental-stream standard-class which includes 'stream
        as a mixin, and add PCL hacks to allow this to be redefined after PCL is
        loaded to be (defclass fundamental-stream (standard-object stream) ...).
      * Add appropriate support to the base stream functions to dispatch to
        the Gray stream functions for the handling of fundamental-streams.
        Some of the lisp-streams encapsulating CLOS streams still need
        a little work.
      6c21ff8a
  32. Apr 24, 1998
  33. Apr 20, 1998
    • pw's avatar
      This revision alters the condition type hierarchy to be in compliance · 4a42e17c
      pw authored
      with the ANSI spec. A default report method is attached to the
      serious-condition class and many of the uses of (error "string" arg..)
      in filesys.lisp and package.lisp were changed to use, for example,
      (error 'file-error :format-control "string" :format-arguments (list stuff))
      The end result is no obvious change to what the user sees, and enables
      one to establish a handler to catch the particular error type as
      mentioned in the "Exceptional Situations:" section of the CLHS
      write-ups. There probably are still some places where the error
      types need to be fixed.
      
      Also, a bug in with-package-iterator which caused failure with
      a null package-use-list was fixed, and some file functions (like
      truename and probe-file) now disallow a wild pathname.
      4a42e17c
  34. Mar 01, 1998
  35. Feb 11, 1998
  36. Jan 30, 1998
  37. May 16, 1997
Loading