From c795774c91303368f36369f7dac0d18aa25a5996 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Sun, 21 Mar 2004 17:41:40 +0000 Subject: * 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. --- winsup/cygwin/dtable.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'winsup/cygwin/dtable.cc') diff --git a/winsup/cygwin/dtable.cc b/winsup/cygwin/dtable.cc index 24793733d..d3377e74a 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; -- cgit v1.2.3