Hi Peter, > Using utimensat(2) allows us to set times in nanosecond precision. Also logic > is > simplified and code shrinked. > > function old new delta > touch_main 513 479 -34 > ------------------------------------------------------------------------------ > (add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-34) Total: -34 bytes > > Signed-off-by: Xabier Oneca <[email protected]> > --- > coreutils/touch.c | 65 +++++++++++++++++++++-------------------------- > 1 file changed, 29 insertions(+), 36 deletions(-)
Sorry if I trampled down your patch, but I had this patch prepared a while ago and didn't feel like rebasing my other patches. Indeed, yours gave me +10 bytes, so I decided to send my version too. They are very similar, tho. Yours, Xabier Oneca_,,_ _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
