2003-01-25 Jim Meyering <jim@meyering.net>
* io/ftw.c (object_compare): Compare inode numbers before device
numbers, since the former are much more likely to differ.
+2003-01-25 Jim Meyering <jim@meyering.net>
+
+ * io/ftw.c (object_compare): Compare inode numbers before device
+ numbers, since the former are much more likely to differ.
+
2003-02-01 Ulrich Drepper <drepper@redhat.com>
* time/tzfile.c (__tzfile_compute): Change return value type to
accidentally compare `holes' in the structure. */
const struct known_object *kp1 = p1, *kp2 = p2;
int cmp1;
- cmp1 = (kp1->dev > kp2->dev) - (kp1->dev < kp2->dev);
+ cmp1 = (kp1->ino > kp2->ino) - (kp1->ino < kp2->ino);
if (cmp1 != 0)
return cmp1;
- return (kp1->ino > kp2->ino) - (kp1->ino < kp2->ino);
+ return (kp1->dev > kp2->dev) - (kp1->dev < kp2->dev);
}