mirror of
https://git.savannah.gnu.org/git/tar.git
synced 2026-04-26 03:20:40 +00:00
* gnulib.modules: Add nstrftime-limited, time_rz. Sort. * src/checkpoint.c: Include <strftime.h>. (format_checkpoint_string): Use nstrftime instead of strftime. Also fix an obscure bug on platforms that lack tm_gmtoff+tm_zone by calling tzalloc on those platforms; if it fails, fall back on gmtime. Also, use fwrite instead of fprintf, since we typically know the length already and this gives us a more-accurate byte count in case there are partial writes.
1.9 KiB
1.9 KiB