aboutsummaryrefslogtreecommitdiffstats
path: root/io.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2012-11-14 20:17:27 +0200
committerArnold D. Robbins <arnold@skeeve.com>2012-11-14 20:17:27 +0200
commitdf1abb8c0d0b5855af8bb78ecf87f3511807905d (patch)
treeeb5d6bd69a5842cc730946f552c8f323d6768afa /io.c
parentfd17b777a698d2b40da34d461d090eda8b905789 (diff)
downloadegawk-df1abb8c0d0b5855af8bb78ecf87f3511807905d.tar.gz
egawk-df1abb8c0d0b5855af8bb78ecf87f3511807905d.tar.bz2
egawk-df1abb8c0d0b5855af8bb78ecf87f3511807905d.zip
VMS updates. Should now build, pass some tests.
Diffstat (limited to 'io.c')
-rw-r--r--io.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/io.c b/io.c
index 2607b6cb..45725c5b 100644
--- a/io.c
+++ b/io.c
@@ -2523,7 +2523,9 @@ do_find_source(const char *src, struct stat *stb, int *errcode, path_info *pi)
return NULL;
}
erealloc(path, char *, strlen(path) + strlen(src) + 2, "do_find_source");
+#ifndef VMS
strcat(path, "/");
+#endif
strcat(path, src);
return path;
}