summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortjg <tjg>2001-10-01 10:58:19 +0000
committerToby Goodwin <toby@paccrat.org>2015-05-16 21:23:19 +0100
commit593a3857b992c85038276eb0e4c8aa20d796f3de (patch)
tree001744a6cce00a3f7c37e4ac2a803e4f70400842
parent23892fe09be24eb8e53747d4d3752eebb0dd2284 (diff)
Bug: the ^A bug is fixed.
-rw-r--r--ChangeLog6
-rw-r--r--rc.h4
-rw-r--r--var.c2
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 */