| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
Notes:
svn path=/stable/4/; revision=123793
|
| |
|
|
| |
Notes:
svn path=/stable/4/; revision=101725
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/stable/4/; revision=92149
|
| |
|
|
| |
Notes:
svn path=/stable/4/; revision=67635
|
| |
|
|
| |
Notes:
svn path=/stable/4/; revision=62260
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
just use _foo() <-- 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() <-- _foo() <-- 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
Notes:
svn path=/head/; revision=56698
|
| |
|
|
|
|
|
|
|
| |
points. For library functions, the pattern is __sleep() <--
_libc_sleep() <-- sleep(). The arrows represent weak aliases. For
system calls, the pattern is _read() <-- _libc_read() <-- read().
Notes:
svn path=/head/; revision=55837
|
| |
|
|
|
|
|
|
|
| |
Add %EF (long months name / day order)
Check that O and E not intermixed
Add missing POSIX extension to example
Notes:
svn path=/head/; revision=53960
|
| |
|
|
|
|
|
| |
Separate alternative for O and E cases
Notes:
svn path=/head/; revision=53940
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=51186
|
| |
|
|
| |
Notes:
svn path=/head/; revision=50476
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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...
Notes:
svn path=/head/; revision=39327
|
|
|
modify the original `no modifications' copyright message, and i've
included his mail into the source file.
The common localization functions between strptime(3) and strftime(3)
have been broken out into timelocal.[ch].
Notes:
svn path=/head/; revision=28021
|