* lib/exclude.c (add_exclude_file): Pass an 'e' flag to fopen.
* modules/exclude (Depends-on): Add fopen-gnu.
+2020-05-27 Bruno Haible <bruno@clisp.org>
+
+ exclude: Make more robust in multithreaded applications.
+ * lib/exclude.c (add_exclude_file): Pass an 'e' flag to fopen.
+ * modules/exclude (Depends-on): Add fopen-gnu.
+
2020-05-27 Bruno Haible <bruno@clisp.org>
bitset: Make more robust in multithreaded applications.
if (use_stdin)
in = stdin;
- else if (! (in = fopen (file_name, "r")))
+ else if (! (in = fopen (file_name, "re")))
return -1;
rc = add_exclude_fp (call_addfn, ex, in, options, line_end, &add_func);
Depends-on:
filename
fnmatch
+fopen-gnu
hash
mbscasecmp
mbuiter