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>2000-10-23 07:35:50 +0400
committerChristopher Faylor <me@cgf.cx>2000-10-23 07:35:50 +0400
commitad30b4ffcaded89b97dd812b810f73386ce6e034 (patch)
tree1927fd0db3a020e01eb43a2df0ff08318b89e91a /winsup/cygwin/fhandler_console.cc
parentde7ba863d84c416776e1af23d923ffe0189e63e9 (diff)
* fork.cc (fork): Set sigframe here, since it can pause for a considerable
amount of time. * environ.cc (_addenv): Add debugging. * fhandler.cc: Eliminate unneeded include. * smallprint.c: Ditto.
Diffstat (limited to 'winsup/cygwin/fhandler_console.cc')
-rw-r--r--winsup/cygwin/fhandler_console.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/fhandler_console.cc b/winsup/cygwin/fhandler_console.cc
index 8a3343d86..fcb55c2a8 100644
--- a/winsup/cygwin/fhandler_console.cc
+++ b/winsup/cygwin/fhandler_console.cc
@@ -1152,7 +1152,7 @@ fhandler_console::write (const void *vsrc, size_t len)
{
case normal:
src = write_normal (src, end);
- if (src == 0) /* write_normal fail */
+ if (!src) /* write_normal failed */
return -1;
break;
case gotesc: