develooper Front page | perl.perl5.porters | Postings from February 2006

[perl #38628] Need to change Cygwin built-in Cwd::cwd

Thread Next
From:
Jerry D. Hedden
Date:
February 24, 2006 14:33
Subject:
[perl #38628] Need to change Cygwin built-in Cwd::cwd
Message ID:
rt-3.0.11-38628-130580.0.417117006602581@perl.org
# New Ticket Created by  "Jerry D. Hedden" 
# Please include the string:  [perl #38628]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/rt3/Ticket/Display.html?id=38628 >


PathTools 3.16 introduced the following change:

 - Apparently the version of File::Path that ships with perl 5.8.5
   (and perhaps others) calls Cwd::getcwd() with an argument (perhaps
   as a method?), which causes it to die with a prototyping error.
   We've eliminated the prototype by using the "(...)" arglist, since
   "PROTOTYPE: DISABLE" for the function didn't seem to work. [Spotted
   by Eamon Daly and others]

However, the Cygwin version of Perl has its own built-in Cwd::cwd.  The
attached patch modifies this to be consistent with the PathTools change.

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