This is the mail archive of the gdb-patches@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]

Re: [PATCH] sim: use socklen_t with accept()


>>>>> "Mike" == Mike Frysinger <vapier@gentoo.org> writes:

Mike> The accept() function takes a socklen_t, not an int.

I thought there were still platforms where accept took an int*.

gnulib at least implies it:

http://www.gnu.org/software/gnulib/manual/html_node/accept.html

... but doesn't mention which ones.

Given that both gdb and gdbserver check for socklen_t and typedef it if
it does not exist, I think sim ought to as well.

Tom


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