Re: Patch for broken xbind in ping.c [busybox 1.6.1]

2007-08-12 Thread Denys Vlasenko
On Saturday 11 August 2007 09:59, Nico Erfurth wrote: Hi, networking/ping.c seems to be broken for some time now. When used with the -I option, it tries to bind to the address in lsa, instead of source_lsa. Well, this won't work unless you ping your own machine. ;) Appended is a patch to

Re: [PATCH] - httpd: support for kernel sendfile() call

2007-08-12 Thread Denys Vlasenko
On Friday 10 August 2007 20:41, Pierre Métras wrote: Hi, Here is a small patch to enable the use of the linux kernel function sendfile() in the httpd server (the last remaining TODO in network/httpd.c). This is enabled by a configuration option, disabled by default. It's not totally

Re: Rewritten autoconf and build directory

2007-08-12 Thread Denys Vlasenko
On Thursday 09 August 2007 18:42, Mats Erik Andersson wrote: Hello all, I stumbled on a possible issue with today's svn edition of Busybox. There was no problem whatsoever to build Busybox 1.6.1 fresh out of the box into a separate build directory, but when I tried the same with svn trunk

Re: [PATCH] httpd - User defined error pages

2007-08-12 Thread Denys Vlasenko
On Friday 10 August 2007 20:42, Pierre Métras wrote: Here is the third revision of my patch to add support for user defined error pages in httpd. I've integrated most of the comments from Denis Vlasenko, but one. During development, I was surprised to get a larger executable. The parse_conf()

Re: [PATCH] Fix syslogd circular log buffer: head pointer not moved forward

2007-08-12 Thread Denys Vlasenko
On Thursday 09 August 2007 21:04, Jari Takkala wrote: Hello, The following patch fixes the circular log buffer in syslogd. Currently the head pointer is never moved forward. The 'logread' command will always read from the beginning of the buffer, even if the log buffer wraps. The head

[PATCH] new expand / unexpand applets

2007-08-12 Thread Tito
Hi to all, this patch adds 2 new applets to coreutils: expand and unexpand They are turned off by default and can be turned on independently. There are also some tests added to the testsuite to ensure that they work like their GNU counterparts. The applets are tested but more testing by the

Re: [PATCH] - httpd: support for kernel sendfile() call

2007-08-12 Thread Eric Lammerts
Denys Vlasenko wrote: + off_t offset = 0; + sendfile(fd, f, offset, f_stat.st_size); What will happen if f_stat.st_size INT_MAX (2 gb) ? If busybox was compiled with large file support, both off_t and f_stat.st_size should be 64-bit, no? And if busybox was