Skip to content
Snippets Groups Projects
  1. Aug 08, 2003
  2. Jun 26, 2003
    • toy's avatar
      From Paul Foley: · bfbb8fd1
      toy authored
      Non-simple-streams-related changes:
      
      * Stop commands which go through invoke-command-interactive from
        affecting the history variables.
      
      * Fix some typos in comments
      
      * When the GC closes a lost stream, revert to original contents
      
      * Replace #+nil with #+(or) in unix*.lisp
        [NIL is a potentially valid feature name]
      
      
      Simple-streams-related changes:
      
      * Teach reader to handle simple-streams
      
      * Add missing package prefixes in OPEN
      
      * Add unix:unix-msync for force-output on mmapped files
      
      * Add placeholder documentation
      
      * Numerous changes in simple-streams implementation
      
      * Add "external-formats" directory for external formats
      
      
      Note: :BIG-ENDIAN or :LITTLE-ENDIAN should be put on *features*
      bfbb8fd1
  3. Jun 07, 2003
    • gerd's avatar
      Use int64-t for off-t on BSDs for large file support. · 8cb97ea1
      gerd authored
      	Check return value of syscalls for -1 instead of < 0.
      
      	* src/code/unix.lisp (quad-t) [#+bsd]: Removed.
      	(int64-t, u-int64-t): Added.
      	(off-t): Define as int64-t for BSDs.
      	(file-offset): New deftype; (signed-byte 64) for BSDs,
      	(signed-byte 32) otherwise.
      	(unix-mmap): Remove FreeBSD version.  Move down after the
      	definition of the syscall macro.
      	(%syscall): New macro.  Test return value for being -1 instead
      	of being < 0.
      	(syscall): Use it.
      	(off-t-syscall): New macro.
      	(unix-lseek): Remove BSD-specific version.  Use off-t-syscall.
      8cb97ea1
  4. Jun 06, 2003
  5. Apr 13, 2003
  6. Feb 23, 2003
  7. Jan 29, 2003
  8. Nov 19, 2002
  9. 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
  10. Oct 27, 2002
  11. Aug 27, 2002
    • moore's avatar
      · bf84be07
      moore authored
      On x86 FreeBSD and Linux, change the way foreign symbol addresses are resolved.
      They now go through a table -- effectively a new space in the core file.
      Function references are resolved lazily, data references are resolved on startup
      and when a .so is loaded.  The end result is that cores can be dumped that
      contain references to symbols in shared libraries.  Also, the dependence of the core on addresses in the Lisp runtime is broken.
      
      The linkage table feature is controlled by :linkage-table and LINKAGE_TABLE in C
      runtime.  Several foreign symbols are now Lisp static symbols, so a cross
      compile is required whether or not the new stuff is used.  I've checked in
      boot4-cross-foreign-linkage.lisp that builds the compiler for linkage table; do whatever you usually do for the non-linkage table case:)  Seriously, lets start
      a discussion on standardizing "cross compilation," not to mention the general
      build procedure.
      bf84be07
  12. Aug 24, 2002
  13. Dec 06, 2001
    • pmai's avatar
      Added specialised port to OpenBSD (2.9). Many parts of the original · 195461c1
      pmai authored
      code which were previously conditionalized on :FreeBSD, are now
      conditionalized on :BSD instead, with the :BSD feature now implying a
      4.4BSD(lite2) derived OS.  This should make future BSD-ports easier.
      FreeBSD and OpenBSD are differentiated by having either :FreeBSD or
      :OpenBSD on the features list.
      
      Currently the OpenBSD port does not have working ELF support, because
      OpenBSD 2.9 is still non-ELF by default.  So don't put ELF on the
      features list when building for OpenBSD, or fix the code to work
      correctly in this case instead.
      195461c1
  14. Sep 27, 2001
  15. Mar 04, 2001
  16. Feb 23, 2001
  17. Feb 22, 2001
  18. Jan 23, 2001
  19. Aug 25, 2000
  20. Aug 24, 2000
  21. Jul 31, 2000
  22. Mar 13, 1999
  23. Mar 08, 1999
  24. Oct 04, 1998
    • dtc's avatar
      Export C-ISPEED and C-OSPEED from the UNIX package. · 6225b8be
      dtc authored
      Define the termios byte sizes fields for FreeBSD: tty-csize, tty-cs5,
      tty-cs6, tty-cs7, tty-cs8.
      
      Fixes for the termios speed functions for FreeBSD: unix-cfgetospeed,
      unix-cfsetospeed, unix-cfgetispeed, unix-cfsetispeed.
      6225b8be
  25. Jun 16, 1998
  26. May 01, 1998
  27. Mar 01, 1998
  28. Jan 29, 1998
  29. Jan 11, 1998
  30. Oct 25, 1997
    • pw's avatar
      From: Timothy Miller <tsm@cs.brown.edu> · 9a08b1c8
      pw authored
      Ok, here are the updated patches to make the same cmucl lisp.core work
      across OS versions under irix, still by making tzname resolved at runtime
      (on irix only).
      9a08b1c8
  31. Oct 08, 1997
  32. Aug 25, 1997
  33. Aug 24, 1997
  34. Aug 23, 1997
    • pw's avatar
      From Timothy Miller · fec88cf3
      pw authored
      Here's a patch to add more complete support of tty functions and parameters
      to the unix interface (including in particular some more tc* series
      functions as well as cf[gs]et[io]speed and more tty modes), as well as
      o_nonblock. The flags argument to unix-open is changed to be a fixnum
      because some hp flags in particular are larger than 16 bits. I don't have
      access to an alpha/osf1 machine, so I couldn't put in support for it in the
      tty stuff, and I only have access to the header files and source for linux
      and freebsd so the changes for it are untested (although I would be
      surprised if they broke anything for reasons other than typos). For the
      feature conditionals on the symbol entries in the exports list in unix.lisp,
      I used svr4 only for symbols which are listed in the SVID, and an explicit
      list of machines for other symbols. I also consolidated the termios
      definitions based on some standards and include file perusal, along with a
      little inference (see the comment). This patch itself was generated by
      undoing some other changes I made for the sgi dso patch I posted earlier,
      and so has not been tested in this form, but the changes have been tested
      extensively under 17f on HPUX 10.10 (an earlier form of the changes), as
      well as (somewhat less) under 18a on IRIX 6.2 and 6.3 (R5000 O2 and R4400
      Onyx respectively) and Solaris 2.5.1 on an ultrasparc (minimally: it
      compiles).
      
      This patch makes all machines define unix::+NCCS+ instead of unix::+NCC+, so
      if you're on a machine which used to define the latter, you'd need to put
      (defconstant unix::+nccs+ unix::+ncc+)
      in your bootstrap.lisp.
      fec88cf3
Loading