I've been "looking" in some of the
ports I have "interest" in and I
have noticed a lot of changes in
the patches directory where we are
replacing 'strcmp' instances with
'strncmp'.
e.g.,
/* Made up example of course */
- if (!strcmp(buf,"n/a"))
+ if (!strncmp(buf,"n/a",3))
Is there a real value in doing this?
I don't see it.
Can someone shed some light on this
for me please.
Tia,
--patrick
// Please don't cc: me. I'm subscribed.
__________________________________
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com