]> granicus.if.org Git - strace/commit
Cleanup UTIME_NOW/UTIME_OMIT decoding
authorDmitry V. Levin <ldv@altlinux.org>
Fri, 26 Dec 2014 23:55:38 +0000 (23:55 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Sat, 27 Dec 2014 00:39:21 +0000 (00:39 +0000)
commitee21a5ba35d7ea68830f7d51b4bfb8e10c060eb9
treed3f3972b30e3dc5cd4eca2e9e910c8e9fb1146b1
parent6d5abd33ed706e097c5fa94f8822130d02dba279
Cleanup UTIME_NOW/UTIME_OMIT decoding

Move the code that's present in two copies from sprinttv()
to a new helper function.

* time.c (do_sprinttv): New function.
(sprinttv): Use it.
time.c