diff options
| author | Ron Yorston <rmy@pobox.com> | 2016-05-24 10:48:34 +0100 |
|---|---|---|
| committer | Ron Yorston <rmy@pobox.com> | 2016-05-24 10:48:34 +0100 |
| commit | 0d5f85b255e68385b4aa1b6b8c40ab4b7ad35125 (patch) | |
| tree | 8c95da606bba2299f3b84dd266f931335fa5b64b /scripts/basic/split-include.c | |
| parent | 1f3a582db3ca7cd7f33d5ab6f2f6c46d68de689d (diff) | |
| download | busybox-w32-0d5f85b255e68385b4aa1b6b8c40ab4b7ad35125.tar.gz busybox-w32-0d5f85b255e68385b4aa1b6b8c40ab4b7ad35125.tar.bz2 busybox-w32-0d5f85b255e68385b4aa1b6b8c40ab4b7ad35125.zip | |
win32: return an error when lseek is applied to a pipe
tail failed to process input from a pipe correctly:
$ echo -n 54321 | tail -c 3
543
It was trying to use lseek as an optimisation but WIN32 lseek doesn't
return an error whan applied to a pipe. Fix this by providing a wrapper
for lseek.
Diffstat (limited to 'scripts/basic/split-include.c')
0 files changed, 0 insertions, 0 deletions
