Ignore:
Timestamp:
Jul 23, 2008, 10:35:27 AM (11 years ago)
Author:
gb
Message:

In %UTS-STRING: treat non-negative (not-necessarily 0) result as
non-error.

In %%RUSAGE: don't even try the Solaris syscall, call the library
function instead.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/level-1/linux-files.lisp

    r10133 r10182  
    347347
    348348(defun %uts-string (result idx buf)
    349   (if (eql 0 result)
     349  (if (>= result 0)
    350350    (%get-cstring (%inc-ptr buf (* #+linux-target #$_UTSNAME_LENGTH
    351351                                   #+darwin-target #$_SYS_NAMELEN
     
    509509  (syscall syscalls::getrusage who usage)
    510510  #+solaris-target
    511   (syscall syscalls::rusagesys #$_RUSAGESYS_GETRUSAGE who usage)
     511  (#_getrusage who usage)
    512512  )
    513513
Note: See TracChangeset for help on using the changeset viewer.