From 788bee548b5d501bbd4f59d9adb75778cdc9f28f Mon Sep 17 00:00:00 2001 From: andersen Date: Fri, 9 Mar 2001 01:08:06 +0000 Subject: A '.' is a legal seperator. git-svn-id: svn://busybox.net/trunk/busybox@2018 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- sh.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sh.c') diff --git a/sh.c b/sh.c index 6a692d745..ae5532e54 100644 --- a/sh.c +++ b/sh.c @@ -1064,7 +1064,7 @@ static int expand_arguments(char *command) if (var) { int subst_len = strlen(var); char *next_dst; - if ((next_dst=strpbrk(dst+1, " \t~`!$^&*()=|\\{}[];\"'<>?")) == NULL) { + if ((next_dst=strpbrk(dst+1, " \t~`!$^&*()=|\\{}[];\"'<>?.")) == NULL) { next_dst = dst; } src = (char*)xrealloc(src, strlen(src) - strlen(next_dst)+strlen(var)+1); @@ -1078,7 +1078,7 @@ static int expand_arguments(char *command) } else { /* Seems we got an un-expandable variable. So delete it. */ char *next_dst; - if ((next_dst=strpbrk(dst+1, " \t~`!$^&*()=|\\{}[];\"'<>?")) != NULL) { + if ((next_dst=strpbrk(dst+1, " \t~`!$^&*()=|\\{}[];\"'<>?.")) != NULL) { /* Move stuff to the end of the string to accommodate filling * the created gap with the new stuff */ memmove(dst, next_dst, next_dst-dst); -- cgit v1.2.3-55-g6feb