From 593a3857b992c85038276eb0e4c8aa20d796f3de Mon Sep 17 00:00:00 2001 From: tjg Date: Mon, 1 Oct 2001 10:58:19 +0000 Subject: Bug: the ^A bug is fixed. --- ChangeLog | 6 ++++++ rc.h | 4 +++- var.c | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 412c91a..5d1c3a3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -695,3 +695,9 @@ Changes since rc-1.5b2 Bug: you can't pass a short to a stdargs function! +2001-09-27 + + Documentation: we don't consider that `.' failing to search path is + a bug. + + Bug: the ^A bug is fixed. diff --git a/rc.h b/rc.h index 80a1f16..3c1aef9 100644 --- a/rc.h +++ b/rc.h @@ -3,11 +3,13 @@ /* datatypes */ +#define ENV_SEP '\001' +#define ENV_ESC '\002' + /* braindamaged IBM header files #define true and false */ #undef FALSE #undef TRUE - typedef void builtin_t(char **); typedef struct Block Block; typedef struct Dup Dup; diff --git a/var.c b/var.c index e7161de..1c30fba 100644 --- a/var.c +++ b/var.c @@ -107,7 +107,7 @@ extern char *varlookup_string(char *name) { return look->extdef; if (look->def == NULL) return NULL; - return look->extdef = mprint("%F=%-L", name, look->def, "\001"); + return look->extdef = mprint("%F=%W", name, look->def); } /* remove a variable from the symtab. "stack" determines whether a level of scoping is popped or not */ -- cgit v1.2.3