<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libc/stdtime/timelocal.c, branch release/4.6.0</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>MFC: sync with -CURRENT's stdtime code</title>
<updated>2002-03-12T17:24:54+00:00</updated>
<author>
<name>Alexey Zelkin</name>
<email>phantom@FreeBSD.org</email>
</author>
<published>2002-03-12T17:24:54+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=beb648e82be6e8579ce0eb81e53842d0e9ed5542'/>
<id>beb648e82be6e8579ce0eb81e53842d0e9ed5542</id>
<content type='text'>
This MFC brings to -STABLE following changes/features:

. get rid of non-standard %E[Ff] formats
. add %F per POSIX
. add %r per POSIX (ampm_fmt)
. hardcode c_fmt in a different way since used in nl_langinfo now
. make '%A' and '%a', '%B' and '%b' same per POSIX
. introduce non-standard md_order (month/day order locale field).
  This field is available to user-land apps via nl_langinfo(3)
  and supposed to replace all usages of %E[Ff] in more correct way.
. allow POSIX legal data on 3 chars abbrev, name length
  and %c format

WARNING: please beware about this commit. It can trigger some
hidden or implicit problems with locale/time specific functions or
related/dependent stuff in userland applications. Please report
anything unusual!

Following files/revisions were MFCed:

	Makefile.inc	1.11
	strftime.3	1.25, 1.26
	strftime.c	1.29, 1.30, 1.32 - 1.34
	strptime.c	1.20 - 1.25
	timelocal.c	1.12 - 1.22
	timelocal.h	1.7 - 1.11
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This MFC brings to -STABLE following changes/features:

. get rid of non-standard %E[Ff] formats
. add %F per POSIX
. add %r per POSIX (ampm_fmt)
. hardcode c_fmt in a different way since used in nl_langinfo now
. make '%A' and '%a', '%B' and '%b' same per POSIX
. introduce non-standard md_order (month/day order locale field).
  This field is available to user-land apps via nl_langinfo(3)
  and supposed to replace all usages of %E[Ff] in more correct way.
. allow POSIX legal data on 3 chars abbrev, name length
  and %c format

WARNING: please beware about this commit. It can trigger some
hidden or implicit problems with locale/time specific functions or
related/dependent stuff in userland applications. Please report
anything unusual!

Following files/revisions were MFCed:

	Makefile.inc	1.11
	strftime.3	1.25, 1.26
	strftime.c	1.29, 1.30, 1.32 - 1.34
	strptime.c	1.20 - 1.25
	timelocal.c	1.12 - 1.22
	timelocal.h	1.7 - 1.11
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC: c_fmt as compatibility placeholder</title>
<updated>2000-10-26T16:21:35+00:00</updated>
<author>
<name>Andrey A. Chernov</name>
<email>ache@FreeBSD.org</email>
</author>
<published>2000-10-26T16:21:35+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=7f2af2d612a9886b9f5435a59b1c6f5750ba83c0'/>
<id>7f2af2d612a9886b9f5435a59b1c6f5750ba83c0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC: alt_month assigning</title>
<updated>2000-06-29T17:24:37+00:00</updated>
<author>
<name>Andrey A. Chernov</name>
<email>ache@FreeBSD.org</email>
</author>
<published>2000-06-29T17:24:37+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=6f02358d0c6e4d061017216b928c3cb587d67e96'/>
<id>6f02358d0c6e4d061017216b928c3cb587d67e96</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Simplify sytem call renaming.  Instead of _foo() &lt;-- _libc_foo &lt;-- foo(),</title>
<updated>2000-01-27T23:07:25+00:00</updated>
<author>
<name>Jason Evans</name>
<email>jasone@FreeBSD.org</email>
</author>
<published>2000-01-27T23:07:25+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=9233c4d9426e03b28e043baeefb6d5a37dc4086e'/>
<id>9233c4d9426e03b28e043baeefb6d5a37dc4086e</id>
<content type='text'>
just use _foo() &lt;-- foo().  In the case of a libpthread that doesn't do
call conversion (such as linuxthreads and our upcoming libpthread), this
is adequate.  In the case of libc_r, we still need three names, which are
now _thread_sys_foo() &lt;-- _foo() &lt;-- foo().

Convert all internal libc usage of: aio_suspend(), close(), fsync(), msync(),
nanosleep(), open(), fcntl(), read(), and write() to _foo() instead of foo().

Remove all internal libc usage of: creat(), pause(), sleep(), system(),
tcdrain(), wait(), and waitpid().

Make thread cancellation fully POSIX-compliant.

Suggested by:	deischen
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
just use _foo() &lt;-- foo().  In the case of a libpthread that doesn't do
call conversion (such as linuxthreads and our upcoming libpthread), this
is adequate.  In the case of libc_r, we still need three names, which are
now _thread_sys_foo() &lt;-- _foo() &lt;-- foo().

Convert all internal libc usage of: aio_suspend(), close(), fsync(), msync(),
nanosleep(), open(), fcntl(), read(), and write() to _foo() instead of foo().

Remove all internal libc usage of: creat(), pause(), sleep(), system(),
tcdrain(), wait(), and waitpid().

Make thread cancellation fully POSIX-compliant.

Suggested by:	deischen
</pre>
</div>
</content>
</entry>
<entry>
<title>Add three-tier symbol naming in support of POSIX thread cancellation</title>
<updated>2000-01-12T09:23:48+00:00</updated>
<author>
<name>Jason Evans</name>
<email>jasone@FreeBSD.org</email>
</author>
<published>2000-01-12T09:23:48+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=929273386f6e688c008b15fd24932df2ed7e7172'/>
<id>929273386f6e688c008b15fd24932df2ed7e7172</id>
<content type='text'>
points.  For library functions, the pattern is __sleep() &lt;--
_libc_sleep() &lt;-- sleep().  The arrows represent weak aliases.  For
system calls, the pattern is _read() &lt;-- _libc_read() &lt;-- read().
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
points.  For library functions, the pattern is __sleep() &lt;--
_libc_sleep() &lt;-- sleep().  The arrows represent weak aliases.  For
system calls, the pattern is _read() &lt;-- _libc_read() &lt;-- read().
</pre>
</div>
</content>
</entry>
<entry>
<title>%Ex -&gt; %Ef to not conflict with POSIX</title>
<updated>1999-11-30T19:24:07+00:00</updated>
<author>
<name>Andrey A. Chernov</name>
<email>ache@FreeBSD.org</email>
</author>
<published>1999-11-30T19:24:07+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=c63a4303abebacd23556930e87f4dfe93704faea'/>
<id>c63a4303abebacd23556930e87f4dfe93704faea</id>
<content type='text'>
Add %EF (long months name / day order)
Check that O and E not intermixed
Add missing POSIX extension to example
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add %EF (long months name / day order)
Check that O and E not intermixed
Add missing POSIX extension to example
</pre>
</div>
</content>
</entry>
<entry>
<title>Add %Ex extension to determine "%e %b" or "%b %e" order</title>
<updated>1999-11-30T07:33:37+00:00</updated>
<author>
<name>Andrey A. Chernov</name>
<email>ache@FreeBSD.org</email>
</author>
<published>1999-11-30T07:33:37+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=11cd0d324175da41324f7f35ac3e08146bb8577f'/>
<id>11cd0d324175da41324f7f35ac3e08146bb8577f</id>
<content type='text'>
Separate alternative for O and E cases
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Separate alternative for O and E cases
</pre>
</div>
</content>
</entry>
<entry>
<title>Implement new format specifier for strftime: %OB, alternative national</title>
<updated>1999-09-11T21:35:21+00:00</updated>
<author>
<name>Dmitrij Tejblum</name>
<email>dt@FreeBSD.org</email>
</author>
<published>1999-09-11T21:35:21+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=da3785ef12448552f68fb7469bb8b616fb93f36b'/>
<id>da3785ef12448552f68fb7469bb8b616fb93f36b</id>
<content type='text'>
representation of the full month name. In the Russian locale, this alternative
will be "nominative case", useful when the date designate month as a whole.
E.g. month heading in a calendar. I hope it can be useful for some other
locales too.

Discussed with:	wollman, ache
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
representation of the full month name. In the Russian locale, this alternative
will be "nominative case", useful when the date designate month as a whole.
E.g. month heading in a calendar. I hope it can be useful for some other
locales too.

Discussed with:	wollman, ache
</pre>
</div>
</content>
</entry>
<entry>
<title>$Id$ -&gt; $FreeBSD$</title>
<updated>1999-08-28T00:22:10+00:00</updated>
<author>
<name>Peter Wemm</name>
<email>peter@FreeBSD.org</email>
</author>
<published>1999-08-28T00:22:10+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=7f3dea244c40159a41ab22da77a434d7c5b5e85a'/>
<id>7f3dea244c40159a41ab22da77a434d7c5b5e85a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace memory leaking instances of realloc with non-leaking reallocf.</title>
<updated>1998-09-16T04:17:47+00:00</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>1998-09-16T04:17:47+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=e8420087b0ae4a2d0611cd2f6413d150cfc83554'/>
<id>e8420087b0ae4a2d0611cd2f6413d150cfc83554</id>
<content type='text'>
In some cases replace if (a == null) a = malloc(x); else a =
realloc(a, x); with simple reallocf(a, x).  Per ANSI-C, this is
guaranteed to be the same thing.

I've been running these on my system here w/o ill effects for some
time.  However, the CTM-express is at part 6 of 34 for the CAM
changes, so I've not been able to do a build world with the CAM in the
tree with these changes.  Shouldn't impact anything, but...
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In some cases replace if (a == null) a = malloc(x); else a =
realloc(a, x); with simple reallocf(a, x).  Per ANSI-C, this is
guaranteed to be the same thing.

I've been running these on my system here w/o ill effects for some
time.  However, the CTM-express is at part 6 of 34 for the CAM
changes, so I've not been able to do a build world with the CAM in the
tree with these changes.  Shouldn't impact anything, but...
</pre>
</div>
</content>
</entry>
</feed>
