aboutsummaryrefslogtreecommitdiff
path: root/src/lookup.c
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2011-05-19 00:43:33 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2011-05-19 00:43:33 +0300
commit6ef143bd53c35635b6d7edc6410d45fa58f54da2 (patch)
treebb53c4652d46b532b1d86db4b258edfecd90e18c /src/lookup.c
parent9388982950195420a96db58f04a5e6d0f292559e (diff)
downloadgrecs-6ef143bd53c35635b6d7edc6410d45fa58f54da2.tar.gz
grecs-6ef143bd53c35635b6d7edc6410d45fa58f54da2.tar.bz2
Bugfixes.
* Makefile.am: Fix format to git log. * src/bind-lex.l (grecs_bind_close_sources): Reset input_stack to 0. * src/lookup.c (split_cfg_path): Allow only one of "./:;,^~" at the beginning of a path.
Diffstat (limited to 'src/lookup.c')
-rw-r--r--src/lookup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lookup.c b/src/lookup.c
index a557845..e7f380e 100644
--- a/src/lookup.c
+++ b/src/lookup.c
@@ -255,7 +255,7 @@ split_cfg_path(const char *path, int *pargc, char ***pargv,
} else {
struct wordsplit ws;
- if (ispunct(path[0])) {
+ if (strchr("./:;,^~", path[0])) {
delim = static_delim;
delim[0] = path[0];
path++;

Return to:

Send suggestions and report system problems to the System administrator.