1.0.7.30: be more paranoid about saps
[sbcl.git] / contrib / sb-posix / defpackage.lisp
index 335b095..bf507d5 100644 (file)
@@ -1,15 +1,19 @@
-(defpackage :sb-posix (:use)
+(defpackage :sb-posix (:use #:sb-alien #:cl)
+  (:shadow close open ftruncate truncate time)
   (:export #:syscall-error #:syscall-errno
 
-          ;; grovel structure accessors
-          
-          #:dirent-name
+           ;; grovel structure accessors
 
-          ;; wrapper class accessors
-          
-          #:stat-mode #:stat-ino #:stat-dev #:stat-nlink #:stat-uid
-          #:stat-gid #:stat-size #:stat-atime #:stat-mtime #:stat-ctime
-          #:termios-iflag #:termios-oflag #:termios-cflag
-          #:termios-lflag #:termios-cc))
+           #:dirent-name
 
-(defpackage :sb-posix-internal (:use #:sb-alien #:cl))
+           ;; wrapper class accessors
+
+           #:passwd-name #:passwd-passwd #:passwd-uid #:passwd-gid
+           #:passwd-gecos #:passwd-dir #:passwd-shell
+           #:stat-mode #:stat-ino #:stat-dev #:stat-nlink #:stat-uid
+           #:stat-gid #:stat-size #:stat-atime #:stat-mtime #:stat-ctime
+           #:termios-iflag #:termios-oflag #:termios-cflag
+           #:termios-lflag #:termios-cc))
+
+#+win32
+(load-shared-object "msvcrt.dll")