> > > Any line longer than 1024 characters will be truncated to 1024.
> > >
> > > If it is not considered as a bug, please document it.
> >
> > Where do you get this number from?
> >
>
> The qf_get_next_file_line() function uses the IObuff buffer with size IOSIZE
> to read a line from a file. As IOSIZE is 1024, this function will truncate
> the line if it has more than 1024 characters.
But then this follows:
// The current line exceeds IObuff, continue reading using
// growbuf until EOL or LINE_MAXLEN bytes is read.
Actually looks complicated, we could just allocate a buffer of size
LINE_MAXLEN, since it's just 4Kbyte.
--
Now it is such a bizarrely improbable coincidence that anything as
mind-bogglingly useful as the Babel fish could have evolved purely by chance
that some thinkers have chosen to see it as a final and clinching proof of the
NON-existence of God.
The argument goes something like this: 'I refuse to prove that I exist,' says
God, 'for proof denies faith, and without faith I am nothing.'
'But,' says Man, 'the Babel fish is a dead giveaway, isn't it? It could not
have evolved by chance. It proves you exist, and so therefore, by your own
arguments, you don't. QED.'
'Oh dear,' says God, 'I hadn't thought of that,' and promptly vanishes in a
puff of logic.
'Oh, that was easy,' says Man, and for an encore goes on to prove that black
is white and gets himself killed on the next pedestrian crossing.
-- Douglas Adams, "The Hitchhiker's Guide to the Galaxy"
—
You are receiving this because you commented.