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

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

Thread Next
Jerry D. Hedden
February 24, 2006 14:33
[perl #38628] Need to change Cygwin built-in Cwd::cwd
Message ID:
# 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: >

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 Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About