|
Posted by Jerry Stuckle on 11/18/64 11:42
Mladen Gogala wrote:
> On Mon, 13 Mar 2006 23:17:22 -0500, Jerry Stuckle wrote:
>
>
>>And this will fail if the ship date spans a 1024 byte block.
>
>
> Which it doesn't. I looked at the page. In this case, it doesn't
> matter, but I am reluctant to use fscanf("%s\n") as it may result
> in buffer overrun. It's a habit acquired by programming in C.
>
It doesn't *currently*. This is exactly the type of thinking which will
come back to bite you eventually. Suddenly it fails - "But I didn't
change anything...". And you didn't. But someone else did.
And trying to find the problem two years (or even two months) from now
could be *very* difficult.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|