summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--winsup/cygwin/ChangeLog4
-rw-r--r--winsup/cygwin/dtable.cc4
2 files changed, 5 insertions, 3 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 13c22d82e..ddca9e0a8 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -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>
* exceptions.cc (interruptible): Change method for determining if
diff --git a/winsup/cygwin/dtable.cc b/winsup/cygwin/dtable.cc
index 27af8709f..d7a9ffe0f 100644
--- a/winsup/cygwin/dtable.cc
+++ b/winsup/cygwin/dtable.cc
@@ -54,8 +54,6 @@ hinfo::extend (int howmuch)
/* Try to allocate more space for fd table. We can't call realloc()
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])))
{
debug_printf ("calloc failed");
@@ -69,7 +67,7 @@ debug_printf ("here size %d", size);
size = new_size;
fds = newfds;
- debug_printf ("size %d, fds %d", size, fds);
+ debug_printf ("size %d, fds %p", size, fds);
return 1;
}