Craig A. Berry [Mon, 1 Jul 2002 22:55:30 +0000 (17:55 -0500)]
From: "Craig A. Berry" <craigberry@mac.com>
Message-ID: <
a05111b02b946cb14a2a8@[172.16.52.1]>
p4raw-id: //depot/perl@17396
* 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;