* hinfo.cc (hinfo::extend): Clean up debugging output.
This commit is contained in:
parent
f02f1f1444
commit
41f42725a2
|
@ -1,3 +1,7 @@
|
||||||
|
Wed Feb 23 21:59:44 2000 Christopher Faylor <cgf@cygnus.com>
|
||||||
|
|
||||||
|
* hinfo.cc (hinfo::extend): Clean up debugging output.
|
||||||
|
|
||||||
Wed Feb 23 21:34:58 2000 Christopher Faylor <cgf@cygnus.com>
|
Wed Feb 23 21:34:58 2000 Christopher Faylor <cgf@cygnus.com>
|
||||||
|
|
||||||
* exceptions.cc (interruptible): Change method for determining if
|
* exceptions.cc (interruptible): Change method for determining if
|
||||||
|
|
|
@ -54,8 +54,6 @@ hinfo::extend (int howmuch)
|
||||||
/* Try to allocate more space for fd table. We can't call realloc()
|
/* Try to allocate more space for fd table. We can't call realloc()
|
||||||
here to preserve old table if memory allocation fails */
|
here to preserve old table if memory allocation fails */
|
||||||
|
|
||||||
debug_printf ("here size %d", size);
|
|
||||||
|
|
||||||
if (!(newfds = (fhandler_base **) calloc (new_size, sizeof newfds[0])))
|
if (!(newfds = (fhandler_base **) calloc (new_size, sizeof newfds[0])))
|
||||||
{
|
{
|
||||||
debug_printf ("calloc failed");
|
debug_printf ("calloc failed");
|
||||||
|
@ -69,7 +67,7 @@ debug_printf ("here size %d", size);
|
||||||
|
|
||||||
size = new_size;
|
size = new_size;
|
||||||
fds = newfds;
|
fds = newfds;
|
||||||
debug_printf ("size %d, fds %d", size, fds);
|
debug_printf ("size %d, fds %p", size, fds);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue