src/winsup/cygwin ChangeLog heap.cc net.cc
cgf@cygwin.com
cgf@cygwin.com
Sun Aug 31 22:02:00 GMT 2003
CVSROOT: /cvs/src
Module name: src
Changes by: cgf@sourceware.org 2003-08-31 22:02:15
Modified files:
winsup/cygwin : ChangeLog heap.cc net.cc
Log message:
* net.cc (free_char_list): Delete.
(dup_addr_list): Delete.
(dup_char_list): Delete.
(free_hostent_ptr): Delete.
(free_protoent_ptr): Delete.
(free_servent_ptr): Delete.
(DWORD_round): New function.
(strlen_round): New function. Returns strlen rounded up to word size.
(dup_ent): New, generic function to duplicate a {host,proto,serv}ent structure.
(gen_ent): New macro. Generates a generic dup_{host,proto,serv}ent_ptr
function.
(cygwin_getservbyname): Remove call to free_servent_ptr, pass servent_buf to
dup_servent_ptr.
(cygwin_getservbyport): Ditto.
(cygwin_gethostbyname): Ditto for hostent.
(cygwin_gethostbyaddr): Ditto.
(cygwin_getprotobyname): Ditto for protoent.
(cygwin_getprotobynumber): Ditto.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.2027&r2=1.2028
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/heap.cc.diff?cvsroot=src&r1=1.34&r2=1.35
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/net.cc.diff?cvsroot=src&r1=1.149&r2=1.150
More information about the Cygwin-cvs
mailing list