sbase/libutil
Michael Forney 1d28fbd6cf mv, cp: Preserve nanosecond timestamps
Otherwise, we run into problems in a typical autoconf-based build
system:

  - config.status is created at some point between two seconds.
  - config.status is run, generating Makefile by first writing to a file
    in /tmp, and then mv-ing it to Makefile.
  - If this mv happens before the beginning of the next second, Makefile
    will be created with the same tv_sec as config.status, but with
    tv_nsec = 0.
  - When make runs, it sees that Makefile is older than config.status,
    and re-runs config.status to generate Makefile.
2015-05-16 13:34:00 +01:00
..
concat.c Add *fshut() functions to properly flush file streams 2015-04-05 09:13:56 +01:00
cp.c mv, cp: Preserve nanosecond timestamps 2015-05-16 13:34:00 +01:00
crypt.c Handle '-' consistently 2015-05-16 13:34:00 +01:00
ealloc.c add estrndup 2015-02-11 01:17:21 +00:00
enmasse.c Remove apathmax() and implicitly agetcwd() 2015-03-18 15:20:35 +01:00
eprintf.c Remove DEBUG-define for eprintf.c 2015-04-05 09:13:56 +01:00
eregcomp.c Rename util/ to libutil/ 2014-11-17 16:48:34 +00:00
estrtod.c Rename util/ to libutil/ 2014-11-17 16:48:34 +00:00
fnck.c Refactor enmasse() and recurse() to reflect depth 2015-03-02 22:50:38 +01:00
fshut.c Add LICENSE header to fshut.c 2015-04-20 18:04:08 +01:00
getlines.c libutil/getlines: fix potential crash 2015-05-08 16:38:06 +01:00
human.c Use off_t in humansize() as it is more descriptive and applicable 2015-04-29 16:42:49 +01:00
md5.c Rename util/ to libutil/ 2014-11-17 16:48:34 +00:00
mkdirp.c Move mkdirp() to libutil 2015-04-20 18:04:08 +01:00
mode.c Rename util/ to libutil/ 2014-11-17 16:48:34 +00:00
putword.c Actually print <space> to stream in putword() too 2015-04-21 18:00:47 +01:00
reallocarray.c Implement mallocarray() 2015-03-10 22:19:19 +01:00
recurse.c Add SILENT flag to recurse() 2015-04-20 11:12:40 +01:00
rm.c Add SILENT flag to recurse() 2015-04-20 11:12:40 +01:00
sha1.c Rename util/ to libutil/ 2014-11-17 16:48:34 +00:00
sha256.c Rename util/ to libutil/ 2014-11-17 16:48:34 +00:00
sha512.c Rename util/ to libutil/ 2014-11-17 16:48:34 +00:00
strcasestr.c Argh - include strings.h 2014-11-21 00:03:30 +00:00
strlcat.c Add estrlcat() and estrlcpy() 2015-03-17 11:24:49 +01:00
strlcpy.c Add estrlcat() and estrlcpy() 2015-03-17 11:24:49 +01:00
strsep.c Import strsep() from musl libc 2015-01-25 17:48:11 +00:00
strtonum.c Use strtonum and libutf in test(1), refactor code and manpage 2015-02-09 22:21:23 +01:00
unescape.c Add \e, \", \' and hex-escapes (\xH[H]) to unescape() 2015-02-14 22:55:37 +01:00