diff options
| -rw-r--r-- | ChangeLog | 6 | ||||
| -rw-r--r-- | rc.h | 4 | ||||
| -rw-r--r-- | var.c | 2 |
3 files changed, 10 insertions, 2 deletions
@@ -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. @@ -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; @@ -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 */ |