diff options
author | Christopher Faylor <me@cgf.cx> | 2000-09-10 16:43:47 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2000-09-10 16:43:47 +0000 |
commit | 4f7ac76aae140bb9de50fe4c81e3cf6d23b100e2 (patch) | |
tree | 81e313f620968f06dc4d5cc3e42e9919595a52e2 /winsup/cygwin/path.cc | |
parent | 4497c0df52833fc777f0708567d2e1533ac794dc (diff) | |
download | cygnal-4f7ac76aae140bb9de50fe4c81e3cf6d23b100e2.tar.gz cygnal-4f7ac76aae140bb9de50fe4c81e3cf6d23b100e2.tar.bz2 cygnal-4f7ac76aae140bb9de50fe4c81e3cf6d23b100e2.zip |
* dcrt0.cc (dll_crt0_1): Initialize thread and debug stuff before handling
exec/fork.
* dtable.cc (dtable::fixup_after_exec): Always clear out the read ahead buffer
whether closing or adjusting.
* path.cc (chdir): Avoid a compiler warning.
Diffstat (limited to 'winsup/cygwin/path.cc')
-rw-r--r-- | winsup/cygwin/path.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/path.cc b/winsup/cygwin/path.cc index bef272316..58a1fb8bc 100644 --- a/winsup/cygwin/path.cc +++ b/winsup/cygwin/path.cc @@ -2507,7 +2507,7 @@ chdir (const char *dir) else p++; - int len = strlen (p); + size_t len = strlen (p); if (len > 2 && strspn (p, ".") == len) { set_errno (ENOENT); |