[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Changing fgetstr/fgetln to use getdelim
Matthew Mondor wrote:
On Sun, 20 Sep 2009 16:51:05 +0100
Roy Marples <roy%marples.name@localhost> wrote:
Attached is a patch that changes libc fgetstr/fgetln to use getdelim(3).
This saves over 200 bytes on amd64 (although adding getdelim in the
process probably added more still - heh).
Just a side note: shouldn't the new copyright be added to the old one
instead of replacing it?
The rational was that I'm replacing the content of the code wholesale
instead of just adding to it. I'm not overly adverse to adding to the
Main Index |
Thread Index |