]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(sortlines_temp): Undo previous change, since
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 6 Oct 2005 16:40:13 +0000 (16:40 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 6 Oct 2005 16:40:13 +0000 (16:40 +0000)
today's change to m4/stdbool.m4 should catch it.

src/sort.c

index ba75a361bf0a262ba1dce072b43d3c66ed073d42..7b736c1524a95e1a2578861a713ea8756763fcd7 100644 (file)
@@ -1720,9 +1720,7 @@ sortlines_temp (struct line *lines, size_t nlines, struct line *temp)
 {
   if (nlines == 2)
     {
-      /* Declare `swap' as int, not bool, to work around a bug in
-        an AIX 5.3 compiler in 64-bit mode.  */
-      int swap = (0 < compare (&lines[-1], &lines[-2]));
+      bool swap = (0 < compare (&lines[-1], &lines[-2]));
       temp[-1] = lines[-1 - swap];
       temp[-2] = lines[-2 + swap];
     }