commit | 8177a9d79c0e942dcac3312f15585d0344d505a5 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@ZenIV.linux.org.uk> | Sun Jun 16 18:06:06 2013 +0100 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Sun Jun 16 08:10:53 2013 -1000 |
tree | cef7a714336504ee41924e984fe3b0e721af23d1 | |
parent | 7d132055814ef17a6c7b69f342244c410a5e000f [diff] |
lseek(fd, n, SEEK_END) does *not* go to eof - n When you copy some code, you are supposed to read it. If nothing else, there's a chance to spot and fix an obvious bug instead of sharing it... X-Song: "I Got It From Agnes", by Tom Lehrer Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> [ Tom Lehrer? You're dating yourself, Al ] Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>