Simon Josefsson [EMAIL PROTECTED] writes:
1) Port the libc LGPL getdelim into a gnulib module.
2a) Port the libc LGPL getline into a gnulib module.
2b) Write a gnulib LGPL getline module that use the gnulib LGPL getdelim.
3) Keep the current getndelim2 as a GPL module.
The libc getline seem
This is a rough start, to let you see my thinking. If this is OK,
I'll write ChangeLog entries for it. The getdelim in glibc appear to
suffer from a missing overflow check in the realloc call, but I may be
mistaken. I fixed that while porting the code below.
1. There are separate modules for