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
commit47dafe4d9a4e294fab4b6131bb296dc386e0dcbc (patch)
tree3242b0173cac49b613b1632a6caf41bf4d92861e /cygwin
parent3e148164f5f2c2b3bff3571c0083097006822b57 (diff)
downloadperl-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.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);