gnet r422 - in trunk: . src
- From: tpm svn gnome org
- To: svn-commits-list gnome org
- Subject: gnet r422 - in trunk: . src
- Date: Thu, 1 Feb 2007 15:59:37 +0000 (GMT)
Author: tpm
Date: 2007-02-01 15:59:36 +0000 (Thu, 01 Feb 2007)
New Revision: 422
ViewCVS link: http://svn.gnome.org/viewcvs/gnet?rev=422&view=rev
Modified:
trunk/ChangeLog
trunk/NEWS
trunk/src/unix.c
Log:
Based on patch by: Zeeshan Ali <zeenix at gmail.com>
* NEWS:
* src/unix.c: (gnet_unix_socket_new), (gnet_unix_socket_server_new):
Pass SUN_LEN (struct sockaddr_un) as size parameter to bind() and
connect() rather than just sizeof (struct sockaddr_un); apparently
this matters in some environments (yay for great APIs; also yay for
wrong man pages). Fixes #403197.
Also do a bunch of small clean-ups, and don't leak memory/sockets
in some failure cases.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]