[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] use unlocked io in getdelim
From: |
Paolo Bonzini |
Subject: |
Re: [PATCH] use unlocked io in getdelim |
Date: |
Wed, 27 Aug 2008 14:54:30 +0200 |
User-agent: |
Thunderbird 2.0.0.16 (Macintosh/20080707) |
>> Sounds interesting. How does this compare with the current approach used
>> by getndelim2, which uses freadptr to avoid getc?
>
> I guess there's also this other possibility.
>
> lib/getdelim.c | 107 ++---------------------------------------------
> m4/getdelim.m4 | 10 -----
> modules/getdelim | 4 --
> 3 files changed, 6 insertions(+), 115 deletions(-)
>
> The number of deletions makes it yummy...
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+?
Of course in the short term, for sed, I could just use getndelim2.
Paolo
- [PATCH] use unlocked io in getdelim, Paolo Bonzini, 2008/08/27
- Re: [PATCH] use unlocked io in getdelim, Eric Blake, 2008/08/27
- Re: [PATCH] use unlocked io in getdelim, Paolo Bonzini, 2008/08/27
- Re: [PATCH] use unlocked io in getdelim, Paolo Bonzini, 2008/08/27
- Re: [PATCH] use unlocked io in getdelim,
Paolo Bonzini <=
- Re: [PATCH] use unlocked io in getdelim, Eric Blake, 2008/08/27
- Re: [PATCH] use unlocked io in getdelim, Paolo Bonzini, 2008/08/27
- Re: [PATCH] use unlocked io in getdelim, Jim Meyering, 2008/08/28
- Re: getndelim2 license, Bruno Haible, 2008/08/28
- Re: getndelim2 license, Paolo Bonzini, 2008/08/29
- Re: getndelim2 license, Jim Meyering, 2008/08/29
- Re: [PATCH] use unlocked io in getdelim, Simon Josefsson, 2008/08/27
- Re: [PATCH] use unlocked io in getdelim, Paolo Bonzini, 2008/08/27
- Re: [PATCH] use unlocked io in getdelim, Simon Josefsson, 2008/08/27
- Re: [PATCH] use unlocked io in getdelim, Paolo Bonzini, 2008/08/27