diff options
Diffstat (limited to 'vms')
-rw-r--r-- | vms/ChangeLog | 8 | ||||
-rw-r--r-- | vms/gawkmisc.vms | 10 |
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; { |