-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dan,
Please send me the patch and I'll work on getting it in. cheers, jerry On Fri, 6 Dec 2002, Dan Kegel wrote: > Here's the only use of HAVE_GETTIMEOFDAY_TZ: > > void GetTimeOfDay(struct timeval *tval) > { > #ifdef HAVE_GETTIMEOFDAY_TZ > gettimeofday(tval,NULL); > #else > gettimeofday(tval); > #endif > } > > Thus all it's trying to do is tell whether the 2nd parameter > has to be there. You can do that without a runtime check -- > unless you're trying to be sneaky and optimize away one > parameter for performance reasons. > > If the group feels that there's an important performance reason > to avoid that 2nd parameter, then sure, I can submit another > patch that keeps the current "skip the 2nd parameter if it > didn't crash the first time we called it with only 1 parameter" behavior. > > - Dan > - -- ---------------------------------------------------------------------- Hewlett-Packard ------------------------- http://www.hp.com SAMBA Team ---------------------- http://www.samba.org GnuPG Key ---- http://www.plainjoe.org/gpg_public.asc ISBN 0-672-32269-2 "SAMS Teach Yourself Samba in 24 Hours" 2ed "You can never go home again, Oatman, but I guess you can shop there." --John Cusack - "Grosse Point Blank" (1997) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (GNU/Linux) Comment: For info see http://quantumlab.net/pine_privacy_guard/ iD8DBQE9+h3EIR7qMdg1EfYRAh6cAKDvfsibGbHI9oZJbqlaTdkMfEa56QCg3yua wZWpDj/x7oM8ppKE63vbaJw= =hD85 -----END PGP SIGNATURE-----