summaryrefslogtreecommitdiff
path: root/lib/fpending.c
diff options
context:
space:
mode:
authorClint Adams <clint@debian.org>2017-02-04 10:14:44 -0500
committerClint Adams <clint@debian.org>2017-02-04 10:29:57 -0500
commita2a4f555c44abda322dabcdf570401434caa52f2 (patch)
tree0ecaeee14d787bf89c309645f97dfa9b23be79ac /lib/fpending.c
parent815ec1bf6545c1b2650a467af09b61213ef4895e (diff)
New upstream version 4.4
Diffstat (limited to 'lib/fpending.c')
-rw-r--r--lib/fpending.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/fpending.c b/lib/fpending.c
index ce93604..c9b7786 100644
--- a/lib/fpending.c
+++ b/lib/fpending.c
@@ -1,5 +1,5 @@
/* fpending.c -- return the number of pending output bytes on a stream
- Copyright (C) 2000, 2004, 2006-2007, 2009-2016 Free Software Foundation,
+ Copyright (C) 2000, 2004, 2006-2007, 2009-2017 Free Software Foundation,
Inc.
This program is free software: you can redistribute it and/or modify
@@ -35,7 +35,7 @@ __fpending (FILE *fp)
#if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
return fp->_IO_write_ptr - fp->_IO_write_base;
#elif defined __sferror || defined __DragonFly__ || defined __ANDROID__
- /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin, Android */
+ /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin, Minix 3, Android */
return fp->_p - fp->_bf._base;
#elif defined __EMX__ /* emx+gcc */
return fp->_ptr - fp->_buffer;