shell: Always use explicit large file API
commit3e3e7af1a49273a5e49d50565b3b079a2ab19142
authorHerbert Xu <herbert@gondor.apana.org.au>
Thu, 7 May 2020 13:42:12 +0000 (7 23:42 +1000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 15 May 2020 06:24:38 +0000 (15 16:24 +1000)
treee39ad4bc65d7d7cb13f0d0c8d2b2b595bff40be4
parent8e559f5f8c1a928f6dae8543640886758469683c
shell: Always use explicit large file API

There are some remaining stat/readdir calls in dash that may lead
to spurious EOVERFLOW errors on 32-bit platforms.  This patch changes
them (as well as open(2)) to use the explicit large file API.

Reported-by: Tatsuki Sugiura <sugi@nemui.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
configure.ac
src/bltin/test.c
src/cd.c
src/expand.c
src/input.c
src/jobs.c
src/main.c
src/var.c