sbcl Log


Commit Date  
[64d077] (37.1 kB) by Robert Swindells Robert Swindells , pushed by Christophe Rhodes Christophe Rhodes

sb-posix NetBSD fixups

- argument to mmap(2) is size_t, not unsigned;
- disable tests for fcntl(2)
- wrap utimes(2)

2014-06-13 15:09:32 View
Download
[e55432] (37.1 kB) by Stas Boukarev Stas Boukarev

Revert "Implement sb-posix:stat using wrappers."

It doesn't fix all the Android problems, just pushes them away.

2014-06-01 06:25:29 View
Download
[277762] (36.9 kB) by Stas Boukarev Stas Boukarev

Implement sb-posix:stat using wrappers.

It's not easy to determine the layout of struct stat, and it fails to
do so on Android, sb-unix:stat is implemented with a wrapper which
parses everything on the C side. Just reuse that wrapper for
sb-posix:stat.

2014-06-01 04:04:50 View
Download
[5f3cc3] (37.1 kB) by Stas Boukarev Stas Boukarev

sb-posix: disable pwd.h and grp.h functions.

Even though they are accessible, the structs have different layouts
and it does not make much sense on Android.

2014-06-01 00:23:50 View
Download
[54da32] (37.1 kB) by Stas Boukarev Stas Boukarev

Fix typos in docstrings and function names.

Includes an incompatibility change, sb-thread:thread-eMphemeral-p has
a typo, but it doesn't appear to be used anywhere outside of SBCL.

2013-11-12 14:40:23 View
Download
[760de0] (37.1 kB) by Nikodemus Siivola Nikodemus Siivola

sb-posix: abort(3), exit(3), and _exit(2)

Also fix docstring of SB-EXT:EXIT, which referred to exit as being section 2.

2012-05-02 14:13:59 View
Download
[654875] (36.9 kB) by Jim Wise Jim Wise

Add patches from Aymeric Vincent to fix sb-posix on recentish NetBSD.

There is some possibility that this will break one of the sb-posix tests on FreeBSD:

The "rmdir" patch needs some input from FreeBSD users.
"rmdir /" returns EBUSY on NetBSD. Given the recent commit
2a9b33fc45842ec0335fef2988e07337ae8f1fc7 on october, 17. 2011, it looks
like OpenBSD and Darwin return EISDIR, but it's clearly not the case of
NetBSD with a (usual) FFS file system.

In short, either sbcl is currently broken on FreeBSD wrt the rmdir test
and my patch will fix it, or my patch will break it and we need to include
freebsd in the list of OSes producing EISDIR upon "rmdir /".

2012-01-17 16:14:41 View
Download
[ad4b18] (36.9 kB) by Anton Kovalenko Anton Kovalenko , pushed by David Lichteblau David Lichteblau

sb-win32: offer low-level bindings for file mapping functions

Includes functions offered by Windows that are similar in
spirit to mmap.

Currently these are low-level FFI versions only, and no attempt
is made to export them from sb-posix under the name mmap. In
sb-posix, only a wrapper for msync and definitions of several
constants is offered, as needed for sb-simple-streams.

Thanks to Anton Kovalenko.

Also take this opportunity to sort the sb-win32 package
definition as a flat list.

2011-08-10 18:04:33 View
Download
[4d0b87] (36.0 kB) by Nikodemus Siivola Nikodemus Siivola

sb-posix: make SYSCALL-ERROR's argument optional

The symbol is exported, and adding a required argument to the call broke
backwards compatibility.

Oops.

2011-06-09 18:05:46 View
Download
[ffb003] (35.8 kB) by Nikodemus Siivola Nikodemus Siivola

1.0.48.27: sb-posix: make syscall errors report the failing function

Also add a declaim for the SYSCALL-ERROR ftype so the failing function will
not be tail-merged is SYSCALL-ERROR appears in tail position.

2011-05-27 10:55:11 View
Download
[f20b7e] (35.5 kB) by Nikodemus Siivola Nikodemus Siivola

1.0.47.7: sb-posix: add rdev member to stat

Patch by Philipp Marek.

2011-03-30 18:39:01 View
Download
[2c7b54] (35.4 kB) by Nikodemus Siivola Nikodemus Siivola

1.0.47.5: sb-posix: add read(2) and write(2)

Patch by Daniel Lowe.

Also add missing NEWS entries.

2011-03-30 16:48:49 View
Download
[d335af] (35.2 kB) by Alastair Bridgewater Alastair Bridgewater

1.0.47.4: Fix slot-documentation for SB-POSIX:TERMIOS slot CC.

* Unlike every other documentation string for a DEFINE-PROTOCOL-CLASS
slot, this one documentation string did not end in a period (#\.).
Fixed.

* While we're at it, alter the DEFINE-PROTOCOL-CLASS macro to not
ignore DEFCLASS slot options after an :ARRAY-LENGTH option (reported
by mon_key in #lisp).

2011-03-29 17:35:44 View
Download
[bb3994] (34.9 kB) by Nikodemus Siivola Nikodemus Siivola

1.0.46.19: add :NOT-NULL option to C-STRING type

By default NIL is a valid C-STRING, translated to and from C's NULL. This is
very convenient because many C functions that normally return strings return
NULL to indicate "false" or "don't know" -- and less commonly also special
case it as an argument.

There are however many C functions that don't check for NULL, so we want a
non-horrible way to say that NIL is not a good value to pass on...

...it remains to be seen if this is non-horrible enough, but at least it
fixes a bunch of memory faults from doing things like (posix-getenv nil), and
replaces them with type-errors.

Not all C-STRING types have been audited yet, just a bunch of the more
obvious ones.

2011-03-02 09:40:22 View
Download
[db12bb] (34.5 kB) by Nikodemus Siivola Nikodemus Siivola

1.0.43.76: sb-posix: prohibit forking with multiple threads running everywhere

Turns out we were only checking this on Darwin.

2010-10-19 17:00:51 View
Download
[dca207] (34.4 kB) by Juho Snellman Juho Snellman

1.0.41.55: Solaris fixes

* Remove bashisms.
* Conditionalize out some constants and functions that
don't exist on Solaris.
* Patch from Jim Wise.

2010-08-23 23:21:27 View
Download
[0c4fe8] (34.4 kB) by Cyrus Harmon Cyrus Harmon

1.0.39.11: fix readdir for :inode64 builds

* readdir now calls readdir$INODE64 when buildling with :inode64
(launchpad bug #592897)

2010-06-12 20:44:42 View
Download
[a3282d] (34.1 kB) by Cyrus Harmon Cyrus Harmon

1.0.34.9: darwin/x86-64 sb-posix:stat fixes from Kei Suzuki

* sb-unix:unix-stat/lstat/fstat return the 32bit inode with x86 and
the 64bit inode with x86-64,

* sb-posix:stat/lstat/fstat get stat values using the old stat calls
with x86 and the new ones with x86-64

* re-enable now-working sb-posix stat tests

2010-01-21 05:09:43 View
Download
[1448e3] (34.0 kB) by Alastair Bridgewater Alastair Bridgewater

1.0.33.30: Fix sb-posix build on win32.

* This was entirely symbol-export issues between win32 and non-win32.

2009-12-24 00:08:11 View
Download
[bb99e8] (33.8 kB) by Nikodemus Siivola Nikodemus Siivola

1.0.33.21: safe SB-POSIX:PUTENV

Reported by Fare Rideau: POSIX putenv() puts the actual string it is
passed into environ, which is definitely wrong for any lisp string.

Since we don't want to leak memory either, implement our own putenv()
on top of setenv() -- and the other way around on Windows which
doesn't have setenv().

Messed up is what this is -- to keep a semblance of sanity add
test-cases.

2009-12-17 23:25:04 View
Download
[e5942d] (32.5 kB) by Nikodemus Siivola Nikodemus Siivola

1.0.33.11: thread-safe FIND-PACKAGE & DEFPACKAGE

* Must use WITH-PACKAGES around the GETHASH *PACKAGE-NAMES*.

2009-12-17 12:13:56 View
Download
[15ea57] (32.2 kB) by Nikodemus Siivola Nikodemus Siivola

1.0.32.35: SB-POSIX:FORK guards against forking with multiple threads

* It wasn't going to work right in any case, so better to refuse up
front.

* Remove invalid FIXME from globaldb.lisp: DO-INFO is also used by
SB-INTROSPECT.

2009-11-20 11:48:12 View
Download
[b6ef43] (31.9 kB) by Gabor Melis Gabor Melis

1.0.21.33: fix lack of null termination bug in mk{d,s}temp

2008-10-20 12:05:21 View
Download
[404315] (31.8 kB) by Juho Snellman Juho Snellman

1.0.17.41: Implement setsid, mlockall and mlockall in sb-posix

* Also refactor some code
* Patch by Travis Cross

2008-06-23 01:01:38 View
Download
[118aab] (32.0 kB) by Richard M Kreuter Richard M Kreuter

1.0.15.39: Remove subclasses of sb-posix:syscall-error

These were added in 1.0.14 (but never documented), and turn out to be
impediments to some future progress on Windows.

2008-03-26 15:54:11 View
Download
Older >