diff options
author | dwmalone <dwmalone@FreeBSD.org> | 2006-04-17 18:35:58 +0000 |
---|---|---|
committer | dwmalone <dwmalone@FreeBSD.org> | 2006-04-17 18:35:58 +0000 |
commit | 665da7e9a1a510644a3e2cac5be242002d0a20a9 (patch) | |
tree | c6feecdb4fb2b7f40a4df9fecf1e2178c94ec43c /usr.sbin/inetd/Makefile | |
parent | d535a5cb818e93fdb882b2748621d7367c013113 (diff) | |
download | FreeBSD-src-665da7e9a1a510644a3e2cac5be242002d0a20a9.zip FreeBSD-src-665da7e9a1a510644a3e2cac5be242002d0a20a9.tar.gz |
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@whois.gts.net>
MFC after: 2 weeks
Diffstat (limited to 'usr.sbin/inetd/Makefile')
-rw-r--r-- | usr.sbin/inetd/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/inetd/Makefile b/usr.sbin/inetd/Makefile index afe4c51..7e554a6 100644 --- a/usr.sbin/inetd/Makefile +++ b/usr.sbin/inetd/Makefile @@ -7,7 +7,7 @@ MLINKS= inetd.8 inetd.conf.5 SRCS= inetd.c builtins.c WARNS?= 2 -CFLAGS+= -DLOGIN_CAP +CFLAGS+= -DLOGIN_CAP -fno-builtin #CFLAGS+= -DSANITY_CHECK DPADD= ${LIBUTIL} ${LIBWRAP} |