View | Details | Raw Unified | Return to bug 86485 | Differences between
and this patch

Collapse All | Expand All

(-)b/sys/sys/stat.h (+2 lines)
Lines 245-250 struct nstat { Link Here
245
#endif
245
#endif
246
#if __BSD_VISIBLE
246
#if __BSD_VISIBLE
247
#define	S_ISWHT(m)	(((m) & 0170000) == 0160000)	/* whiteout */
247
#define	S_ISWHT(m)	(((m) & 0170000) == 0160000)	/* whiteout */
248
#define S_ISSEEK(m)	((((m) & 0170000) != 0140000) && \
249
			(((m) & 0170000) != 0010000))	/* seekable file */
248
#endif
250
#endif
249
251
250
#if __BSD_VISIBLE
252
#if __BSD_VISIBLE
(-)b/usr.bin/hexdump/display.c (-1 / +1 lines)
Lines 380-386 doskip(const char *fname, int statok) Link Here
380
			return;
380
			return;
381
		}
381
		}
382
	}
382
	}
383
	if (S_ISREG(sb.st_mode)) {
383
	if (S_ISSEEK(sb.st_mode)) {
384
		if (fseeko(stdin, skip, SEEK_SET))
384
		if (fseeko(stdin, skip, SEEK_SET))
385
			err(1, "%s", fname);
385
			err(1, "%s", fname);
386
		address += skip;
386
		address += skip;

Return to bug 86485