aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdio-impl.h
diff options
context:
space:
mode:
authorPaul Eggert2019-10-11 18:23:47 -0700
committerPaul Eggert2019-10-11 18:24:19 -0700
commit4b60e0722d0a79751f345bd470d07db0d635aa28 (patch)
tree9ebcaa21ec5f08c0caafc7190daf34ed047f8e1f /lib/stdio-impl.h
parentf9d8babe6a28b19c781778c361e45b93f7a01f17 (diff)
downloademacs-4b60e0722d0a79751f345bd470d07db0d635aa28.tar.gz
emacs-4b60e0722d0a79751f345bd470d07db0d635aa28.zip
Update from Gnulib
This incorporates: 2019-10-11 Simplify and regularize regex use of ‘assert’ 2019-10-09 regex: omit debug assignment when not debugging 2019-10-09 regex: tell compiler there’s at most 256 arcs out 2019-10-09 regex: simplify by assuming C99 2019-10-09 regex: avoid copying of uninitialized storage 2019-09-29 fbufmode: Fix compilation error on glibc >= 2.28 systems 2019-09-28 Update comments that refer to POSIX 2019-09-23 Update URLs and associated text * doc/misc/texinfo.tex, lib/open.c, lib/regcomp.c: * lib/regex_internal.c, lib/regex_internal.h, lib/regexec.c: * lib/stdio-impl.h: Copy from Gnulib.
Diffstat (limited to 'lib/stdio-impl.h')
-rw-r--r--lib/stdio-impl.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/lib/stdio-impl.h b/lib/stdio-impl.h
index 4260468b612..d49625780bb 100644
--- a/lib/stdio-impl.h
+++ b/lib/stdio-impl.h
@@ -18,11 +18,16 @@
18 the same implementation of stdio extension API, except that some fields 18 the same implementation of stdio extension API, except that some fields
19 have different naming conventions, or their access requires some casts. */ 19 have different naming conventions, or their access requires some casts. */
20 20
21/* Glibc 2.28 made _IO_IN_BACKUP private. For now, work around this 21/* Glibc 2.28 made _IO_UNBUFFERED and _IO_IN_BACKUP private. For now, work
22 problem by defining it ourselves. FIXME: Do not rely on glibc 22 around this problem by defining them ourselves. FIXME: Do not rely on glibc
23 internals. */ 23 internals. */
24#if !defined _IO_IN_BACKUP && defined _IO_EOF_SEEN 24#if defined _IO_EOF_SEEN
25# define _IO_IN_BACKUP 0x100 25# if !defined _IO_UNBUFFERED
26# define _IO_UNBUFFERED 0x2
27# endif
28# if !defined _IO_IN_BACKUP
29# define _IO_IN_BACKUP 0x100
30# endif
26#endif 31#endif
27 32
28/* BSD stdio derived implementations. */ 33/* BSD stdio derived implementations. */