diff options
author | Fifer, Eric <EFifer@sanwaint.com> | 2000-11-07 18:08:51 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2000-11-07 21:43:29 +0000 |
commit | 47dafe4d9a4e294fab4b6131bb296dc386e0dcbc (patch) | |
tree | 3242b0173cac49b613b1632a6caf41bf4d92861e /cygwin | |
parent | 3e148164f5f2c2b3bff3571c0083097006822b57 (diff) | |
download | perl-47dafe4d9a4e294fab4b6131bb296dc386e0dcbc.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.c | 2 |
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); |