aboutsummaryrefslogtreecommitdiff
path: root/winsup
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2001-09-19 15:50:54 +0000
committerCorinna Vinschen <corinna@vinschen.de>2001-09-19 15:50:54 +0000
commit487fb5f1c4da8cf18600e84e8b317e0e42ce1bff (patch)
tree9a3a8f81216062b3a98a10438a14b06f7b5b8517 /winsup
parent18508302f9bf5706a1094190bfd4c7935fea58b0 (diff)
downloadnewlib-487fb5f1c4da8cf18600e84e8b317e0e42ce1bff.zip
newlib-487fb5f1c4da8cf18600e84e8b317e0e42ce1bff.tar.gz
newlib-487fb5f1c4da8cf18600e84e8b317e0e42ce1bff.tar.bz2
* fhandler_socket.cc (fhandler_socket::fhandler_socket): Revert
memory allocation to use cmalloc again.
Diffstat (limited to 'winsup')
-rw-r--r--winsup/cygwin/ChangeLog5
-rw-r--r--winsup/cygwin/fhandler_socket.cc2
2 files changed, 6 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 54a8c33..3bd86d1 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,8 @@
+Wed Sep 19 17:49:00 2001 Corinna Vinschen <corinna@vinschen.de>
+
+ * fhandler_socket.cc (fhandler_socket::fhandler_socket): Revert
+ memory allocation to use cmalloc again.
+
Tue Sep 18 21:04:26 2001 Christopher Faylor <cgf@cygnus.com>
* cygwin.din (__argv): Export.
diff --git a/winsup/cygwin/fhandler_socket.cc b/winsup/cygwin/fhandler_socket.cc
index 77a041c..9e019f9 100644
--- a/winsup/cygwin/fhandler_socket.cc
+++ b/winsup/cygwin/fhandler_socket.cc
@@ -45,7 +45,7 @@ fhandler_socket::fhandler_socket (const char *name) :
{
set_cb (sizeof *this);
set_need_fork_fixup ();
- prot_info_ptr = (LPWSAPROTOCOL_INFOA) ccalloc (HEAP_BUF, 1,
+ prot_info_ptr = (LPWSAPROTOCOL_INFOA) cmalloc (HEAP_BUF,
sizeof (WSAPROTOCOL_INFOA));
}