X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=contrib%2Fsb-posix%2Fconstants.lisp;h=48660fabd0caafa65c998854bbc3113c39c37891;hb=8369a441bfd49566e70939c25f42f8d1f5423e4e;hp=2d3c90a378eff1c3364bba84e633db5bfed0beef;hpb=bc83076cdf1487346ec2854ce63645d5459c9d04;p=sbcl.git diff --git a/contrib/sb-posix/constants.lisp b/contrib/sb-posix/constants.lisp index 2d3c90a..48660fa 100644 --- a/contrib/sb-posix/constants.lisp +++ b/contrib/sb-posix/constants.lisp @@ -157,7 +157,7 @@ (:errno ecomm "ECOMM" nil t) (:errno eproto "EPROTO" nil t) (:errno emultihop "EMULTIHOP" nil t) - (:errno edotdot "EDOTDOT" nil t) +#-sunos (:errno edotdot "EDOTDOT" nil t) (:errno ebadmsg "EBADMSG" nil t) (:errno eoverflow "EOVERFLOW" nil t) (:errno enotuniq "ENOTUNIQ" nil t) @@ -201,17 +201,17 @@ (:errno ealready "EALREADY" nil t) (:errno einprogress "EINPROGRESS" nil t) (:errno estale "ESTALE" nil t) - (:errno euclean "EUCLEAN" nil t) - (:errno enotnam "ENOTNAM" nil t) - (:errno enavail "ENAVAIL" nil t) - (:errno eremoteio "EREMOTEIO" nil t) - (:errno edquot "EDQUOT" nil t) - (:errno enomedium "ENOMEDIUM" nil t) - (:errno emediumtype "EMEDIUMTYPE" nil t) +#-sunos (:errno euclean "EUCLEAN" nil t) +#-sunos (:errno enotnam "ENOTNAM" nil t) +#-sunos (:errno enavail "ENAVAIL" nil t) +#-sunos (:errno eremoteio "EREMOTEIO" nil t) +#-sunos (:errno edquot "EDQUOT" nil t) +#-sunos (:errno enomedium "ENOMEDIUM" nil t) +#-sunos (:errno emediumtype "EMEDIUMTYPE" nil t) ;; wait - (:integer wnohang "WNOHANG") - (:integer wuntraced "WUNTRACED") + (:integer wnohang "WNOHANG" nil t) + (:integer wuntraced "WUNTRACED" nil t) ;; mode_t (:type mode-t "mode_t") @@ -223,7 +223,7 @@ (:integer s-ifreg "S_IFREG" nil t) (:integer s-iflnk "S_IFLNK" nil t) (:integer s-ifsock "S_IFSOCK" nil t) - (:integer s-ifwht "S_IFWHT" nil t) +#-sunos (:integer s-ifwht "S_IFWHT" nil t) (:integer s-isuid "S_ISUID" nil t) (:integer s-isgid "S_ISGID" nil t) (:integer s-isvtx "S_ISVTX" nil t) @@ -272,7 +272,9 @@ #-(and linux largefile) "struct dirent" #-win32 (:ino-t ino "ino_t" "d_ino") (:c-string name "char *" "d_name" - :distrust-length #+sunos t #-sunos nil)) t) + ;; FIXME: sunos should really have :distrust-length + ;; t, but this is currently broken. -- Jim Wise 2010-08-31 + :distrust-length nil)) t) ;; password database #-win32 @@ -315,6 +317,8 @@ ((unsigned 32) dev "dev_t" "st_dev") (nlink-t nlink "nlink_t" "st_nlink") (uid-t uid "uid_t" "st_uid") + #-mips + (dev-t rdev "dev_t" "st_rdev") (gid-t gid "gid_t" "st_gid") (off-t size "off_t" "st_size") (time-t atime "time_t" "st_atime") @@ -340,9 +344,9 @@ (:integer o-ndelay "O_NDELAY" nil t) (:integer o-sync "O_SYNC" nil t) (:integer o-nofollow "O_NOFOLLOW" nil t) - (:integer o-directory "O_DIRECTORY" nil t) - (:integer o-direct "O_DIRECT" nil t) - (:integer o-async "O_ASYNC" nil t) +#-sunos (:integer o-directory "O_DIRECTORY" nil t) +#-sunos (:integer o-direct "O_DIRECT" nil t) +#-sunos (:integer o-async "O_ASYNC" nil t) (:integer o-largefile "O_LARGEFILE" nil t) ; hmm... (:integer o-dsync "O_DSYNC" nil t) (:integer o-rsync "O_RSYNC" nil t) @@ -553,7 +557,7 @@ ;; Additional, non-standard openlog() facilities (most of which ;; probably won't be needed by Lisp programs, but here for ;; completeness). - #-win32 + #-(or win32 sunos) (:integer log-authpriv "LOG_AUTHPRIV" "openlog() facility for authorization messages" t) #-win32 @@ -562,7 +566,7 @@ #-win32 (:integer log-daemon "LOG_DAEMON" "openlog() facility for arbitrary daemons" t) - #-win32 + #-(or win32 sunos) (:integer log-ftp "LOG_FTP" "openlog() facility for FTP daemons" t) #-win32 @@ -611,7 +615,7 @@ "If supplied to openlog(), do not wait for child processes created by calls to syslog()." t) ;; Not in SUSv3, but at least Glibc and BSD libc have this - #-win32 + #-(or win32 sunos) (:integer log-perror "LOG_PERROR" "If supplied to openlog(), write log messages to the process's standard error descriptor in addition to the logging facility."