summaryrefslogtreecommitdiff
path: root/vms
diff options
context:
space:
mode:
authorJohn E. Malmberg <wb8tyw@qsl.net>2007-08-01 03:25:22 -0500
committerCraig A. Berry <craigberry@mac.com>2007-08-02 12:54:40 +0000
commitd6adb841ee12c8e81631147a24128b6c0f39c3e5 (patch)
tree8d5dc65c7b297e2ea1b38bb3d057891dd7ac0b56 /vms
parent60c1ee52655d31d7d03b4d8c0645113f2b5117e9 (diff)
downloadperl-d6adb841ee12c8e81631147a24128b6c0f39c3e5.tar.gz
[patch@31670] vms.c - Missing null terminator
From: "John E. Malmberg" <wb8tyw@qsl.net> Message-id: <46B089C2.9000508@qsl.net> p4raw-id: //depot/perl@31674
Diffstat (limited to 'vms')
-rw-r--r--vms/vms.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vms/vms.c b/vms/vms.c
index c8e0536e2c..38029d7a4d 100644
--- a/vms/vms.c
+++ b/vms/vms.c
@@ -5077,7 +5077,7 @@ mp_do_rmsexpand
if (!rms_nam_rsll(mynam)) {
if (isunix) {
- if (do_tounixspec(esa,outbuf,0,fs_utf8) == NULL) {
+ if (do_tounixspec(tbuf, outbuf ,0 , fs_utf8) == NULL) {
if (out) Safefree(out);
if (esal != NULL)
PerlMem_free(esal);
@@ -5087,7 +5087,7 @@ mp_do_rmsexpand
return NULL;
}
}
- else strcpy(outbuf,esa);
+ else strcpy(outbuf, tbuf);
}
else if (isunix) {
tmpfspec = PerlMem_malloc(VMS_MAXRSS);