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

2014-06-23 Thread Xabier Oneca -- xOneca
Hello Tito, 2014-06-22 22:57 GMT+02:00 tito farmat...@tiscali.it: On Sunday 22 June 2014 22:43:16 tito wrote: Hi, sadly the applied version misbehaves with files starting with a dash: echo -test ls -la -rw-r--r-- 1 tito tito 1 Jun 22 22:24 -test ./busybox unlink -test unlink:

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

2014-06-23 Thread Denys Vlasenko
On Mon, Jun 23, 2014 at 12:10 PM, Xabier Oneca -- xOneca xon...@gmail.com wrote: be studying further the matter files starting with a dash could be successfully removed with bb's and original unlink with: echo -test unlink -- -test so eventually the patch could be dropped. Ciao, Tito

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