- Sep 24, 2008
-
-
cshapiro authored
an available devices on our own. This resolves an issue with Linux systems that do not populate /dev with BSD pseudo-terminal devices.
-
- Apr 02, 2008
-
-
rtoy authored
o Make UNIX-GETGRNAM for all BSD systems, including Darwin.
-
- Feb 08, 2008
-
-
rtoy authored
UNIX-SYSINFO SI-SYSNAME SI-HOSTNAME SI-RELEASE SI-VERSION SI-MACHINE SI-ARCHITECTURE SI-HW-SERIAL SI-HW-PROVIDER SI-SRPC-DOMAIN SI-PLATFORM SI-ISALIST SI-DHCP-CACHE Actually only UNIX-SYSINFO, SI-MACHINE, and SI-PLATFORM are needed (sparc-svr4-vm.lisp) but let's export them all since they're in exports.lisp.
-
- Dec 21, 2007
-
-
cshapiro authored
struct than the utsname struct in sys/utsname.h and the alien struct definition in Lisp. Instead of calling the exported uname, call the underlying __xuname that knows about with the post FreeBSD 4 struct.
-
- Nov 09, 2007
-
-
rtoy authored
happened because the callback trampoline used malloc'ed space which were not executable by default. Change this so that the trampoline is executable. code/unix.lisp, code/unix-glibc2.lisp: o Add UNIX-MPROTECT code/exports.lisp: o Export UNIX-MPROTECT code/alieneval.lisp: o Make sure the malloc'ed trampoline area is executable. general-info/release-19e.txt: o Update
-
- Nov 06, 2007
- Jul 31, 2007
-
-
cshapiro authored
errno accessors shared by all ports. Change the definition of UNIX:UNIX-ERRNO so that it always calls down to an accessor function.
-
- Jul 30, 2007
-
-
cshapiro authored
errno value instead of the global errno value.
-
- Jul 12, 2007
-
-
cshapiro authored
off_t type.
-
- Jul 06, 2007
-
-
cshapiro authored
-
- Jan 19, 2006
-
-
rtoy authored
for FreeBSD and NetBSD.
-
- Jan 03, 2006
-
-
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.
-
- Oct 10, 2005
-
-
rtoy authored
PROBE-FILE return a pathname with directory and name components set appropriately. This is done by having UNIX-RESOLVE-LINKS append a slash when the pathname actually names a directory and not a file.
-
- Jul 07, 2005
-
-
rtoy authored
-
- Jul 05, 2005
-
-
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).
-
- Jun 23, 2005
-
-
rtoy authored
-
- Feb 10, 2005
-
-
rtoy authored
unix-getgrnam and unix-getgrgid to select the buffer size. Apparently, some versions of Solaris won't work if the buffer is too small, even if the result would have fit. Bug pointed out by Damien Kick.
-
- Feb 07, 2005
-
-
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.
-
- Feb 06, 2005
-
-
rtoy authored
-
- Jan 27, 2005
-
-
rtoy authored
forwarded to cmucl-imp, 2005-01-17. Slightly modified the code therein. The functions are unix-recvfrom, unix-sendto, unix-shutdown, inet-recvfrom, inet-sendto, inet-shutdown.
-
- Sep 21, 2004
-
-
emarsden authored
support. This is necessary for FILE-AUTHOR.
-
- Aug 31, 2004
-
-
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).
-
- Aug 13, 2004
-
-
emarsden authored
-
- Jul 25, 2004
-
-
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.
-
- Jul 15, 2004
- Jul 07, 2004
-
-
rtoy authored
-
- Mar 24, 2004
-
-
emarsden authored
- add ignore declaration - fix endpwent alien routine for Solaris
-
- Aug 31, 2003
-
-
gerd authored
already allowed for. Otherwise, it semms to be impossible to mmap MAP_ANON on FreeBSD.
-
- Aug 08, 2003
-
-
emarsden authored
-
- Jun 26, 2003
-
-
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*
-
- Jun 07, 2003
-
-
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.
-
- Jun 06, 2003
- Apr 13, 2003
- Feb 23, 2003
-
-
gerd authored
64-bit off_t on BSD/x86.
-