X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Ffwritable.c;h=0b53927ab5ac455777f98da03030c3a31a556aa6;hb=c50edd6462eaaae00f8549f9bad99d4e68b94376;hp=1c203d03acb5792660d56d23d3406836415ff75f;hpb=802bea9db2f0a9c6a1f3bac3f1d23522d6db1e52;p=gnulib.git diff --git a/lib/fwritable.c b/lib/fwritable.c index 1c203d03a..0b53927ab 100644 --- a/lib/fwritable.c +++ b/lib/fwritable.c @@ -1,5 +1,5 @@ /* Retrieve information about a FILE stream. - Copyright (C) 2007-2012 Free Software Foundation, Inc. + Copyright (C) 2007-2013 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -33,7 +33,7 @@ fwritable (FILE *fp) fast macros. */ #if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */ return (fp->_flags & _IO_NO_WRITES) == 0; -#elif defined __sferror || defined __DragonFly__ /* FreeBSD, NetBSD, OpenBSD, DragonFly, MacOS X, Cygwin */ +#elif defined __sferror || defined __DragonFly__ /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin */ return (fp_->_flags & (__SRW | __SWR)) != 0; #elif defined __EMX__ /* emx+gcc */ return (fp->_flags & (_IORW | _IOWRT)) != 0;