Hi, On Sun, Dec 25, 2016 at 08:58:23PM +0800, Antonio Quartulli wrote: > What is the general rule then? cron2 explained me on IRC that in the past > some C > programs would crash when trying to print NULL, but it should not be > the case anymore (at least on Linux).
As mentioned occasionally, we run on more than Linux. So this is only
safe if all supported platforms can handle
printf( "%s\n", NULL );
correctly - Solaris, all the BSDs, MacOS, Windows(!), AIX.
"It works on Linux" is good, but this is a "boolean and" condition - it
needs to work on *all* supported platforms.
I'm not generally opposed to modernizing the code, but the onus of
recherching whether such a change is safe is on the proposer.
gert
--
USENET is *not* the non-clickable part of WWW!
//www.muc.de/~gert/
Gert Doering - Munich, Germany [email protected]
fax: +49-89-35655025 [email protected]
signature.asc
Description: PGP signature
------------------------------------------------------------------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today.http://sdm.link/intel
_______________________________________________ Openvpn-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openvpn-devel
