From: Abhijit Menon-Sen Date: Wed, 8 Aug 2007 16:28:40 +0000 (+0000) Subject: From #43633: Cwd::cwd() use in File::Spec::Unix use causes unnecessary fork() X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=7241d76ad1edf173ef75728426b7546b242afbdd;p=p5sagit%2Fp5-mst-13.2.git From #43633: Cwd::cwd() use in File::Spec::Unix use causes unnecessary fork() p4raw-id: //depot/perl@31686 --- diff --git a/lib/File/Spec/Unix.pm b/lib/File/Spec/Unix.pm index 5674731..98a24dd 100644 --- a/lib/File/Spec/Unix.pm +++ b/lib/File/Spec/Unix.pm @@ -475,7 +475,7 @@ L # File::Spec subclasses use this. sub _cwd { require Cwd; - Cwd::cwd(); + Cwd::getcwd(); }