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
millert
11a52be207
Check strlc{py,at} return value and return NULL upon truncation instead
of silently truncating. OK deraadt@ otto@
20 years ago
mickey
3ce549ead6
repair libkern support (again) and add rcsids
20 years ago
jmc
87f49b32c3
update FILES;
fixes pr #3998 ; diff from frank denis, though slightly different fix
committed;
help and ok millert@
20 years ago
jmc
e4864d738c
.{N,O}x fixes;
20 years ago
millert
73909ccd96
Treat EOF at prompt the same as 'n' instead of looping forever.
Noticed by mepch@. OK pedro@ and deraadt@
20 years ago
hshoexer
b4bc6e4e69
knf, no binary change
ok krw@ millert@
20 years ago
hshoexer
a614ba518a
ansi, indentation, etc.
ok markus@ krw@ cloder@ millert@
20 years ago
hshoexer
51c7463ada
kill spaces
ok djm@
20 years ago
jsg
32715ebf87
add some missing $, ok djm@ 'That looks fine to me' millert@
20 years ago
millert
306ca78d1d
Add HISTORY; from Jose Nazario
20 years ago
deraadt
a088bfecd9
label a switch fallthrough
20 years ago
deraadt
2245b99438
avoid aliasing over library symbol
20 years ago
deraadt
3a5df51764
cast not needed
20 years ago
millert
9d799d1171
Fix MD5FileChunk() when passed a 0 length; makes MD5File() work again.
From Peter Galbavy.
20 years ago
otto
ad963acdf7
fix 1099512676352 -> 2.0T; ok miod@
20 years ago
deraadt
efb1c5583a
do the char * to u_char * song and dance back and forth explicitly as
we match API's against each other, fun eh; millert ok
20 years ago
millert
33d1181051
Whoops, ripemd was broken, not ripemd-160.
20 years ago
millert
13266903e8
Collisions have been found for the full versions of MD4, MD5 and RMD160.
20 years ago
jaredy
56c63c4e20
mention strtonum(3)
ok millert jmc pedro
20 years ago
tdeval
80b2c084f6
Back out to brk(2) version.
20 years ago
tdeval
afbf541ae4
- Remove the userland data limit check. It's mmap(2)'s job.
- When malloc_abort==0 (MALLOC_OPTIONS=a), don't abort in wrterror().
fine deraadt@
20 years ago
tdeval
e5a0109c9f
Missing check for NULL.
20 years ago