summaryrefslogtreecommitdiff
path: root/sysutils/runwhen/files/patch-src_rw__scan.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/runwhen/files/patch-src_rw__scan.c')
-rw-r--r--sysutils/runwhen/files/patch-src_rw__scan.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/sysutils/runwhen/files/patch-src_rw__scan.c b/sysutils/runwhen/files/patch-src_rw__scan.c
new file mode 100644
index 000000000000..77c2342d960b
--- /dev/null
+++ b/sysutils/runwhen/files/patch-src_rw__scan.c
@@ -0,0 +1,11 @@
+--- src/rw_scan.c.orig 2020-04-22 21:45:48 UTC
++++ src/rw_scan.c
+@@ -14,7 +14,7 @@ void rw_scan(tain_t* stamp, char const* text) {
+ char const* x;
+ switch (text[0]) {
+ case '$':
+- x=env_get(text+1);
++ x=getenv(text+1);
+ if (x==NULLP) DIE_MALFORMED("timestamp", text);
+ text=x;
+ i=tain_scan(text, stamp);