Re: [PATCH] Add coreutils/unlink.c

2014-06-22 Thread tito
On Saturday 21 June 2014 23:01:10 Isaac Dunham wrote: Here's an implementation of the unlink command. Adds 252 bytes when enabled; a fair part is the error messages and text. If you would rather shrink those, I don't object. I wrote this because (a) it's POSIX and (b) I occasionally use

Re: [PATCH 1/2] find: use sysconf(_SC_ARG_MAX) to determine the command-line size limit

2014-06-22 Thread Denys Vlasenko
On Thursday 19 June 2014 22:42, Bartosz Golaszewski wrote: The find utility uses a hardcoded value of 32 * 1024 as the limit of the command-line length when calling 'find -exec ... {} +'. This results in over 4 times more execve() calls than in coreutils' find. This patch proposes to use the

Re: [PATCH 2/2] Use a wrapper around sysconf(_SC_CLK_TCK) to save a few bytes

2014-06-22 Thread Denys Vlasenko
On Thursday 19 June 2014 22:42, Bartosz Golaszewski wrote: function old new delta bb_sc_clk_tck - 10 +10 timescmd 118 113 -5 print_route

[PATCH] [v2] Add coreutils/unlink.c

2014-06-22 Thread Isaac Dunham
Attaching a revised patch, based on Tito's suggestions. On Sun, Jun 22, 2014 at 08:11:25AM +0200, tito wrote: On Saturday 21 June 2014 23:01:10 Isaac Dunham wrote: Here's an implementation of the unlink command. Adds 252 bytes when enabled; a fair part is the error messages and text.

Re: DHCPv4-o-DHCPv6 with udhcp client

2014-06-22 Thread Leonardo Jelenkovic
On 16 June 2014 02:15, Denys Vlasenko vda.li...@googlemail.com wrote: [cut] I propose renaming FEATURE_DHCP4o6C to FEATURE_DHCP4_OVER6 as a bit more readable. Maybe FEATURE_DHCP4_OVER_DHCP6 ? A bit long but descriptive. You are adding another static void *d6_find_option(...) in dhcp4o6.c.

Re: [PATCH] [v2] Add coreutils/unlink.c

2014-06-22 Thread Denys Vlasenko
On Sunday 22 June 2014 16:45, Isaac Dunham wrote: Attaching a revised patch, based on Tito's suggestions. On Sun, Jun 22, 2014 at 08:11:25AM +0200, tito wrote: On Saturday 21 June 2014 23:01:10 Isaac Dunham wrote: Here's an implementation of the unlink command. Adds 252 bytes when

Re: [PATCH] bug in coreutils/unlink.c

2014-06-22 Thread tito
On Sunday 22 June 2014 20:44:48 Denys Vlasenko wrote: On Sunday 22 June 2014 16:45, Isaac Dunham wrote: Attaching a revised patch, based on Tito's suggestions. On Sun, Jun 22, 2014 at 08:11:25AM +0200, tito wrote: On Saturday 21 June 2014 23:01:10 Isaac Dunham wrote: Here's an

Re: [PATCH] bug in coreutils/unlink.c

2014-06-22 Thread tito
On Sunday 22 June 2014 22:43:16 tito wrote: On Sunday 22 June 2014 20:44:48 Denys Vlasenko wrote: On Sunday 22 June 2014 16:45, Isaac Dunham wrote: Attaching a revised patch, based on Tito's suggestions. On Sun, Jun 22, 2014 at 08:11:25AM +0200, tito wrote: On Saturday 21 June