sys/socket.h problem

Steve Kenton skenton@ou.edu
Fri Sep 22 09:21:00 GMT 2000


I think there is a minor problem in sys/socket.h

The 3rd parameter to accept() is normally declared to be of type socklen_t which
ultimately
ought to cast to some unsigned type rather than signed int.  As is, gcc
complains about the
sign changing and refused to build some socket code from a previously working
package.  Changing
the definition from int to uint works around my problem, but it makes we wonder
how all of the
network application included in cygwin were built.

Steve Kenton

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com



More information about the Cygwin mailing list