summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/grantpt.c
diff options
context:
space:
mode:
authordas <das@FreeBSD.org>2008-01-14 09:21:34 +0000
committerdas <das@FreeBSD.org>2008-01-14 09:21:34 +0000
commit00c36da743aaefbec9722e876ba63eed19fac1c8 (patch)
tree3137383c3994f8c968e34bf433390de9341541f0 /lib/libc/stdlib/grantpt.c
parentbd332c3c416401f6fead22280b41ba21f28f143c (diff)
downloadFreeBSD-src-00c36da743aaefbec9722e876ba63eed19fac1c8.zip
FreeBSD-src-00c36da743aaefbec9722e876ba63eed19fac1c8.tar.gz
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.
Diffstat (limited to 'lib/libc/stdlib/grantpt.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud