jmc
055936f356
kill errant full stop;
19 years ago
jmc
e44f6063e5
got to be a pasto...
19 years ago
tdeval
eead62184d
Fix the unmapping of freed pages, leaving just 64k worth of cache pages.
Prodded by art@ and fgsch@, ok deraadt@
19 years ago
jmc
b8c35046aa
whitespace;
19 years ago
millert
6ec8c4af59
More robust example of numeric argument handling. The old example
code would dereference NULL for mixed letter and number args.
OK deraadt@
19 years ago
espie
9e5b556fca
K&R -> ANSI
APIWARN
okay millert@, otto@
19 years ago
deraadt
2f71051cb2
no longer a need for the free(malloc(1)) hack, because the brk stuff
no longer needs initializing (we use mmap for malloc entirely now)
noticed by kjell, ok dhartmei, tested by me
19 years ago
millert
3c7c532305
bye bye whiteouts
19 years ago
kjell
a5c648ab10
RC4 is a trademark. Rest of text left intact.
19 years ago
jmc
7b3d0afba2
no need to insert spacing between list members;
19 years ago
tedu
b1d9a6e152
adding pointer protection to 'G' was too heavyweight. Since malloc guard
should be generally usable, split this out into option 'P'. ok deraadt
19 years ago
kjell
fcd6ce3d3e
Change email address for author, at his request.
19 years ago
kjell
1155b5e251
Change license to standard OpenBSD boilerplate, with permission
from original author (David Mazieres)
19 years ago
tedu
64393fc9d6
use the new fat random sysctl to get initial state. (fallback to looping).
stir after eating 400000 words. ok + input deraadt
19 years ago
millert
b71f11aa8b
sync setkey prototype with reality
19 years ago
otto
b85d877145
Merge common functionality of __strsignal and strerror_r.
ok jaredy@ miod@
19 years ago
tedu
64bb2c38e9
add a note describing latest guard feature
19 years ago
tedu
43e2360338
handle sizeof(void *) allocations specially when using malloc guard.
they get a whole page and go right at the end of it. ok deraadt tdeval
19 years ago
otto
1a406b107a
Update HISTORY fixing some facts, while it is not clear if the
environment stuff originates from AT&T or BSD. ok ok deraadt@
millert@ ian@
19 years ago
espie
175c6c79dd
major abi changes:
* introduce the mbstate_t typedef.
impacts gnu libiconv, which has already been taken care of.
* Prepare for mb stuff to really exist, replace macro MB_CUR_MAX with
an external variable __mb_cur_max (impacts libX11 and various ports).
* use mbstate in all the mb <-> wchar functions with state.
* add a stub iswctype function allowing some ports to compile.
bash and gdiff are missing wcscoll, and need to be told there's no i18n
until this is fixed.
Discussed and matthieu, otto, millert, kettenis, deraadt.
Major libc bump
19 years ago
otto
b6845bb46a
Only append number when it fits to avoid truncation and return
appropriate error number. ok miod@, millert@ on an earlier version;
ok jaredey@
19 years ago
tom
cc1f1f3b9e
Tidy up __strtosignal(): pass a buffer and length to its itoa() and
make sure we can't underrun this buffer. Also force NUL-termination
of this buffer, and ensure that large unsigned integers are printed
correctly.
Started by a diff from Dave Hines, openbsd (at) dph (dot) fluff (dot)
org; thanks.
with and ok otto@
19 years ago
beck
e432cee459
correct strlcpy abuse
ok millert@
19 years ago
jmc
b93669c8f7
fix wmemchr.3 MLINKS;
ok espie@
19 years ago
tom
d8e9908683
Remove redundant line
ok espie@ otto@ millert@ deraadt@
19 years ago
espie
5e8683629a
introduce some wchar functions (from citrus and an itojun@ diff)
okay deraadt@, cloder@, pvalchev@
thanks to everyone who commented on that.
19 years ago
jmc
81e42dac83
mark up NULL w/ .Dv;
19 years ago
tedu
beab5e9daf
make it crystal clear that errstr is NULL after success
19 years ago
jmc
c05ca7a4be
- our pages do not have a LIBRARY section;
- attach rcs id
- wording tweak
19 years ago
espie
f76955fe66
Import w* functions so that I can send smaller diffs around.
(Nothing activated yet, of course)
okay deraadt@
19 years ago
otto
6b05c439ae
Xr readlink(1). ok jmc@
20 years ago
tdeval
cefaf602d1
MMAP(2) malloc, here we go again.
20 years ago
otto
8b4d0d1471
ansify + deregister. no binary change on i386. ok deraadt@ pat@ moritz@
20 years ago
pat
4d0a547963
ansi + de-register
ok otto deraadt
20 years ago
otto
e73b3e19e1
Do not promise anything about the contents of resolved on failure.
ok millert@
20 years ago
deraadt
3f1febb4bc
strcasestr(3), a case-insensitive version of strstr(3). already in netbsd
and freebsd, apparently written by torek, the man we never see anymore;
submitted by jcs, but he is not around right now for the libc major crank
so i sneak it in for him
20 years ago
brad
3d190e977a
Make realpath() thread-safe. New implementation does not use chdir(2) at all.
From: FreeBSD by Constantin S. Svintsoff <kostik (at) iclub.nsu.ru>
ok otto@ millert@
20 years ago
millert
06b10d0e9a
Document that historic BSD getopt(3) set optopt for each char, not just
on error.
20 years ago
otto
a73d63a9ef
Fix rounding of fractionless numbers. ok tom@ miod@
20 years ago
otto
7176d2991e
Fix sizing of fraction. ok tom@ deraadt@
20 years ago
jmc
5761838b09
use .Pq rather than .Po/.Pc;
20 years ago
cloder
d27b833e7e
Make sure we check snprintf return value for failure or truncation before
using it. Make uu_lock_txfr work by properly checking return value from
put_pid(). Fix an FD leak on the lockfile in an error path (from FreeBSD
with modifications). OK millert@, input from otto@ and Bruno Rohee.
20 years ago
millert
1683a3a0eb
Fix typo that breaks compilation #ifndef __weak_alias; Francois Perrad
20 years ago
cloder
907ea60a25
Be correct in our man pages when talking about NUL termination (that is,
termination with '\0') vs. null termination.
Input from krw@, jaredy@, jmc@. OK deraadt@
20 years ago
millert
aa254a2609
Stash the environment pointer we get from realloc() instead of just
setting a flag. That way when we are called again we can be sure
to realloc() the right thing, regardless of the current value of
environ. When the stashed value != environ (or when we are called
for the first time), copy the existing entries from environ and set
environ to the new value. OK deraadt@, beck@, djm@
20 years ago
jmc
9a0efee0ea
tidy up ERRORS and STANDARDS;
20 years ago
otto
4bcb70b1fc
Test the upper limit for the max # of rounds to, to avoid wrapping and ending
up with a low number of rounds. Spotted by mpech@; ok mpech@ millert@
20 years ago
jmc
33a9bd8e29
tweaks from michael knudsen;
20 years ago
jaredy
878f6487d6
typos, then -> than, from Michael Knudsen
20 years ago
millert
a53209548a
Document why not to set optind = 0. Inspired by and OK jfb@
20 years ago