aboutsummaryrefslogtreecommitdiffstats
path: root/exec/exec.c
diff options
context:
space:
mode:
Diffstat (limited to 'exec/exec.c')
-rw-r--r--exec/exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/exec/exec.c b/exec/exec.c
index e890179a9ab..662c8bf69d2 100644
--- a/exec/exec.c
+++ b/exec/exec.c
@@ -95,7 +95,7 @@ check_interpreter (const char *name, int fd, const char **extra)
95 95
96 /* Strip leading whitespace. */ 96 /* Strip leading whitespace. */
97 start = buffer; 97 start = buffer;
98 while (*start && *start < 128 && isspace (*start)) 98 while (*start && ((unsigned char) *start) < 128 && isspace (*start))
99 ++start; 99 ++start;
100 100
101 /* Look for a newline character. */ 101 /* Look for a newline character. */