utils-std version 0.0.8 - 2025-07-25 = Highlights = == Buildsystem == - $CPPFLAGS is now supported as an addition to $CFLAGS == Fixed == - cmd/which: no lookup on slash presence - cmd/head: fix fopen leak - cmd/paste: fix fopen & mem leaks detected by gcc analyzer - cmd/paste: handle fclose error in sequential mode - cmd/printf: fix write to string literal - cmd/touch: continue instead of exiting after touching directory - cmd/ln: fix error handling of opening as directory on NetBSD == Changed == - cmd/date: add support for long options - cmd/time: switch from fork+exec to posix_spawnp - cmd/cut: add support for -z option = Full changelog = Haelwenn (lanodan) Monnier (22): Makefile: Add $(CPPFLAGS) before $(CFLAGS) cmd/date: add support for long options Use NULL instead of 0 for struct option `flag` field cmd/which: no lookup on slash presence libutils/datetime_parse: use [3] for shortnames cmd/time: switch to posix_spawnp test-cmd/tap.sh: t_cmd: write args when is empty test-cmd/ln.t -> test-cmd/ln.sh test-cmd/{rmdir,rmdir_long}.t -> test-cmd/rmdir.sh cmd/base64: remove `… || ferror` right after fin = fopen cmd/getconf: assert(buf) before fwrite(buf, …) cmd/head: fix fopen leak cmd/paste: fix fopen & mem leaks detected by gcc analyzer cmd/paste: handle fclose error in sequential mode cmd/printf: fix write to string literal cmd/strings: strictly check for negative fd configure.d/getopt_long.c: also test `optional_argument` cmd/date: toss out comment on config.h include cmd/shuf: update usage cmd/touch: continue instead of exiting after touching directory cmd/cut: add support for -z option cmd/ln: fix error handling of opening as directory on NetBSD