Re: [PATCH] strftime.c(__strftime): add %q, %v, tests; tweak %Z doc

Corinna Vinschen <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <Y1Z/[email protected]>
Hi Brian,

On Oct 21 23:13, Brian Inglis wrote:
> +	case CQ('v'):	/* BSD/OSX/Ruby extension VMS/Oracle date format
> +			   from Arnold Robbins strftime version 3.0 */
> +	  { /* %v is equivalent to "%e-%b-%Y", flags and width can change year
                                               ^^^^^
                                               pad?
> +	       format. Recurse to avoid need to replicate %b and %Y formation. */

Sorry for being a nag, but doesn't that introduce an incompatible
change?  The BSDs don't handle pad and width, they just call
_fmt("%e-%b-%Y", ...).  Or am I missing how the BSD function works?


Corinna
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.