[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Guile-commits] GNU Guile branch, stable-2.0, updated. v2.0.1-77-g19761a

From: Andy Wingo
Subject: [Guile-commits] GNU Guile branch, stable-2.0, updated. v2.0.1-77-g19761af
Date: Fri, 20 May 2011 10:52:44 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Guile".

The branch, stable-2.0 has been updated
       via  19761af161942ef18aa2b7891cbf718fc5be5945 (commit)
      from  a04e57498c7d7223315e39c34cc8d5e3bf8d5e0b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 19761af161942ef18aa2b7891cbf718fc5be5945
Author: Andy Wingo <address@hidden>
Date:   Fri May 20 12:50:08 2011 +0200

    fix compile error in mingw fstat socket detection
    * libguile/filesys.c (fstat_Win32) [__MINGW32__]: Apparently there is no
      _S_IFSOCK on mingw32.  Thanks to Volker Grabsch for the report.


Summary of changes:
 libguile/filesys.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libguile/filesys.c b/libguile/filesys.c
index b43536f..2429e80 100644
--- a/libguile/filesys.c
+++ b/libguile/filesys.c
@@ -473,7 +473,7 @@ static int fstat_Win32 (int fdes, struct stat *buf)
   /* Is this a socket ? */
   if (getsockopt (fdes, SOL_SOCKET, SO_ERROR, (void *) &error, &optlen) >= 0)
-      buf->st_mode = _S_IFSOCK | _S_IREAD | _S_IWRITE | _S_IEXEC;
+      buf->st_mode = _S_IREAD | _S_IWRITE | _S_IEXEC;
       buf->st_nlink = 1;
       buf->st_atime = buf->st_ctime = buf->st_mtime = time (NULL);
       return 0;

GNU Guile

reply via email to

[Prev in Thread] Current Thread [Next in Thread]