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

2013-01-03 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 Acked-by: Serge E. Hallyn > --- > configu

[lxc-devel] [PATCH 04/21] Support both getline and fgetln

2013-01-03 Thread Stéphane Graber
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 --- configure.ac | 3 +++ src/lxc/attach.c | 5 + src/lxc/parse.c | 5 + 3 files changed,