On Sun, Jun 8, 2008 at 12:58 PM, Bill Cunningham <[EMAIL PROTECTED]> wrote:

>   You have to watch for buffer overflow though. I wouldn't use gets()
> that's why I used fgets redirected to stdin.

Absolutely correct. Even the Unix man page for gets says to never use it.

-- Brett
------------------------------------------------------------
"In the rhythm of music a secret is hidden;
 If I were to divulge it, it would overturn the world."
 -- Jelaleddin Rumi

Reply via email to