more strftime refactoring
authorRich Felker <dalias@aerifal.cx>
Thu, 22 Aug 2013 23:27:36 +0000 (19:27 -0400)
committerRich Felker <dalias@aerifal.cx>
Thu, 22 Aug 2013 23:27:36 +0000 (19:27 -0400)
commit45849d3dcb886b7dff236c3905fa3e101e85ed71
tree859503e28f64fe0ccd8367d429736462700d0218
parentf5e4efc4bd1e11e5bb542d4124ab8ce4d4424c47
more strftime refactoring

make __strftime_fmt_1 return a string (possibly in the caller-provided
temp buffer) rather than writing into the output buffer. this approach
makes more sense when padding to a minimum field width might be
required, and it's also closer to what wcsftime wants.
src/time/strftime.c