diff options
author | Jim Meyering <jim@meyering.net> | 2005-10-05 18:56:29 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2005-10-05 18:56:29 +0000 |
commit | 132aaa2eacd0939a2ca0d0177188a52e99e17dc6 (patch) | |
tree | 91ba8698dcedc89f0213a97b1548bbd7fd7857f6 | |
parent | b185a8b904a9d89a3d5aaa96dc4da952211678d3 (diff) | |
download | coreutils-132aaa2eacd0939a2ca0d0177188a52e99e17dc6.tar.xz |
Add a comment to go with the last change.
-rw-r--r-- | src/sort.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sort.c b/src/sort.c index 132217576..ba75a361b 100644 --- a/src/sort.c +++ b/src/sort.c @@ -1720,6 +1720,8 @@ 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])); temp[-1] = lines[-1 - swap]; temp[-2] = lines[-2 + swap]; |