diff options
author | Christopher Faylor <me@cgf.cx> | 2003-12-11 06:19:36 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2003-12-11 06:19:36 +0000 |
commit | 992406a5ea5adc93a4906ca6e4487efc5f28956e (patch) | |
tree | 2e64b52456e047186908238450a3268330f8b8a4 /winsup | |
parent | 8e10c4311f9612951c82da5e844d51d985552d65 (diff) | |
download | newlib-992406a5ea5adc93a4906ca6e4487efc5f28956e.zip newlib-992406a5ea5adc93a4906ca6e4487efc5f28956e.tar.gz newlib-992406a5ea5adc93a4906ca6e4487efc5f28956e.tar.bz2 |
* pinfo.cc (_pinfo::set_ctty): Correct stupid typo.
Diffstat (limited to 'winsup')
-rw-r--r-- | winsup/cygwin/ChangeLog | 4 | ||||
-rw-r--r-- | winsup/cygwin/pinfo.cc | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index bcf8273..899282a 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 f18ced7..f1c1c8c 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 { |