diff options
author | Craig A. Berry <craigberry@mac.com> | 2008-06-03 12:27:43 +0000 |
---|---|---|
committer | Craig A. Berry <craigberry@mac.com> | 2008-06-03 12:27:43 +0000 |
commit | 83b907a4c26958e4fcec93b2b07d010bcdd4fc4a (patch) | |
tree | ca1bcd668fb32da8a6417761cd112bf4d5de22f0 /vms | |
parent | 11ed4d0171a0e4e9e41800767e862d5763c9f5e6 (diff) | |
download | perl-83b907a4c26958e4fcec93b2b07d010bcdd4fc4a.tar.gz |
Make Perl_vms_start_glob() decline politely when passed an empty
argument.
p4raw-id: //depot/perl@33993
Diffstat (limited to 'vms')
-rw-r--r-- | vms/vms.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -12768,6 +12768,11 @@ Perl_vms_start_glob unsigned long int lff_flags = 0; int rms_sts; + if (!SvOK(tmpglob)) { + SETERRNO(ENOENT,RMS$_FNF); + return NULL; + } + #ifdef VMS_LONGNAME_SUPPORT lff_flags = LIB$M_FIL_LONG_NAMES; #endif |