Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jan 2008 09:21:34 +0000 (UTC)
From:      David Schultz <das@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/libc/stdlib qsort.c
Message-ID:  <200801140921.m0E9LYak090695@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
das         2008-01-14 09:21:34 UTC

  FreeBSD src repository

  Modified files:
    lib/libc/stdlib      qsort.c 
  Log:
  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.
  
  Revision  Changes    Path
  1.15      +5 -4      src/lib/libc/stdlib/qsort.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801140921.m0E9LYak090695>