X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lib%2Ffwriting.c;h=12cd25e23d88135f227ab69d2d86fe3fe0bef7f0;hb=c98cb28938e581ea9a2dcbe965f5131cab90bc2c;hp=c6dc9ac8d82facd0d43bba13d9933130fd4ce8aa;hpb=d787fd90a576e67dff99d863822b80c5a75dd81f;p=gnulib.git diff --git a/lib/fwriting.c b/lib/fwriting.c index c6dc9ac8d..12cd25e23 100644 --- a/lib/fwriting.c +++ b/lib/fwriting.c @@ -1,5 +1,5 @@ /* Retrieve information about a FILE stream. - Copyright (C) 2007-2009 Free Software Foundation, Inc. + Copyright (C) 2007-2010 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 @@ -39,7 +39,7 @@ fwriting (FILE *fp) return (fp->__modeflags & __FLAG_WRITING) != 0; #elif defined __QNX__ /* QNX */ return ((fp->_Mode & 0x1 /* _MOPENR */) == 0 - || (fp->_Mode & 0x2000 /* _MWRITE */) != 0); + || (fp->_Mode & 0x2000 /* _MWRITE */) != 0); #elif defined __MINT__ /* Atari FreeMiNT */ if (!fp->__mode.__read) return 1;