Nieminen Mika wrote:
> Why?
> It should be very easy to parse a string literal without length limitations
> (compilers do). Just count the number of characters, allocate that amount
Probably because nobody wanted to write such a function,
ANSI libc.a does not contain one, and POV was written in a
time before GNU hackers told that all limits are evil.
AFAIK glibc has an extension (getline) which does the job.
Ralf
Post a reply to this message
|