[patch] sed replace bb_get_chunk_from_file

Rich Felker dalias at aerifal.cx
Wed May 17 08:24:27 PDT 2006


On Wed, May 17, 2006 at 10:07:42AM +0200, walter harms wrote:
> hi list,
> this patch replaces bb_get_chunk_from_file() with getline() that is part 
> of glibc. I did some simple tests and found no problems.

It's part of glibc!! Not standard. Please make this conditional on a
configured option. Also see the patch I sent a while back that fixes
the massive slowness in this function by using fgets, which is
portable.

Rich



More information about the busybox mailing list