CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2015/08/20 07:00:23

Modified files:
        usr.sbin/httpd : config.c httpd.c httpd.h log.c logger.c parse.y 
                         proc.c server.c server_fcgi.c server_http.c 

Log message:
Change httpd(8) to use C99-style fixed-width integers (uintN_t instead
of u_intN_t) and replace u_int with unsigned int.  Mixing both
variants is a bad style and most contributors seem to prefer this
style; it also helps us to get used to it, portability, and
standardization.

Theoretically no binary change, except one in practice: httpd.o has a
different checksum because gcc with -O2 pads/optimizes "struct
privsep" differently when using "unsigned int" instead "u_int" for the
affected members.  "u_int" is just a typedef of "unsigned int", -O0
doesn't build the difference and clang with -O2 doesn't do it either -
it is just another curiosity from gcc-land.

OK semarie@

Reply via email to