This is the mail archive of the gdb-cvs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]