0.9.5.38:
authorThiemo Seufer <ths@networkno.de>
Tue, 11 Oct 2005 17:47:43 +0000 (17:47 +0000)
committerThiemo Seufer <ths@networkno.de>
Tue, 11 Oct 2005 17:47:43 +0000 (17:47 +0000)
The stat macros return a boolean, not a mode-t, this becomes an
int in C.

contrib/sb-posix/alien/stat-macros.c
version.lisp-expr

index dcd5593..80e94cd 100644 (file)
@@ -9,37 +9,37 @@
 #include <sys/stat.h>
 #include <unistd.h>
 
-mode_t s_isreg(mode_t mode)
+int s_isreg(mode_t mode)
 {
     return S_ISREG(mode);
 }
 
 
-mode_t s_isdir(mode_t mode)
+int s_isdir(mode_t mode)
 {
     return S_ISDIR(mode);
 }
 
 
-mode_t s_ischr(mode_t mode)
+int s_ischr(mode_t mode)
 {
     return S_ISCHR(mode);
 }
 
 
-mode_t s_isblk(mode_t mode)
+int s_isblk(mode_t mode)
 {
     return S_ISBLK(mode);
 }
 
 
-mode_t s_isfifo(mode_t mode)
+int s_isfifo(mode_t mode)
 {
     return S_ISFIFO(mode);
 }
 
 
-mode_t s_islnk(mode_t mode)
+int s_islnk(mode_t mode)
 {
 #ifdef S_ISLNK
     return S_ISLNK(mode);
@@ -49,7 +49,7 @@ mode_t s_islnk(mode_t mode)
 }
 
 
-mode_t s_issock(mode_t mode)
+int s_issock(mode_t mode)
 {
 #ifdef S_ISSOCK
     return S_ISSOCK(mode);
index fe1916d..2956d18 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.9.5.37"
+"0.9.5.38"