[Libsysio-commit] HEAD: libsysio/src readlink.c
Brought to you by:
lward
From: Lee W. <lw...@us...> - 2007-03-23 20:02:19
|
Update of /cvsroot/libsysio/libsysio/src In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv12453/src Modified Files: readlink.c Log Message: The configure test for readlink was broken. The readlink module was improperly forcing the BSD variance. This is in compliance with the proper POSIX options. One note: The GNU includes just don't define a prototype for readlink sans extensions. The choices made here should be the correct ones. Your mileage may vary... Index: readlink.c =================================================================== RCS file: /cvsroot/libsysio/libsysio/src/readlink.c,v retrieving revision 1.7 retrieving revision 1.8 diff -u -w -b -B -p -r1.7 -r1.8 --- readlink.c 2 Jan 2007 20:44:10 -0000 1.7 +++ readlink.c 23 Mar 2007 20:02:13 -0000 1.8 @@ -41,9 +41,6 @@ * le...@sa... */ -#if defined(__linux__) -#define _BSD_SOURCE -#endif #include <unistd.h> #include <errno.h> #include <assert.h> |