Skip to content
Snippets Groups Projects
  1. Jul 12, 2007
  2. Jul 06, 2007
  3. Jan 19, 2006
  4. Jan 03, 2006
    • rtoy's avatar
      Add support for sysinfo on Solaris. · 3b086fb1
      rtoy authored
      code/unix.lisp:
      o Add UNIX-SYSINFO and appropriate constants.
      
      code/exports.lisp:
      o Export UNIX-SYSINFO and corresponding constants.
      
      code/sparc-svr4-vm.lisp:
      o Use UNIX-SYSINFO to provide better values for MACHINE-TYPE and
        MACHINE-VERSION. Instead of the generic "Ultrasparc", we can return
        things like "sun4u" and "SUNW,Sun-Blade-1500".
      
      Use bootfiles/19c/boot-2005-12-2.lisp to bootstrap this change.  Only
      needed for sparc.
      3b086fb1
  5. Oct 10, 2005
  6. Jul 07, 2005
  7. Jul 05, 2005
    • rtoy's avatar
      Oops. · bcc213ac
      rtoy authored
      o The support for Unix uname needs to be conditionalized for solaris,
        darwin, and freebsd.
      o Add support for freebsd (from Fred Gilham).
      bcc213ac
  8. Jun 23, 2005
  9. Feb 10, 2005
  10. Feb 07, 2005
    • rtoy's avatar
      * code/internet.lisp, code/unix.lisp: · c6c7366b
      rtoy authored
        o Make inet-recvfrom and friends available on Darwin again.
      
      * lisp/linux-stubs.S
        o Oops. Forgot to fix up #if with !defined(DARWIN)
        o Add recvfrom and friends to the stubs.
      c6c7366b
  11. Feb 06, 2005
  12. Jan 27, 2005
  13. Sep 21, 2004
  14. Aug 31, 2004
    • rtoy's avatar
      In UNIX-READ, go through and touch every page contained in BUF to make · 06a60a5f
      rtoy authored
      sure the pages are not write-protected, because the kernel doesn't
      like that.  Also update it to touch the beginning of every page.  Use
      this idea in unix-glibc2.lisp.
      
      This is a workaround for the bug reported by David Lichteblau on Aug
      26, 2004 (for a long-standing bug fomr Dec 7, 1999).
      06a60a5f
  15. Aug 13, 2004
  16. Jul 25, 2004
    • pmai's avatar
      This commit adds the remainder of the outstanding PPC/Darwin port merge. · 2ff25623
      pmai authored
      Besides support for Darwin foreign loading, and updates to the ppc-vm
      and bsd-os files, this commit removes unix:unix-errno as a foreign variable
      and replaces it with a function named unix-errno, and a (setf unix-errno).
      This makes both glibc support cleaner, and enables ports like PPC/Darwin
      (and the upcoming win32 port) which have no easy way of accessing errno as
      a foreign variable able to support this functionality at all.
      
      The current implementation of this is rather make-shift, it would likely
      be much cleaner to go the SBCL way and mediate all access to errno via
      defined functions in the C runtime.
      
      As an interim feature, the frobbing of the float-trap-modes is currently
      commented out for Darwin because of ongoing breakage.
      2ff25623
  17. Jul 15, 2004
  18. Jul 07, 2004
  19. Mar 24, 2004
    • emarsden's avatar
      · e2daaabd
      emarsden authored
       - add ignore declaration
       - fix endpwent alien routine for Solaris
      e2daaabd
  20. Aug 31, 2003
  21. Aug 08, 2003
  22. 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
  23. 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
  24. Jun 06, 2003
  25. Apr 13, 2003
  26. Feb 23, 2003
  27. Jan 29, 2003
  28. Nov 19, 2002
  29. 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
  30. Oct 27, 2002
  31. 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
  32. Aug 24, 2002
  33. 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
  34. Sep 27, 2001
  35. Mar 04, 2001
Loading