0.8.7.39:
authorChristophe Rhodes <csr21@cam.ac.uk>
Mon, 2 Feb 2004 17:13:31 +0000 (17:13 +0000)
committerChristophe Rhodes <csr21@cam.ac.uk>
Mon, 2 Feb 2004 17:13:31 +0000 (17:13 +0000)
F_GETFL and test case from Helmut Eller for sb-posix

contrib/sb-posix/constants.lisp
contrib/sb-posix/posix-tests.lisp
version.lisp-expr

index ff3846c..b5707b2 100644 (file)
  (:integer f-dupfd "F_DUPFD")
  (:integer f-getfd "F_GETFD")
  (:integer f-setfd "F_SETFD")
+ (:integer f-getfl "F_GETFL")
  (:integer f-setfl "F_SETFL")
  (:integer f-getlk "F_GETLK")
  (:integer f-setlk "F_SETLK")
index 41d9b2f..469b739 100644 (file)
     (sb-posix:syscall-error (c)
       (sb-posix:syscall-errno c)))
   #.sb-posix::eisdir)
+
+(deftest fcntl.1
+  (let ((fd (sb-posix:open "/dev/null" sb-posix::o-nonblock)))
+    (= (sb-posix:fcntl fd sb-posix::f-getfl) sb-posix::o-nonblock))
+  t)
index a80db6b..2f07599 100644 (file)
@@ -17,4 +17,4 @@
 ;;; checkins which aren't released. (And occasionally for internal
 ;;; versions, especially for internal versions off the main CVS
 ;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
-"0.8.7.38"
+"0.8.7.39"