<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/lib/strftime.c, branch v5.91</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://git.shady.money/coreutils/atom?h=v5.91</id>
<link rel='self' href='https://git.shady.money/coreutils/atom?h=v5.91'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/'/>
<updated>2005-09-16T07:31:29Z</updated>
<entry>
<title>[FPRINTFTIME] (fprintftime): Provide a new interface:</title>
<updated>2005-09-16T07:31:29Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2005-09-16T07:31:29Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=0277ce3913951f49412ffabb09ed7ea1dc44a1a9'/>
<id>urn:sha1:0277ce3913951f49412ffabb09ed7ea1dc44a1a9</id>
<content type='text'>
size_t fprintftime (FILE *fp, char const *fmt, struct tm const *tm,
		    int utc, int nanoseconds);
Background:
date should not have to allocate a megabyte of virtual memory to
handle a format argument like +%1048575T.  When implemented with
strftime, it must allocate such a buffer, use strftime to fill it
in, print it, then free it.

With fprintftime, it simply prints everything and exits.
With no need for memory allocation, that's one fewer way to fail.
</content>
</entry>
<entry>
<title>(my_strftime): Rewrite the previous change slightly,</title>
<updated>2005-09-15T18:47:56Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2005-09-15T18:47:56Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=a08b44ea30bc57997d89ccd3d0de1850f1e25aca'/>
<id>urn:sha1:a08b44ea30bc57997d89ccd3d0de1850f1e25aca</id>
<content type='text'>
to make it a bit faster and (I hope) clearer.
</content>
</entry>
<entry>
<title>(my_strftime): Be sure to use L_('x') for literals.</title>
<updated>2005-09-14T16:10:38Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2005-09-14T16:10:38Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=cc4800dd1b02fb20f752da11af2bcdcbbf9a0c97'/>
<id>urn:sha1:cc4800dd1b02fb20f752da11af2bcdcbbf9a0c97</id>
<content type='text'>
</content>
</entry>
<entry>
<title>(my_strftime): Parse the colons of %:::z *after* the</title>
<updated>2005-09-14T10:02:54Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2005-09-14T10:02:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=ad9820269082f287e6c432550e96b9ddfbfb1f21'/>
<id>urn:sha1:ad9820269082f287e6c432550e96b9ddfbfb1f21</id>
<content type='text'>
optional field width, not before, so we accept %9:z, not %:9z.
</content>
</entry>
<entry>
<title>(my_strftime): Fix typo in octal number introduced in last change.</title>
<updated>2005-09-14T06:58:08Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2005-09-14T06:58:08Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=33b49b7cac2441b93d4cfddf301f8bf2f134c237'/>
<id>urn:sha1:33b49b7cac2441b93d4cfddf301f8bf2f134c237</id>
<content type='text'>
</content>
</entry>
<entry>
<title>(my_strftime): Add support for %:z, %::z, %:::z.</title>
<updated>2005-09-13T22:08:18Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2005-09-13T22:08:18Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=7846768c6c727afaee4ed22d4ab4fb43d3030cae'/>
<id>urn:sha1:7846768c6c727afaee4ed22d4ab4fb43d3030cae</id>
<content type='text'>
Fix bug in formats like %2N.
</content>
</entry>
<entry>
<title>Make the %s format (seconds since the epoch) work for a negative</title>
<updated>2005-08-17T19:55:52Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2005-08-17T19:55:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=cb3da21f16309f23b7c2a6010b85e7c6d00ef489'/>
<id>urn:sha1:cb3da21f16309f23b7c2a6010b85e7c6d00ef489</id>
<content type='text'>
number and when used with a zero-padded field width, e.g. %015s.

(my_strftime): Move the `do_number_sign_and_padding'
label so that it precedes the code to set `digits'.  Otherwise,
%0Ns wouldn't work.  Before this change, `date -d @-22 +%05s' would
print `00-22'.  Now, it prints `-0022', as it should.
</content>
</entry>
<entry>
<title>(my_strftime) [! defined _LIBC &amp;&amp; ! HAVE_RUN_TZSET_TEST]:</title>
<updated>2005-07-04T05:06:44Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2005-07-04T05:06:44Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=d96382a5e91187ccfed6468f8cd206b29de943de'/>
<id>urn:sha1:d96382a5e91187ccfed6468f8cd206b29de943de</id>
<content type='text'>
Copy the input structure, to work around some of the bug with
Solaris 2.5.1 and Solaris 2.6.
</content>
</entry>
<entry>
<title>Update FSF postal mail address.</title>
<updated>2005-05-14T07:58:06Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2005-05-14T07:58:06Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=116e6fb2443d140959ea042865cd67b95aab3c47'/>
<id>urn:sha1:116e6fb2443d140959ea042865cd67b95aab3c47</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Propagate intprops.h comment fixes to mktime.c and strftime.c.</title>
<updated>2005-03-26T18:08:24Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2005-03-26T18:08:24Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=5bb064a2615010ba9a787983739220705f892795'/>
<id>urn:sha1:5bb064a2615010ba9a787983739220705f892795</id>
<content type='text'>
</content>
</entry>
</feed>
