diff options
author | Jim Meyering <jim@meyering.net> | 2000-08-24 08:34:33 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2000-08-24 08:34:33 +0000 |
commit | 69450c7b8eeea81c4c1a2f3198ca325f9449ee82 (patch) | |
tree | 66b69cf5cc623c35337b336c50d66176dea3459a /old | |
parent | 2abb1fd55d9b20c3eeb6a5e8fdaa5e0fe6c0349b (diff) | |
download | coreutils-69450c7b8eeea81c4c1a2f3198ca325f9449ee82.tar.xz |
(skip): Assume lseek failed if it returned zero, since a zero return is
impossible and some buggy drivers return zero.
Use SEEK_CUR rather than SEEK_SET; this fixes a bug when the
file descriptor is not currently rewound.
Diffstat (limited to 'old')
0 files changed, 0 insertions, 0 deletions