od: use fseek on non-regular files
commit3ae38a5995c8e8cd01a5410767db6078bef0afb5
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 20 Jun 2019 01:46:57 +0000 (19 18:46 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 20 Jun 2019 01:48:54 +0000 (19 18:48 -0700)
tree3e004c7f48f8c806f22d941856a196a160755a52
parenta3a454b9d9029115917ff31b66f424d6c5de9300
od: use fseek on non-regular files

Problem reported by Szőts Ákos (Bug#36291).
* NEWS: Mention this.
* src/od.c (skip): Try fseek even on files that do not have usable
sizes, falling back on fread if fseek fails.
NEWS
src/od.c