mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-28 19:52:44 +00:00
02da3f2280
struct passwd. This is not the case when sizeof(unsigned long) != sizeof(time_t). Write a dinky function to do the assignment instead of relying on the punning. This does slow things down a little (1 extra function call, 11 pointer or int assignments), but is much safer and machines have been fast enough since the mid 1990s that nobody will notice the difference. time_t is a 64-bits int on arm and mips. Before this change, arm was silently broken. I guess there aren't that many ARM machines running master YP domain servers. :) The client side doesn't assume this type punning, so it doesn't need to be fixed. |
||
---|---|---|
.. | ||
Makefile | ||
rpc.yppasswdd.8 | ||
yppasswd_private.x | ||
yppasswdd_extern.h | ||
yppasswdd_main.c | ||
yppasswdd_server.c | ||
yppwupdate |