freebsd-nq/lib/libc/gen
Jacques Vidrine 5460b1abd2 ``Strong typing is a crutch for people with weak memories.''
Correct a bug that should have wreaked havoc everywhere, but for
some reason only bit unlucky people who use `-march' optimizations.
The compiler cannot assist one in distinguishing between the two
function calls below.

   int nsdispatch(void *, ...);
   void *discard;

   nsdispatch(&discard, ...);  /* correct .. no, really! */
   nsdispatch(discard, ...);   /* Boom                   */

Robin provided me with a debugging environment in which I could see
what was going on.

Badness when using CPUTYPE was
Reported by:	"Robin P. Blanchard" <Robin.Blanchard@gactr.uga.edu>
Reported by:	nork

Sponsored by:	DARPA, Network Associates Laboratories
2003-04-22 22:19:05 +00:00
..
__xuname.c
_pthread_stubs.c Argh, change declaration of two-dimensional array so that it actually 2002-11-13 21:55:22 +00:00
_rand48.c
_spinlock_stub.c - Define a _spinunlock() function so that threading implementations may do 2003-03-26 04:02:24 +00:00
_thread_init.c
alarm.3 mdoc(7) police: Fixed abuses of the .Ar and .Em macros. 2002-12-18 13:33:04 +00:00
alarm.c
arc4random.3
arc4random.c
assert.c
basename.3 mdoc(7) police: Fixed abuses of the .Ar and .Em macros. 2002-12-18 13:33:04 +00:00
basename.c Fix LP64 architectures and especially ia64. Functions that return 2002-12-30 01:41:14 +00:00
check_utility_compat.3 mdoc(7) police: overhaul. 2002-12-04 15:47:41 +00:00
check_utility_compat.c Create a small library function, check_utility_compat(3), to determine 2002-10-28 00:15:43 +00:00
clock.3
clock.c
closedir.c
confstr.3
confstr.c Return the correct environment name for 64-bit platforms in the 2002-09-19 03:47:36 +00:00
crypt.c Oops. Also provide a lint-compatible unused argument warning killer. 2002-10-18 16:24:20 +00:00
ctermid.3 mdoc(7) police: Fixed abuses of the .Ar and .Em macros. 2002-12-18 13:33:04 +00:00
ctermid.c
daemon.3
daemon.c
devname.3 english(4) police. 2002-12-27 12:15:40 +00:00
devname.c
directory.3 mdoc(7) police: "The .Fn function". 2002-12-18 10:13:54 +00:00
dirname.3 english(4) police. 2002-12-27 12:15:40 +00:00
dirname.c Fix LP64 architectures and especially ia64. Functions that return 2002-12-30 01:41:14 +00:00
disklabel.c
dladdr.3 mdoc(7) police: "The .Fn function". 2002-12-18 10:13:54 +00:00
dlfcn.c Implement dlinfo() function. 2003-02-13 17:47:44 +00:00
dlfunc.c
dlinfo.3 The .Fn function 2003-03-24 16:07:19 +00:00
dllockinit.3 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
dlopen.3 Mention that dlerror() is also applicable to retrieve error message after 2003-02-21 13:43:41 +00:00
drand48.c
erand48.c
err.3
err.c
errlst.c Drop almost 3k from /bin/sync by moving errno to a seperate file 2002-10-09 08:04:24 +00:00
errno.c Drop almost 3k from /bin/sync by moving errno to a seperate file 2002-10-09 08:04:24 +00:00
exec.3 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
exec.c Remove an unused variable, `sverrno', which has not been used since 1.11. 2003-01-03 23:16:55 +00:00
fmtcheck.3 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
fmtcheck.c
fmtmsg.3 Consistently mark std(in|out|err) with .Dv, because that's how they 2002-12-04 18:57:46 +00:00
fmtmsg.c
fnmatch.3 mdoc(7) police: Fixed abuses of the .Ar and .Em macros. 2002-12-18 13:33:04 +00:00
fnmatch.c
fpclassify.3 o Implement C99 classification macros isfinite(), isinf(), isnan(), 2003-02-12 20:03:41 +00:00
fpclassify.c Implement fpclassify(): 2003-02-08 20:37:55 +00:00
frexp.3 mdoc(7) police: Fixed abuses of the .Ar and .Em macros. 2002-12-18 13:33:04 +00:00
fstab.c - Add setfstab() and getfstab(). 2003-04-07 12:55:00 +00:00
ftok.3 The ftok() function has not been in libcompat for quite a while. 2002-10-19 13:33:12 +00:00
ftok.c
fts-compat.c Remove an unused variable: `sb' in fts_read(). 2003-01-03 23:25:25 +00:00
fts-compat.h Make the threatened fts(3) ABI fix. FTSENT now avoids the use of the struct 2002-09-21 01:28:41 +00:00
fts.3 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
fts.c Remove an unused variable: `sb' in fts_read(). 2003-01-03 23:25:25 +00:00
getbootfile.3 mdoc(7) police: "The .Fn function". 2002-12-18 10:13:54 +00:00
getbootfile.c Return "/boot/kernel/kernel" instead of "/kernel" if the sysctl() call 2003-04-11 13:54:28 +00:00
getbsize.3 Back out the s/int */size_t */ commit. 2002-12-30 11:12:16 +00:00
getbsize.c Back out the s/int */size_t */ commit. 2002-12-30 11:12:16 +00:00
getcap.3 Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/ 2002-12-30 21:18:15 +00:00
getcap.c In cgetmatch(3), return -1 if a NULL or 0-length name parameter is used. 2003-01-02 10:19:43 +00:00
getcontext.3 mdoc(7) police: overhaul. 2002-12-04 15:47:41 +00:00
getcwd.3
getcwd.c Avoid a memory leak by using reallocf() instead of realloc(). 2003-01-10 02:58:25 +00:00
getdiskbyname.3
getdomainname.3 Apple PR-2449102: getdomainname() doesn't document that it is NIS/YP specific 2003-02-22 19:02:23 +00:00
getdomainname.c
getfsent.3 Bump the date. 2003-04-07 22:59:12 +00:00
getgrent.3 = Implement thread-safe versions of the getpwent(3) and getgrent(3) 2003-04-17 14:15:26 +00:00
getgrent.c ``Strong typing is a crutch for people with weak memories.'' 2003-04-22 22:19:05 +00:00
getgrouplist.3
getgrouplist.c Eliminate 61 warnings emitted at WARNS=2 (leaving 53 to go). 2003-02-16 17:29:11 +00:00
gethostname.3 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
gethostname.c
getloadavg.3
getloadavg.c
getlogin.c
getmntinfo.3 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
getmntinfo.c
getnetgrent.3 mdoc(7) police: "The .Fn function". 2002-12-18 10:13:54 +00:00
getnetgrent.c #include <ctype.h> for isspace()'s prototype (or a macro version). 2003-01-03 23:55:58 +00:00
getobjformat.3 mdoc(7) police: "The .Fn function". 2002-12-18 10:13:54 +00:00
getobjformat.c
getosreldate.3 Fixed copyright. 2003-02-24 22:55:33 +00:00
getosreldate.c
getpagesize.3 english(4) police. 2002-12-27 12:15:40 +00:00
getpagesize.c
getpass.3
getpeereid.3 mdoc(7) police: "The .Fn function". 2002-12-18 10:13:54 +00:00
getpeereid.c o getsockopt(2) 'level' argument should be 0, not SOCK_STREAM. It 2002-12-16 13:42:13 +00:00
getprogname.3
getprogname.c
getpwent.3 = Implement thread-safe versions of the getpwent(3) and getgrent(3) 2003-04-17 14:15:26 +00:00
getpwent.c Don't try to access the NIS `master' maps unless we have superuser 2003-04-21 13:57:58 +00:00
getttyent.3 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
getttyent.c
getusershell.3
getusershell.c - Revamp the function _nis_initshells() to make getusershell() backed 2003-03-19 14:17:24 +00:00
getvfsbyname.3 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
getvfsbyname.c
getvfsent.3 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
getvfsent.c #include <sys/linker.h> for kldload()'s prototype. 2003-01-04 00:13:00 +00:00
glob.3 Grammer fix. 2003-02-04 16:28:04 +00:00
glob.c
initgroups.3
initgroups.c
isatty.c
isgreater.3 o Implement C99 classification macros isfinite(), isinf(), isnan(), 2003-02-12 20:03:41 +00:00
jrand48.c
lcong48.c
ldexp.3
lockf.3 mdoc(7) police: "The .Fn function". 2002-12-18 10:13:54 +00:00
lockf.c
lrand48.c
makecontext.3 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
Makefile.inc = Implement name service switch modules (NSS modules). NSS modules 2003-04-17 14:14:22 +00:00
modf.3 mdoc(7) police: Fixed abuses of the .Ar and .Em macros. 2002-12-18 13:33:04 +00:00
mrand48.c
msgctl.3 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
msgget.3 mdoc(7) police: "The .Fn function". 2002-12-18 10:13:54 +00:00
msgrcv.3 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
msgsnd.3 Add const qualifier to data argument for msgsnd. 2003-01-26 20:09:34 +00:00
nice.3
nice.c
nlist.3
nlist.c Eliminate 19 warnings in libc (at level WARNS=2) of the 2003-02-27 13:40:01 +00:00
nrand48.c
ntp_gettime.c
opendir.c #include <string.h> for strcmp()'s prototype. 2003-01-04 00:18:50 +00:00
pause.3
pause.c
pmadvise.c
popen.3 popen() is a function, not an argument. 2003-01-03 05:21:59 +00:00
popen.c Remove unused variable: omask. 2003-01-04 00:15:15 +00:00
posixshm.c
pselect.3 mdoc(7) police: "The .Fn function". 2002-12-18 10:13:54 +00:00
pselect.c Add restrict type-qualifier. 2002-10-12 16:13:41 +00:00
psignal.3 Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/ 2002-12-30 21:18:15 +00:00
psignal.c
pw_scan.c Do not allow empty GIDs for non-NIS entries. 2002-10-11 11:35:30 +00:00
pw_scan.h
pwcache.3
pwcache.c
raise.3
raise.c
rand48.3 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
rand48.h
readdir.c
readpassphrase.3 english(4) police. 2002-12-27 12:15:40 +00:00
readpassphrase.c
rewinddir.c
rfork_thread.3 mdoc(7) police: "The .Fn function". 2002-12-18 10:13:54 +00:00
scandir.3 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
scandir.c
seed48.c
seekdir.c
sem_destroy.3 The .Fn function. Use .Xr where appropriate. 2003-03-24 16:05:24 +00:00
sem_getvalue.3 The .Fn function. Use .Xr where appropriate. 2003-03-24 16:05:24 +00:00
sem_init.3 The .Fn function. Use .Xr where appropriate. 2003-03-24 16:05:24 +00:00
sem_open.3 mdoc(7) police: Scheduled sweep. 2003-02-24 22:53:26 +00:00
sem_post.3 Cross reference sem(4) so users know which kernel options are required 2003-01-14 03:39:09 +00:00
sem_wait.3 The .Fn function. Use .Xr where appropriate. 2003-03-24 16:05:24 +00:00
sem.c Eliminate 61 warnings emitted at WARNS=2 (leaving 53 to go). 2003-02-16 17:29:11 +00:00
semctl.c Eliminate 61 warnings emitted at WARNS=2 (leaving 53 to go). 2003-02-16 17:29:11 +00:00
setdomainname.c
sethostname.c
setjmp.3 mdoc(7) police: Fixed abuses of the .Ar and .Em macros. 2002-12-18 13:33:04 +00:00
setjmperr.c
setmode.3
setmode.c More changes from NetBSD: 2003-02-23 00:24:03 +00:00
setproctitle.3 mdoc(7) police: "The .Fn function". 2002-12-18 10:13:54 +00:00
setproctitle.c Reduce libc's memory footprint by lazily allocating memory used internally 2002-12-21 22:04:50 +00:00
setprogname.c
shm_open.3
siginterrupt.3 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
siginterrupt.c
siglist.c
signal.3 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
signal.c
signbit.3 mdoc(7) police: Scheduled sweep. 2003-02-24 22:53:26 +00:00
signbit.c Implement C99's signbit() macro. 2003-02-11 21:56:21 +00:00
sigsetops.3 mdoc(7) police: Fixed abuses of the .Ar and .Em macros. 2002-12-18 13:33:04 +00:00
sigsetops.c
sleep.3
sleep.c
srand48.c
statvfs.3 Uniformly refer to a file system as "file system". 2002-12-12 17:26:04 +00:00
statvfs.c
stringlist.3 mdoc(7) police: markup laundry. 2003-02-23 01:47:49 +00:00
stringlist.c Sync with NetBSD -- sl_add() now returns an int. 2003-01-19 01:16:01 +00:00
strtofflags.3
strtofflags.c
swapcontext.c Don't peek into MD structures from MI code. The getcontext(3) and 2002-09-20 08:13:21 +00:00
sysconf.3
sysconf.c goto break; != break; 2002-11-17 08:54:29 +00:00
sysctl.3 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
sysctl.c Eliminate 61 warnings emitted at WARNS=2 (leaving 53 to go). 2003-02-16 17:29:11 +00:00
sysctlbyname.c
sysctlnametomib.c #include <string.h> for strlen()'s prototype. 2003-01-04 00:11:11 +00:00
syslog.3 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
syslog.c Handle %%m properly in syslog format string. Previously it would expand 2003-02-10 08:31:28 +00:00
tcgetpgrp.3
tcsendbreak.3 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
tcsetattr.3 english(4) police. 2002-12-27 12:15:40 +00:00
tcsetpgrp.3
telldir.c
telldir.h
termios.c
time.3
time.c
times.3
times.c
timezone.3 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
timezone.c
ttyname.3 mdoc(7) police: Fixed abuses of the .Ar and .Em macros. 2002-12-18 13:33:04 +00:00
ttyname.c
ttyslot.c
tzset.3
ualarm.3 Use useconds_t' instead of u_int' or `unsigned int' where appropriate. 2002-12-29 00:59:09 +00:00
ualarm.c Use useconds_t' instead of u_int' or `unsigned int' where appropriate. 2002-12-29 00:59:09 +00:00
ucontext.3 mdoc(7) police: overhaul. 2002-12-04 15:47:41 +00:00
ulimit.3 Rename UL_GETSIZE to UL_GETFSIZE and UL_SETSIZE to UL_SETFSIZE; these are 2003-01-04 01:11:49 +00:00
ulimit.c Rename UL_GETSIZE to UL_GETFSIZE and UL_SETSIZE to UL_SETFSIZE; these are 2003-01-04 01:11:49 +00:00
uname.3 Capitalize ASCII code names. 2002-12-05 08:50:00 +00:00
uname.c
unvis.3 mdoc(7) police: Fixed abuses of the .Ar and .Em macros. 2002-12-18 13:33:04 +00:00
unvis.c Eliminate 61 warnings emitted at WARNS=2 (leaving 53 to go). 2003-02-16 17:29:11 +00:00
usleep.3 Use useconds_t' instead of u_int' or `unsigned int' where appropriate. 2002-12-29 00:59:09 +00:00
usleep.c Use useconds_t' instead of u_int' or `unsigned int' where appropriate. 2002-12-29 00:59:09 +00:00
utime.3
utime.c
valloc.3 mdoc(7) police: Fixed abuses of the .Ar and .Em macros. 2002-12-18 13:33:04 +00:00
valloc.c
vis.3 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
vis.c
wait3.c
wait.c
waitpid.c
wordexp.3 Document return type of wordfree() (void). Reduce the space between 2003-03-13 11:18:53 +00:00
wordexp.c Use hidden names (_close, _dup2, _waitpid, etc.) where appropriate. 2003-01-07 06:07:56 +00:00