Savannah bug #23065 -- -daystart measures from start of tomorrow

2010-04-20 Thread rre...@iol.it
Hi, Excuse me if I resend my patch, but maybe it got lost?... In my opinion, -daystart should have effect on -{a,c,m}time only. Is it correct? Roberto Reale rre...@iol.it diff -Naur findutils/find/parser.c findutils-new/find/parser.c --- findutils/find/parser.c 2010-04-12 16:59

Savannah bug #23065 -- -daystart measures from start of tomorrow

2010-04-12 Thread rre...@iol.it
Hi, I've tried to fix the bug referenced to at https://savannah.gnu.org/bugs/?23065. In my opinion, -daystart should have effect on -{a,c,m}time only. Of course, if my solution is correct, the man and info pages have to be updated as well. Roberto Reale rre...@iol.it diff -Naur find

Possible bug in find/parser.c

2010-04-09 Thread rre...@iol.it
Hi, there seems to be a bug in the function parse_samefile() in find/parser.c... if I am not mistaken, after the call to collect_arg_stat_info(), argv[*arg_ptr] becomes NULL. I enclose a little patch to fix this problem. Roberto Reale rre...@iol.it --- findutils/find/parser.c 2010-04-05 13:18

Re: Patch that adds a new test to find

2010-04-08 Thread rre...@iol.it
> [it's customary to reply inline, rather than top-posting, on technical > lists] Please excuse me, and thank you for the remark. > One other thing that you need to be aware of - your patch is large > enough that we cannot incorporate any of it into findutils unless you > first assign copyright t

Re: Patch that adds a new test to find

2010-04-08 Thread rre...@iol.it
> Another suggestion for efficiency is to open the file in > parse_samefile (and fstat the file descriptor to figure out if it is a > regular file) and keep the reference file open from then on. > I have tried to follow most of your suggestions. Please excuse me for not adding error checks in th

Re: Patch that adds a new test to find

2010-04-05 Thread rre...@iol.it
piece of software as findutils is... and moreover I would be glad to bring some little collaboration to the GNU project. As to the documentation and the regression tests, I have not yet worked on them, but surely will in the next days. Thank you again, Roberto Reale rre...@iol.it

Patch that adds a new test to find

2010-04-04 Thread rre...@iol.it
nt except that there is no need for find to fork a new process for every file to check. I have implemented the feature by incorporating code from GNU cmp. Of course, my patch is still in an experimental state, hence I would greatly appreciate any suggestions or help. Thanks in advance, Roberto