]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Add a comment to go with the last change.
authorJim Meyering <jim@meyering.net>
Wed, 5 Oct 2005 18:56:29 +0000 (18:56 +0000)
committerJim Meyering <jim@meyering.net>
Wed, 5 Oct 2005 18:56:29 +0000 (18:56 +0000)
src/sort.c

index 132217576de3e7e17c37527a016e85ad4a2371af..ba75a361bf0a262ba1dce072b43d3c66ed073d42 100644 (file)
@@ -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];