Sorry, I missed one question in the previous email.

Bernd Edlinger <bernd.edlin...@hotmail.de> writes:

> and what is it if there is no terminal '\n' ?

In that case it's that the entire file is made of one line.  For that
case get_next_line has allocated enough space for one
byte-passed-the-end of the file, so that there is no buffer overflow
here.

-- 
                Dodji

Reply via email to