projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[!HAVE_FCHDIR]: Define open, fchdir, and chdir_long
[gnulib.git]
/
lib
/
regex.c
diff --git
a/lib/regex.c
b/lib/regex.c
index
32c1519
..
d384070
100644
(file)
--- a/
lib/regex.c
+++ b/
lib/regex.c
@@
-583,7
+583,10
@@
typedef enum
# undef INSIDE_RECURSION
# endif
#endif
# undef INSIDE_RECURSION
# endif
#endif
-#include "unlocked-io.h"
+
+#if USE_UNLOCKED_IO
+# include "unlocked-io.h"
+#endif
#ifdef INSIDE_RECURSION
/* Common operations on the compiled pattern. */
#ifdef INSIDE_RECURSION
/* Common operations on the compiled pattern. */
@@
-7906,7
+7909,7
@@
re_comp (const char *s)
if (!s)
{
if (!re_comp_buf.buffer)
if (!s)
{
if (!re_comp_buf.buffer)
- return gettext ("No previous regular expression");
+ return
(char *)
gettext ("No previous regular expression");
return 0;
}
return 0;
}