1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-19 02:10:57 +02:00

(sortlines_temp): Undo previous change, since

today's change to m4/stdbool.m4 should catch it.
This commit is contained in:
Paul Eggert
2005-10-06 16:40:13 +00:00
parent 028b5117d4
commit 38ffebe4ac

View 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];
}