| # | Line 225 | Line 225 | isbigendian( /* header line says "BigEndian=1" (-1 if | |
|---|---|---|
| 225 | { | |
| 226 | const char *be = BIGEND; | |
| 227 | ||
| 228 | < | while (*s & (*be != '=') && *s++ == *be) |
| 228 | > | while ((*s != '\0') & (*be != '=') && *s++ == *be) |
| 229 | ++be; | |
| 230 | if (*be != '=') | |
| 231 | return(-1); /* irrelevant */ | |
| # | Line 299 | Line 299 | mycheck( /* check a header line for format info. */ | |
| 299 | struct check *scp = (struct check *)cp; | |
| 300 | ||
| 301 | if (!formatval(scp->fs, s) && scp->fp != NULL) | |
| 302 | < | fputs(s, scp->fp); |
| 302 | > | return(fputs(s, scp->fp)); |
| 303 | ||
| 304 | return(0); | |
| 305 | } | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |