bug-inetutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-inetutils] Re: ftp: command processing


From: Simon Josefsson
Subject: [bug-inetutils] Re: ftp: command processing
Date: Wed, 15 Aug 2007 12:13:25 +0200
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1 (gnu/linux)

"Debarshi 'Rishi' Ray" <address@hidden> writes:

> 1. Use of MAXLINE instead of sizeof (char) while comparing string
> lengths and in fgets, and using sizeof (char) in realloc to avoid
> assuming single-byte characters.

Have you considered using getline instead of fgets?

/Simon




reply via email to

[Prev in Thread] Current Thread [Next in Thread]