* 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.
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user