summaryrefslogtreecommitdiffabout
path: root/src
authorSergey Poznyakoff <gray@gnu.org.ua>2011-05-18 21:43:33 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2011-05-18 21:43:33 (GMT)
commit6ef143bd53c35635b6d7edc6410d45fa58f54da2 (patch) (side-by-side diff)
treebb53c4652d46b532b1d86db4b258edfecd90e18c /src
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') (more/less context) (ignore whitespace changes)
-rw-r--r--src/bind-lex.l1
-rw-r--r--src/lookup.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/bind-lex.l b/src/bind-lex.l
index a5cf644..926785e 100644
--- a/src/bind-lex.l
+++ b/src/bind-lex.l
@@ -234,4 +234,5 @@ grecs_bind_close_sources()
while (!_pop_context())
;
grecs_list_free(input_stack);
+ input_stack = NULL;
}
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.