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-12-11 09:19:36 +0300
committerChristopher Faylor <me@cgf.cx>2003-12-11 09:19:36 +0300
commit992406a5ea5adc93a4906ca6e4487efc5f28956e (patch)
tree2e64b52456e047186908238450a3268330f8b8a4 /winsup/cygwin
parent8e10c4311f9612951c82da5e844d51d985552d65 (diff)
* pinfo.cc (_pinfo::set_ctty): Correct stupid typo.
Diffstat (limited to 'winsup/cygwin')
-rw-r--r--winsup/cygwin/ChangeLog4
-rw-r--r--winsup/cygwin/pinfo.cc2
2 files changed, 5 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index bcf827310..899282a5a 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,5 +1,9 @@
2003-12-11 Christopher Faylor <cgf@redhat.com>
+ * pinfo.cc (_pinfo::set_ctty): Correct stupid typo.
+
+2003-12-11 Christopher Faylor <cgf@redhat.com>
+
* cygheap.h (cygheap_types): Add HEAP_ARCHETYPES.
(init_cheap::ctty): Change to pointer.
* dtable.h (dtable::find_archetype): Declare new function.
diff --git a/winsup/cygwin/pinfo.cc b/winsup/cygwin/pinfo.cc
index f18ced7c1..f1c1c8cff 100644
--- a/winsup/cygwin/pinfo.cc
+++ b/winsup/cygwin/pinfo.cc
@@ -278,7 +278,7 @@ _pinfo::set_ctty (tty_min *tc, int flags, fhandler_tty_slave *arch)
tc->setpgid (pgid);
if (cygheap->ctty != arch)
{
- if (cygheap->ctty)
+ if (!cygheap->ctty)
syscall_printf ("ctty NULL");
else
{