aboutsummaryrefslogtreecommitdiffstats
path: root/vms
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2021-01-08 11:08:24 +0200
committerArnold D. Robbins <arnold@skeeve.com>2021-01-08 11:08:24 +0200
commit117fe375fd1ab8aa02c7000f148142659ee14308 (patch)
tree36d5c7b78794c992ab1c23543fbbdd5071f373d7 /vms
parent4d6b2e5e35dff0b9fc51742ab5b7b0a06d9aff50 (diff)
parentd562eb482f3180dcd59a332edc91027ea3844d90 (diff)
downloadegawk-117fe375fd1ab8aa02c7000f148142659ee14308.tar.gz
egawk-117fe375fd1ab8aa02c7000f148142659ee14308.tar.bz2
egawk-117fe375fd1ab8aa02c7000f148142659ee14308.zip
Merge branch 'gawk-5.1-stable'
Diffstat (limited to 'vms')
-rw-r--r--vms/ChangeLog8
-rw-r--r--vms/gawkmisc.vms10
2 files changed, 13 insertions, 5 deletions
diff --git a/vms/ChangeLog b/vms/ChangeLog
index 39b21150..7d80c4bf 100644
--- a/vms/ChangeLog
+++ b/vms/ChangeLog
@@ -1,3 +1,11 @@
+2021-01-08 Arnold D. Robbins <arnold@skeeve.com>
+
+ * gawkmisc.vms (quote): Make const char *.
+ (defpath): Make const char *.
+ (deflibpath): Make const char *.
+ (envsep): Make const char *.
+ (gawk_name): Now returns const char *.
+
2020-04-14 Arnold D. Robbins <arnold@skeeve.com>
* 5.1.0: Release tar ball made.
diff --git a/vms/gawkmisc.vms b/vms/gawkmisc.vms
index 725cf669..ff5805bd 100644
--- a/vms/gawkmisc.vms
+++ b/vms/gawkmisc.vms
@@ -79,10 +79,10 @@ int SYS$TRNLNM(
const unsigned char * acmode,
const struct item_list_3 * item_list);
-char quote = '\'';
-char *defpath = DEFPATH;
-char *deflibpath = DEFLIBPATH;
-char envsep = ',';
+const char quote = '\'';
+const char *defpath = DEFPATH;
+const char *deflibpath = DEFLIBPATH;
+const char envsep = ',';
#define VMS_NAME_LEN 255
static char vms_name[VMS_NAME_LEN+1];
@@ -132,7 +132,7 @@ static int sys_trnlnm
* passed exec() argv[0] and handle both cases.
*/
-char *
+const char *
gawk_name(filespec)
const char *filespec;
{