Eric Blake wrote: > According to Paolo Bonzini on 8/27/2008 6:54 AM: >> Except that getndelim2 and memchr2 are GPL, while freadptr and freadseek >> are LGPL (I assume v3+). Would it be okay to change all four to LGPLv2+? > > I'm okay with memchr2 being LGPLv2+; it does little more than memchr, > which is a basic libc function. Since freadptr and freadseek pre-date the > licensing switch, they should also be okay. The real question boils down > to whether getndelim2 is okay as LGPLv2+, or whether it represents enough > of a GNU extension to keep it GPL.
... and whether reusing its code in getdelim would still allow to make getdelim LGPLv2+. Because if it does, the same argument ("it does little more than...") applies to getndelim2. I suggest going with my original patch. Paolo