]> Savannah Git Hosting - gnulib.git/commit
nstrftime: support the ‘+’ flag
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 25 Feb 2019 07:32:07 +0000 (23:32 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 25 Feb 2019 07:32:57 +0000 (23:32 -0800)
commit188d87b05190690d6f8b0577ec65ef221a711d08
tree645f128f66221e7bcf974d195ca97da769e15f39
parent16e6d93c0beb2a6de48abd6f1e8592eb51bc6079
nstrftime: support the ‘+’ flag

* lib/nstrftime.c (add, __strftime_internal):
Add support for the ‘+’ flag introduced in POSIX.1-2017.
(__strftime_internal): New arg ‘width’.  All uses changed.
(DO_YEARISH, DO_MAYBE_SIGNED_NUMBER): New macros.
ChangeLog
lib/nstrftime.c