| 300 | OLDLEN and NEWLEN are their lengths. */ |
| 301 | |
| 302 | static bool |
| 303 | different (char *old, char *new, idx_t oldlen, idx_t newlen) |
| 304 | { |
| 305 | if (ignore_case) |
| 306 | return oldlen != newlen || memcasecmp (old, new, oldlen); |
| 307 | else |
| 308 | return oldlen != newlen || memcmp (old, new, oldlen); |
| 309 | } |
| 310 | |
| 311 | /* Output the line in linebuffer LINE to standard output |
| 312 | provided that the switches say it should be output. |