On Mon 20 Dec 2004 01:55, Michael G Schwern <[EMAIL PROTECTED]> wrote: > On Sun, Dec 19, 2004 at 03:25:40AM -0800, Yitzchak Scott-Thoennes wrote: > > > What's the portability trap? > > > > Not croaking on C< stat $foo; -l _ >, transferring the code to an OS where > > lstat works, and only then seeing the error. > > Ahh, ok. I thought you were trying to "fix" the C< lstat $foo; -l _ > on > Windows case by adding another error. I understand now.
"Give this a whirl" now leads to you guys having tested it? I can aply, but without any testing or feedback, I feel kinda dangerous On Sun 19 Dec 2004 08:39, Yitzchak Scott-Thoennes <[EMAIL PROTECTED]> wrote: > Give this a whirl (I've had some trouble and not been able to test it > yet, and don't have things set up to compile a Win32 perl anyway.) > In iperlsys.h, PerlLIO_lstat is already redirected to PerlLIO_stat > for non-PERL_IMPLICIT_SYS, and for PERL_IMPLICIT_SYS, NetWare, win32, > and wince all appear to redirect lstat to stat. > > --- perl/pp_sys.c.orig 2004-09-14 15:19:26.000000000 -0700 > +++ perl/pp_sys.c 2004-12-18 22:17:49.366350400 -0800 -- H.Merijn Brand Amsterdam Perl Mongers (http://amsterdam.pm.org/) using perl-5.6.1, 5.8.5, & 5.9.x, and 809 on HP-UX 10.20 & 11.00, 11i, AIX 4.3, AIX 5.2, SuSE 9.1, and Win2k. http://www.cmve.net/~merijn/ http:[EMAIL PROTECTED]/ [EMAIL PROTECTED] send smoke reports to: [EMAIL PROTECTED], QA: http://qa.perl.org