Re: [lxc-devel] [PATCH 04/24] Support both getline and fgetln

2013-01-09 Thread Stéphane Graber
On 01/08/2013 01:03 PM, Serge Hallyn wrote: > Quoting Stéphane Graber (stgra...@ubuntu.com): >> Some libc implementations don't have the getline function but instead >> have an equivalent fgetln function. >> >> Add code to detect both and use whatever is available. >> >> Signed-off-by: Stéphane Gra

Re: [lxc-devel] [PATCH 04/24] Support both getline and fgetln

2013-01-08 Thread Serge Hallyn
Quoting Stéphane Graber (stgra...@ubuntu.com): > Some libc implementations don't have the getline function but instead > have an equivalent fgetln function. > > Add code to detect both and use whatever is available. > > Signed-off-by: Stéphane Graber My only concern here is that you switch on I