summaryrefslogtreecommitdiff
path: root/cygwin
diff options
context:
space:
mode:
authorFifer, Eric <EFifer@sanwaint.com>2000-11-07 18:08:51 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2000-11-07 21:43:29 +0000
commit35379a00ff07b516f22b78cbd74f34fd621fbe99 (patch)
tree3242b0173cac49b613b1632a6caf41bf4d92861e /cygwin
parenteb1ce28f946c7b806c5d6215def678fca7113674 (diff)
downloadperl-35379a00ff07b516f22b78cbd74f34fd621fbe99.tar.gz
cygwin port
Message-ID: <779F20BCCE5AD31186A50008C75D99791717BB@silldn_mail1.sanwaint.com> Synchronize with Cygwin 1.1.5. p4raw-id: //depot/perl@7597
Diffstat (limited to 'cygwin')
-rw-r--r--cygwin/cygwin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cygwin/cygwin.c b/cygwin/cygwin.c
index db1c426ea1..33ea4db16b 100644
--- a/cygwin/cygwin.c
+++ b/cygwin/cygwin.c
@@ -146,7 +146,7 @@ XS(Cygwin_cwd)
if(items != 0)
Perl_croak(aTHX_ "Usage: Cwd::cwd()");
- if((cwd = getcwd(NULL, 0))) {
+ if((cwd = getcwd(NULL, -1))) {
ST(0) = sv_2mortal(newSVpv(cwd, 0));
safesysfree(cwd);
XSRETURN(1);