summaryrefslogtreecommitdiff
path: root/vms
diff options
context:
space:
mode:
authorCraig A. Berry <craigberry@mac.com>2002-07-01 17:55:30 -0500
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2002-07-02 08:27:41 +0000
commitfac786e7f4d8e3e68d5aa264494f34319a9258b9 (patch)
treed88b43a5b5d715b10a4d28e96323551dc046eacb /vms
parent4e1c196133cea24231b102996098718349c5f3c5 (diff)
downloadperl-fac786e7f4d8e3e68d5aa264494f34319a9258b9.tar.gz
opendir() nit for VMS
From: "Craig A. Berry" <craigberry@mac.com> Message-ID: <a05111b02b946cb14a2a8@[172.16.52.1]> p4raw-id: //depot/perl@17396
Diffstat (limited to 'vms')
-rw-r--r--vms/vms.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vms/vms.c b/vms/vms.c
index f0e41213b7..27880dd101 100644
--- a/vms/vms.c
+++ b/vms/vms.c
@@ -4721,7 +4721,7 @@ Perl_opendir(pTHX_ char *name)
* accurately report whether it's a directory.
*/
if (!cando_by_name(S_IRUSR,0,dir)) {
- set_errno(EACCES); set_vaxc_errno(RMS$_PRV);
+ /* cando_by_name has already set errno */
return NULL;
}
if (flex_stat(dir,&sb) == -1) return NULL;