diff options
author | John E. Malmberg <wb8tyw@qsl.net> | 2007-08-01 03:25:22 -0500 |
---|---|---|
committer | Craig A. Berry <craigberry@mac.com> | 2007-08-02 12:54:40 +0000 |
commit | d6adb841ee12c8e81631147a24128b6c0f39c3e5 (patch) | |
tree | 8d5dc65c7b297e2ea1b38bb3d057891dd7ac0b56 /vms | |
parent | 60c1ee52655d31d7d03b4d8c0645113f2b5117e9 (diff) | |
download | perl-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |