Problem: Duplicated code in xxd.
Solution: Remove duplicated lines. (closes #8972)
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 3523,
/**/
3522,
/**/
n1 = -1;
if ((++p >= cols) && !hextype)
{
- /* skip rest of line as garbage */
- want_off = 0;
- while ((c = getc(fpi)) != '\n' && c != EOF)
- ;
- if (c == EOF && ferror(fpi))
- die(2);
- ign_garb = 1;
+ /* skip the rest of the line as garbage */
+ n2 = -1;
+ n3 = -1;
}
}
- else if (n1 < 0 && n2 < 0 && n3 < 0)
+ if (n1 < 0 && n2 < 0 && n3 < 0)
{
/* already stumbled into garbage, skip line, wait and see */
if (!hextype)