cvs commit: src/usr.sbin/inetd Makefile builtins.c

David Malone dwmalone at FreeBSD.org
Mon Apr 17 18:36:03 UTC 2006


dwmalone    2006-04-17 18:35:58 UTC

  FreeBSD src repository

  Modified files:
    usr.sbin/inetd       Makefile builtins.c 
  Log:
  Port 37 (RFC 738) style times are supposed to be a 32 bit time since
  1900 in network byte order. Use a uint32_t to calculate and send
  the time, so that we don't need to know how big ints or longs are.
  
  I used uint32_t instead of int in the patch, on the off chance
  someone uses our inetd source on a system that doesnt 32 bit ints.
  
  PR:             95290
  Submitted by:   Bruce Becker <hostmaster at whois.gts.net>
  MFC after:      2 weeks
  
  Revision  Changes    Path
  1.32      +1 -1      src/usr.sbin/inetd/Makefile
  1.44      +6 -6      src/usr.sbin/inetd/builtins.c


More information about the cvs-src mailing list