[PLUG] PHP verses JSP and servlets...
Elliott Mitchell
ehem at m5p.com
Wed Feb 1 22:49:50 UTC 2006
>From: Steve Beattie <sbeattie at suse.de>
> C is another prime example -- it's possible to write non-stupid code in
> C, but the original string library functions made it very easy to make
> mistakes (strcpy et al). Even some of the replacement functions are
> not that well thought out, people have gotten the length args wrong in
> strncpy and it's lack of null termination when truncating is unhelpful.
There are some replacements for those replacements now. OpenBSD fixed
that and made the strl*() group, trying to make length consistant and
guarenteeing termination. Both FreeBSD and SunOS have picked them up,
unfortunately as of 2.3.2, glibc hadn't picked them up. :-(
--
(\___(\___(\______ --=> 8-) EHM <=-- ______/)___/)___/)
\BS ( | EHeM at gremlin.m5p.com PGP 8881EF59 | ) /
\_CS\ | _____ -O #include <stddisclaimer.h> O- _____ | / _/
\___\_|_/82 04 A1 3C C7 B1 37 2A*E3 6E 84 DA 97 4C 40 E6\_|_/___/
More information about the PLUG
mailing list