diff options
author | Christopher Faylor <me@cgf.cx> | 2004-03-21 17:41:40 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2004-03-21 17:41:40 +0000 |
commit | c795774c91303368f36369f7dac0d18aa25a5996 (patch) | |
tree | 8b670b7b945e6106fc46a72d294e20fdf05125c9 /winsup/cygwin/dtable.cc | |
parent | 7f5a71079f098a9b45328fb86b68442774323c1d (diff) | |
download | newlib-c795774c91303368f36369f7dac0d18aa25a5996.zip newlib-c795774c91303368f36369f7dac0d18aa25a5996.tar.gz newlib-c795774c91303368f36369f7dac0d18aa25a5996.tar.bz2 |
* cygheap.cc (init_cheap): Add ability to specify minimal cygwin heap size when
debugging.
(_csbrk): Report error in allocation to stderr.
(ccalloc): Ditto.
* dtable.cc (dtable::find_fifo): Remove use of atoms.
* dtable.h (dtable::find_fifo): Ditto.
* fhandler.h (fhandler_fifo): Ditto.
* fhandler_fifo.cc (fhandler_fifo::fhandler_fifo): Ditto.
(fhandler_fifo::set_use): Ditto.
(fhandler_fifo::open_not_mine): Ditto.
(fhandler_fifo::open): Ditto.
* pinfo.cc (_pinfo::commune_recv): Ditto.
(_pinfo::commune_send): Ditto.
Diffstat (limited to 'winsup/cygwin/dtable.cc')
-rw-r--r-- | winsup/cygwin/dtable.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/dtable.cc b/winsup/cygwin/dtable.cc index 2479373..d3377e7 100644 --- a/winsup/cygwin/dtable.cc +++ b/winsup/cygwin/dtable.cc @@ -554,13 +554,13 @@ done: } fhandler_fifo * -dtable::find_fifo (ATOM hill) +dtable::find_fifo (const char *path) { lock (); for (unsigned i = 0; i < size; i++) { fhandler_base *fh = fds[i]; - if (fh && fh->isfifo () && ((fhandler_fifo *) fh)->get_atom () == hill) + if (fh && fh->isfifo () && strcmp (path, fh->get_win32_name ()) == 0) return (fhandler_fifo *) fh; } return NULL; |