#endif
+#define NONZERO(x) (x != 0)
+
/* The kind of blanks for '-b' to skip in various options. */
enum blanktype { bl_start, bl_end, bl_both };
diff = memcoll (copy_a, new_len_a, copy_b, new_len_b);
}
else if (lena == 0)
- diff = - (lenb != 0);
+ diff = - NONZERO (lenb);
else if (lenb == 0)
goto greater;
else
CMP_WITH_IGNORE (UCHAR (*texta), UCHAR (*textb));
}
else if (lena == 0)
- diff = - (lenb != 0);
+ diff = - NONZERO (lenb);
else if (lenb == 0)
goto greater;
else
alen = a->length - 1, blen = b->length - 1;
if (alen == 0)
- diff = - (blen != 0);
+ diff = - NONZERO (blen);
else if (blen == 0)
- diff = alen != 0;
+ diff = NONZERO (alen);
#ifdef ENABLE_NLS
else if (hard_LC_COLLATE)
diff = memcoll (a->text, alen, b->text, blen);
free (buf.buf);
free ((char *) lines.lines);
free (temp.text);
- return disorder_line_number != 0;
+ return NONZERO (disorder_line_number);
}
/* Merge lines from FPS onto OFP. NFPS cannot be greater than NMERGE.