summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1993-09-28 18:20:17 +0000
committerRoland McGrath <roland@redhat.com>1993-09-28 18:20:17 +0000
commitf8300f1e1c20c3a91c8456ddeae69b80edf08127 (patch)
tree8da56ced659c4355a00576ad11143ce4788befa9 /main.c
parent7f71af79742e0a0f7b79b84c30e2f31aa9e4d50e (diff)
downloadgunmake-f8300f1e1c20c3a91c8456ddeae69b80edf08127.tar.gz
Formerly main.c.~97~
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 07dc702..323e1a0 100644
--- a/main.c
+++ b/main.c
@@ -562,7 +562,7 @@ main (argc, argv, envp)
while (*p != '\0')
{
- if (index (";'\"*?[]$<>(){}|&~`\\ \t\r\n\f\v", *p) != 0)
+ if (index ("^;'\"*?[]$<>(){}|&~`\\ \t\r\n\f\v", *p) != 0)
cmd_defs[cmd_defs_idx++] = '\\';
cmd_defs[cmd_defs_idx++] = *p++;
}