From 5a2e82d719cedaf6eeafa00011f678af978ad2f5 Mon Sep 17 00:00:00 2001 From: Uwe Bonnes Date: Thu, 12 Sep 2002 20:43:54 +0000 Subject: [PATCH] WCMD_parse: allow slashes in command filenames. --- programs/wcmd/wcmdmain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/programs/wcmd/wcmdmain.c b/programs/wcmd/wcmdmain.c index 8b6607f037c..98e8f2813c2 100644 --- a/programs/wcmd/wcmdmain.c +++ b/programs/wcmd/wcmdmain.c @@ -555,7 +555,7 @@ int p = 0; case '\0': return; default: - while ((*s != '\0') && (*s != ' ') && (*s != '/')) { + while ((*s != '\0') && (*s != ' ')) { if (p == 0) *p1++ = *s++; else if (p == 1) *p2++ = *s++; else s++;