develooper Front page | perl.perl5.porters | Postings from August 2009

[PATCH] Re: cando for cygwin

Thread Previous | Thread Next
From:
Ben Morrow
Date:
August 10, 2009 21:33
Subject:
[PATCH] Re: cando for cygwin
Message ID:
20090811043303.GA71609@osiris.mauzo.dyndns.org
Quoth rurban@x-ray.at (Reini Urban):
> 
> I got a bugreport on cygwin by a user who forgot about use filetest 'access'.
> He was a Administrator and worried about the wrong writable flag, because
> access() is not called per default on -w checks
> 
> So I added the gid 544 check to cando(), which is the short analog to
> unix root.

This patch doesn't apply to blead: Perl_cando doesn't currently have a
__CYGWIN__ branch. The attached patch fixes this and also updates the
Perl analogue to Perl_cando in File::stat. It's untested, since I don't
have Cygwin.

Ben


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About