]> granicus.if.org Git - curl/commitdiff
Use getcwd() to get the directory, which works even if one of the
authorDan Fandrich <dan@coneharvesters.com>
Thu, 20 Dec 2007 21:21:43 +0000 (21:21 +0000)
committerDan Fandrich <dan@coneharvesters.com>
Thu, 20 Dec 2007 21:21:43 +0000 (21:21 +0000)
directory components doesn't have read permission set.

tests/testcurl.pl

index b7828d32a78d554b4d1aebb68a18b700b08cb8c6..e726478e11cb7b9602ea7571e8a15961e59a87bb 100755 (executable)
@@ -294,7 +294,7 @@ $str1066os = undef;
 
 # Make $pwd to become the path without newline. We'll use that in order to cut
 # off that path from all possible logs and error messages etc.
-$pwd = cwd();
+$pwd = getcwd();
 
 if (-d $CURLDIR) {
   if ($CVS && -d "$CURLDIR/CVS") {