| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Closes PR docs/3612.
Submitted by: Josh Gilliam <soil@quick.net>
|
|
|
|
|
|
|
|
|
|
| |
so that all these makefiles can be used to build libc_r too.
Added .if ${LIB} == "c" tests to restrict man page builds to libc
to avoid needlessly building them with libc_r too.
Split libc Makefile into Makefile and Makefile.inc to allow the
libc_r Makefile to include Makefile.inc too.
|
|
|
|
|
| |
Obtained from: fgets.3
Guided by: ISO C standard
|
|
|
|
|
|
|
| |
the original text plus a statement saying that if strftime fails,
the results are undefined.
Requested a long time ago by: bde
|
| |
|
|
|
|
|
|
| |
leakage.
Submitted by: Julian Assange
|
|
|
|
|
| |
set, as suggested by Garrett Wollman. This is more consistant with how
things like strncpy are done, as well as harder to confuse NUL and NULL.
|
|
|
|
| |
NUL terminate in the case of buffer overflow.
|
| |
|
|
|
|
| |
Should go in 2.2
|
|
|
|
| |
uthreads update from the author.
|
|
|
|
| |
Should go in 2.2
|
| |
|
|
|
|
|
|
|
|
| |
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.
|
|
|
|
|
|
|
|
|
| |
of the user's timezone failed), don't bail if the specified timezone
doesn't have an offset; in this case it isn't going to. (Perhaps it would
be better to change the caller to always supply one, but this is quick
and clean and fixes the bug in the easiest possible way.)
Should be in 2.2. Fixes (properly) PR#1740.
|
|
|
|
|
|
| |
Kill snprintf left in collate.c from previous backout
Should go in 2.2
|
|
|
|
| |
don't treat empty encoding as C encoding
|
|
|
|
|
| |
Parameters for pthread_getspecific() call changed.
pthread_keycreate() renamed to pthread_key_create().
|
|
|
|
|
| |
file (and not a directory or a device which might also be readable).
Closes PR#1740.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Here are the diffs for libc_r to get it one step closer to P1003.1c
These make most of the thread/mutex/condvar structures opaque to the
user. There are three functions which have been renamed with _np
suffixes because they are extensions to P1003.1c (I did them for JAVA,
which needs to suspend/resume threads and also start threads suspended).
I've created a new header (pthread_np.h) for the non-POSIX stuff.
The egrep tags stuff in /usr/src/lib/libc_r/Makefile that I uncommented
doesn't work. I think its best to delete it. I don't think libc_r needs
tags anyway, 'cause most of the source is in libc which does have tags.
also:
Here's the first batch of man pages for the thread functions.
The diff to /usr/src/lib/libc_r/Makefile removes some stuff that was
inherited from /usr/src/lib/libc/Makefile that should only be done with
libc.
also:
I should have sent this diff with the pthread(3) man page.
It allows people to type
make -DWANT_LIBC_R world
to get libc_r built with the rest of the world. I put this in the
pthread(3) man page. The default is still not to build libc_r.
also:
The diff attached adds a pthread(3) man page to /usr/src/share/man/man3.
The idea is that without libc_r installed, this man page will give people
enough info to know that they have to build libc_r.
|
| |
|
|
|
|
|
|
| |
part that does zic(8)/zdump(8) is still yet to be imported (but the old
zic and zdump will work just fine with these header files and the
data format has not changed).
|
|
|
|
| |
Submitted-By: Kent Vander Velden <graphix@iastate.edu>
|
| |
|
|
|
|
| |
Closes PR#doc/536
|
|
|
|
| |
needs some other cleanup, but it is good enough for now.
|
|
|
|
|
|
| |
This commit covers the man pages for most of the ANSI library functions.
A few others such as strtol.3 have to mention <sys/types.h> because they
mix ANSI interfaces with less well designed extensions.
|
| |
|
|
|
|
|
| |
converted them into .Fn macros where appropriate. Also fixed
up some minor formatting problems.
|
|
|
|
| |
Submitted by: brien@cs.ucdavis.edu (David E. O'Brien)
|
|
|
|
|
|
| |
try and silence "manck".
ncurses, rpc, and some of the gnu stuff are still a big mess, however.
|
| |
|
|
|
|
|
|
| |
Submitted by: John Birrel(L?)
changes for threadsafe operations
|
|
|
|
| |
which included commits to RCS files with non-trunk default branches.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
changeover, so we have to extend the format of timezone files (in a backward-
compatible way, of course). This probably means that libc needs a minor
version number bump before 2.2 is released (or maybe not).
|
|
|
|
|
|
|
|
|
|
| |
by me). This probably loses for multibyte characters, but I have no
way of telling. I'll let ache decide whether to add this support to
startup_setlocale. Note that for this to make any sense at all, the
symlinks in /usr/share/locale must go. (For the moment, this doesn't
make any difference since there are no locales supplied.)
Obtained from: Arthur David Olson <ado@elsie.nci.nih.gov>
|
| |
|
|
|
|
|
|
|
|
|
| |
from the code in strftime.c . This affects both the library code
and all the commands using it (e.g. date +%s).
Note that %s is not required by ANSI, but we've already got it in 1.1.5.1.
Suggested by: luigi@labinfo.iet.unipi.it (Luigi Rizzo)
|
|
|
|
|
| |
4.4. The code is almost identical to the 4.4 versions, but this organization
should make it easier to merge new versions in the future.
|
|
|
|
| |
so we can compile zic.
|
|
|
|
| |
(Check in original localtime.c.)
|
|
Obtained From: Arthur David Olson, ftp://elsie.nci.nih.gov/pub/tzcode94g.tar.gz
|