diff options
| author | tjg <tjg> | 2001-10-01 10:58:19 +0000 |
|---|---|---|
| committer | Toby Goodwin <toby@paccrat.org> | 2015-05-16 21:23:19 +0100 |
| commit | 593a3857b992c85038276eb0e4c8aa20d796f3de (patch) | |
| tree | 001744a6cce00a3f7c37e4ac2a803e4f70400842 | |
| parent | 23892fe09be24eb8e53747d4d3752eebb0dd2284 (diff) | |
Bug: the ^A bug is fixed.
| -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 */ |