summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2007-08-15 22:44:45 +0200
committerJim Meyering <jim@meyering.net>2007-08-15 22:45:55 +0200
commit535a9fe5122808161398345f5ab317bd1ef6bde8 (patch)
tree833a5c6fd16059dc1fcfa56331b72857ea599dfd /NEWS
parent9ee7933b5cdf40ed4fd82b21fc521db5135446bf (diff)
downloadcoreutils-535a9fe5122808161398345f5ab317bd1ef6bde8.tar.xz
od --skip (-j) works even on files in /proc, when the kernel lies
* src/od.c (skip): Don't let kernel misinformation (nonempty files in /proc with stat.st_size == 0) make "od -j N" misbehave. Patch by Paul Eggert. * NEWS: Document this work-around. * tests/misc/od-zero-len: New file, test for the above.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 13d3402f1..91149ebb6 100644
--- a/NEWS
+++ b/NEWS
@@ -98,6 +98,10 @@ GNU coreutils NEWS -*- outline -*-
ln=target attribute) would mistakenly output the string "target"
before the name of each symlink. [introduced in coreutils-6.0]
+ od's --skip (-j) option now works even when the kernel says that a
+ nonempty regular file has stat.st_size = 0. This happens at least
+ with files in /proc and linux-2.6.22.
+
"od -j L FILE" had a bug: when the number of bytes to skip, L, is exactly
the same as the length of FILE, od would skip *no* bytes. When the number
of bytes to skip is exactly the sum of the lengths of the first N files,