This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e1c196
)
opendir() nit for VMS
author
Craig A. Berry
<craigberry@mac.com>
Mon, 1 Jul 2002 22:55:30 +0000
(17:55 -0500)
committer
Rafael Garcia-Suarez
<rgarciasuarez@gmail.com>
Tue, 2 Jul 2002 08:27:41 +0000
(08:27 +0000)
From: "Craig A. Berry" <craigberry@mac.com>
Message-ID: <
a05111b02b946cb14a2a8
@[172.16.52.1]>
p4raw-id: //depot/perl@17396
vms/vms.c
patch
|
blob
|
blame
|
history
diff --git
a/vms/vms.c
b/vms/vms.c
index
f0e4121
..
27880dd
100644
(file)
--- 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;