Re: [Toybox] [New Toy] - Add tftpd

2013-10-26 Thread Felix Janda
Ashwini Sharma wrote: > Hi Rob, All, > > Attached is the TFTPD implementation. > Add it to hg, if you find it fine. > > Let me know for any comments/improvements. > > -Ashwini Thanks for your submission. Some comments sprinkled into the code below. Felix > /* tftpd.c - TFTP server. > * > *

Re: [Toybox] [PATCH] uptime.c: Add user count and format according to upstream

2013-10-26 Thread Rob Landley
On 10/13/2013 08:47:55 AM, Elie De Brauwer wrote: On Sun, Oct 13, 2013 at 1:14 AM, Jeroen van Rijn wrote: > I noticed the user count was missing and added this, borrowing a bit > of code from toys/posix/who.c. The original toy also omitted commas > between the load values, as compared to upstr

Re: [Toybox] [New Toy] cpio, cleaned up a little

2013-10-26 Thread Rob Landley
On 10/13/2013 12:20:35 AM, ibid...@gmail.com wrote: Here's a revised cpio. I've reduced the use of malloc(), dropped an extra function call, and -at least in theory- allowed proper handling of non-regular files. (If we have a file we can't read, we still should record it when it's of a type where

Re: [Toybox] [patch] watch cleanup

2013-10-26 Thread Rob Landley
On 10/13/2013 08:41:33 AM, Elie De Brauwer wrote: Hello Rob, all, Attached is a patch which performs some minor cleanup for watch. Applied, but I need to do vi/less/top/watch infrastructure to print out data that is: A) Incrementally produced. B) Going off the right and/or bottom edge of