projects
/
sbcl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3462f0
)
Linux/MIPS uses "unsigned long" instead of dev_t in struct stat
author
David Lichteblau
<david@lichteblau.com>
Wed, 31 Oct 2012 15:20:11 +0000
(16:20 +0100)
committer
David Lichteblau
<david@lichteblau.com>
Sun, 1 Dec 2013 10:13:28 +0000
(11:13 +0100)
Handle rdev the same way as dev.
contrib/sb-posix/constants.lisp
patch
|
blob
|
history
diff --git
a/contrib/sb-posix/constants.lisp
b/contrib/sb-posix/constants.lisp
index
0b66705
..
789cb91
100644
(file)
--- a/
contrib/sb-posix/constants.lisp
+++ b/
contrib/sb-posix/constants.lisp
@@
-318,8
+318,11
@@
((unsigned 32) dev "dev_t" "st_dev")
(nlink-t nlink "nlink_t" "st_nlink")
(uid-t uid "uid_t" "st_uid")
+ ;; Linux/MIPS uses unsigned long instead of dev_t here.
#-mips
(dev-t rdev "dev_t" "st_rdev")
+ #+mips
+ ((unsigned 32) 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")