diff options
author | Bruno Haible <bruno@clisp.org> | 2020-05-26 17:57:58 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2020-05-27 19:30:43 +0200 |
commit | 3c0df2a7ffc173b200ea33eb689d33dc15d0175d (patch) | |
tree | cbb43bca1d669eb5e1bf6d0678d3e83055fbebfb /modules/readutmp | |
parent | 0f36ac3a248df78ee29a5ba69a835c6fce55e830 (diff) | |
download | gnulib-3c0df2a7ffc173b200ea33eb689d33dc15d0175d.tar.gz |
readutmp: Make more robust in multithreaded applications.
* lib/readutmp.c (read_utmp): Pass an 'e' flag to fopen.
* modules/readutmp (Depends-on): Add fopen-gnu.
Diffstat (limited to 'modules/readutmp')
-rw-r--r-- | modules/readutmp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/readutmp b/modules/readutmp index 51f629002b..e88897c999 100644 --- a/modules/readutmp +++ b/modules/readutmp @@ -11,6 +11,7 @@ extensions xalloc stdbool stdint +fopen-gnu configure.ac: gl_READUTMP |