Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2003-03-17 22:11:24 +0300
committerChristopher Faylor <me@cgf.cx>2003-03-17 22:11:24 +0300
commit8d81a4d6eec29ad39ffcf6154992abc4bfc506f3 (patch)
treec8a8a927dfce3fbb415606b89811e10ec3ffe66d
parent266619f74ba1a3b93b77a7853eebe30a343bd2b7 (diff)
* cygwin.din: Export btowc, trunc.unlabeled-1.248.2
* include/cygwin/version.h: Reflect new exports. * syscalls.cc (_stat): Rename to stat to avoid newlib wrapper. * syscalls.cc (_fstat): Ditto.
-rw-r--r--winsup/cygwin/path.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/path.cc b/winsup/cygwin/path.cc
index 5b2e5360d..af695ae42 100644
--- a/winsup/cygwin/path.cc
+++ b/winsup/cygwin/path.cc
@@ -1122,7 +1122,7 @@ win32_device_name (const char *src_path, char *win32_path,
case FH_SOCKET:
char *c;
strcpy (win32_path, src_path);
- while (c = strchr (win32_path, '/'))
+ while ((c = strchr (win32_path, '/')))
*c = '\\';
break;
case FH_RANDOM: