[BusyBox] Monday's sed bug.

Junio C Hamano junkio at cox.net
Tue Apr 20 01:01:03 UTC 2004


>>>>> "GM" == Glenn McGrath <bug1 at iinet.net.au> writes:

GM> /* This would ensure there are (required) bytes of unprocessed data in
GM> the buffer */
GM> fill_buffer_fd(buffer_t *buffer, const size_t required, const int
GM> src_fd);

The above is interesting but I suspect you would want to count
"required" in bytes in some cases and in lines in some other
cases.

GM> I had forgotten about patchs potential need for buffering at the time,
GM> but maybe this would be usefull for uniq and sort as well.  

If we are talking about patch, sort, and uniq maybe you would
want to count "required" in lines more often than in bytes
perhaps?




More information about the busybox mailing list