about summary refs log tree commit diff
path: root/posix
diff options
context:
space:
mode:
Diffstat (limited to 'posix')
-rw-r--r--posix/execvp.c1
-rw-r--r--posix/regex.c6
2 files changed, 4 insertions, 3 deletions
diff --git a/posix/execvp.c b/posix/execvp.c
index c231ec69ca..fc37638f06 100644
--- a/posix/execvp.c
+++ b/posix/execvp.c
@@ -116,6 +116,7 @@ execvp (file, argv)
 		 that we did find one but were denied access.  */
 	      got_eacces = 1;
 	    case ENOENT:
+	    case ESTALE:
 	      /* Those errors indicate the file is missing or not executable
 		 by us, in which case we want to just try the next path
 		 directory.  */
diff --git a/posix/regex.c b/posix/regex.c
index b649b9d53d..4f125be44b 100644
--- a/posix/regex.c
+++ b/posix/regex.c
@@ -128,15 +128,15 @@ char *realloc ();
 #define SWITCH_ENUM_CAST(x) (x)
 #endif
 
+/* How many characters in the character set.  */
+#define CHAR_SET_SIZE 256
+
 #ifdef SYNTAX_TABLE
 
 extern char *re_syntax_table;
 
 #else /* not SYNTAX_TABLE */
 
-/* How many characters in the character set.  */
-#define CHAR_SET_SIZE 256
-
 static char re_syntax_table[CHAR_SET_SIZE];
 
 static void