aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2003-03-17 19:11:24 +0000
committerChristopher Faylor <me@cgf.cx>2003-03-17 19:11:24 +0000
commit8d81a4d6eec29ad39ffcf6154992abc4bfc506f3 (patch)
treec8a8a927dfce3fbb415606b89811e10ec3ffe66d
parent266619f74ba1a3b93b77a7853eebe30a343bd2b7 (diff)
downloadnewlib-github/unlabeled-1.248.2.zip
newlib-github/unlabeled-1.248.2.tar.gz
newlib-github/unlabeled-1.248.2.tar.bz2
* cygwin.din: Export btowc, trunc.github/unlabeled-1.248.2unlabeled-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 5b2e536..af695ae 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: