Mercurial > gub
diff patches/guile-2.0.0-mingw-fchmod.patch @ 6493:a753f2b56688
guile: bump to 2.0
author | Jan Nieuwenhuizen <janneke@gnu.org> |
---|---|
date | Tue, 15 Mar 2011 14:13:15 +0100 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/guile-2.0.0-mingw-fchmod.patch Tue Mar 15 14:13:15 2011 +0100 @@ -0,0 +1,11 @@ +--- guile-1.9.15/libguile/filesys.c~ 2011-03-04 10:36:13.417981644 +0100 ++++ guile-1.9.15/libguile/filesys.c 2011-03-04 13:23:41.182832400 +0100 +@@ -121,7 +121,7 @@ + #ifdef __MINGW32__ + # define mkdir(path, mode) mkdir (path) + # define fsync(fd) _commit (fd) +-# define fchmod(fd, mode) (-1) ++# define fchmod(fd, mode) (0) + #endif /* __MINGW32__ */ + + /* dirfd() returns the file descriptor underlying a "DIR*" directory stream.