[PATCH v2] less: improvements to verbose status messages

Denys Vlasenko vda.linux at googlemail.com
Tue Jul 21 20:29:45 UTC 2015


Applied, thanks!

I added code to only do a reading pass if the file is a regular file:

think about "less /dev/SOMETHING".


On Tue, Jul 21, 2015 at 5:18 PM, Ron Yorston <rmy at pobox.com> wrote:
> walter harms wrote:
>>> +            while ((len=safe_read(fd, buf, 4096)) > 0) {
>>
>>sorry for being late of that ..
>>with sizeof(buf) instead of 4096 you can modify buf[] only ...
>
> Noted, thank you.
>
> I really should get into the habit of doing that.
>
> Ron
> _______________________________________________
> busybox mailing list
> busybox at busybox.net
> http://lists.busybox.net/mailman/listinfo/busybox


More information about the busybox mailing list