das
00c36da743
Changing 'r' to a size_t in the previous commit turned quicksort
...
into slowsort for some sequences because different parts of the
code used 'r' to store two different things, one of which was
signed. Clean things up by splitting 'r' into two variables, and
use a more meaningful name.
2008-01-14 09:21:34 +00:00
das
1daf1db8d4
Use size_t to avoid overflow when sorting arrays larger than 2 GB.
...
PR: 111085
MFC after: 2 weeks
2008-01-13 02:11:10 +00:00
imp
cd1f140ae4
Per Regents of the University of Calfornia letter, remove advertising
...
clause.
# If I've done so improperly on a file, please let me know.
2007-01-09 00:28:16 +00:00
wollman
ab723a2a1b
Implement C99's _Exit() interface.
...
Implement a version of qsort that provides a thunk to the comparison function.
Update manual pages.
2002-09-10 02:04:49 +00:00
obrien
d90536e35b
Fix the style of the SCM ID's.
...
I believe have made all of libc .c's as consistent as possible.
2002-03-22 21:53:29 +00:00
obrien
3b73ce2319
Remove __P() usage.
2002-03-21 22:49:10 +00:00
obrien
1196344bb3
Remove 'register' keyword.
2002-03-21 18:49:23 +00:00
peter
76f0c923fe
$Id$ -> $FreeBSD$
1999-08-28 00:22:10 +00:00
peter
6b08958c64
Revert $FreeBSD$ to $Id$
1997-02-22 15:12:41 +00:00
jkh
808a36ef65
Make the long-awaited change from $Id$ to $FreeBSD$
...
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.
1997-01-14 07:20:47 +00:00
bde
7d4c1814f6
Don't depend in the kernel on the gcc feature of doing arithmetic on
...
pointers of type `void *'. Warn about this in future.
1996-08-31 14:48:13 +00:00
bde
b0b36003dc
Don't include <sys/types.h> when it isn't used.
...
This commit covers most of the ANSI library functions. Many others only
need <sys/types.h> because they use u_xxx.
1996-04-19 18:40:25 +00:00
bde
6a0ace8bd0
Added prototypes.
1995-12-26 13:25:13 +00:00
rgrimes
f05428e4cd
Remove trailing whitespace.
1995-05-30 05:51:47 +00:00
rgrimes
be22b15ae2
BSD 4.4 Lite Lib Sources
1994-05-27 05:00:24 +00:00