This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/sim/common ChangeLog config.in configure c ...
- From: vapier at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 30 Mar 2010 23:09:49 -0000
- Subject: src/sim/common ChangeLog config.in configure c ...
CVSROOT: /cvs/src
Module name: src
Changes by: vapier@sourceware.org 2010-03-30 23:09:49
Modified files:
sim/common : ChangeLog config.in configure configure.ac
dv-sockser.c
Log message:
sim: use socklen_t with accept()
The accept() function takes a socklen_t, not an int. Using an int causes:
dv-sockser.c: In function 'connected_p':
dv-sockser.c:273: warning: pointer targets in passing argument 3
of 'accept' differ in signedness
So use the same socklen_t detection code as gdb and convert the accept().
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/common/ChangeLog.diff?cvsroot=src&r1=1.203&r2=1.204
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/common/config.in.diff?cvsroot=src&r1=1.8&r2=1.9
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/common/configure.diff?cvsroot=src&r1=1.19&r2=1.20
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/common/configure.ac.diff?cvsroot=src&r1=1.4&r2=1.5
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/common/dv-sockser.c.diff?cvsroot=src&r1=1.7&r2=1.8