From: Paul Eggert Date: Thu, 6 Oct 2005 16:40:13 +0000 (+0000) Subject: (sortlines_temp): Undo previous change, since X-Git-Tag: v5.91~51 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=38ffebe4ac6e5e497f08b9d722aa28c8d7e6a560;p=thirdparty%2Fcoreutils.git (sortlines_temp): Undo previous change, since today's change to m4/stdbool.m4 should catch it. --- diff --git a/src/sort.c b/src/sort.c index ba75a361bf..7b736c1524 100644 --- a/src/sort.c +++ b/src/sort.c @@ -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]; }