diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2005-10-06 16:40:13 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2005-10-06 16:40:13 +0000 |
commit | 38ffebe4ac6e5e497f08b9d722aa28c8d7e6a560 (patch) | |
tree | 9d4e3f6e2b8c8dadbe5a31fc1e32878ad085aba1 /src | |
parent | 028b5117d48ddc513337fc975f79cf1adb1da7c7 (diff) | |
download | coreutils-38ffebe4ac6e5e497f08b9d722aa28c8d7e6a560.tar.xz |
(sortlines_temp): Undo previous change, since
today's change to m4/stdbool.m4 should catch it.
Diffstat (limited to 'src')
-rw-r--r-- | src/sort.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/sort.c b/src/sort.c index ba75a361b..7b736c152 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]; } |