-
- /* XXX - If a line is longer than buf (shouldn't happen), it is split.
- * This will almost always cause an unintended line break, and
- * possibly a change in quoting level. But that's better than not
- * displaying it at all.
- */
- if ((t = strrchr (buf, '\r')) || (t = strrchr (buf, '\n')))
- {
- *t = '\0';
- buf_len = t - buf;
- }
-