diff options
author | Christopher Faylor <me@cgf.cx> | 2001-09-03 06:13:05 +0400 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2001-09-03 06:13:05 +0400 |
commit | 9867ecfdb3dca69f38e339878eb87faccb9c50f7 (patch) | |
tree | fb2ff116de616f51103edd12ecfe1b303cddd9ba /winsup/cygwin/syscalls.cc | |
parent | db8b09c3068ea748c279ddce8608c1143579b6e3 (diff) |
* child_info.h: Modify magic number.
* dcrt0.cc (_cygwin_testing): Define.
(_dll_crt0): Set _cygwin_testing if CYGWIN_TESTING environment variable exists.
Don't issue "conflicting versions" error if _cygwin_testing is true.
* shared.cc (shared_name): Use _cygwin_testing global rather than testing the
environment.
* syscalls.cc (_write): Remove debugging info.
Diffstat (limited to 'winsup/cygwin/syscalls.cc')
-rw-r--r-- | winsup/cygwin/syscalls.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/syscalls.cc b/winsup/cygwin/syscalls.cc index ca76b07a9..6f26e882e 100644 --- a/winsup/cygwin/syscalls.cc +++ b/winsup/cygwin/syscalls.cc @@ -348,7 +348,7 @@ _write (int fd, const void *ptr, size_t len) fh = cygheap->fdtab[fd]; res = fh->bg_check (SIGTTOU); -syscall_printf ("write fh %p, name '%s' bg_check %d, bg_eof %d", fh, fh->get_name(), res, bg_eof); + if (res > bg_eof) { myself->process_state |= PID_TTYOU; |