diff options
author | Eduardo Chappa <chappa@washington.edu> | 2021-11-23 10:53:59 -0700 |
---|---|---|
committer | Eduardo Chappa <chappa@washington.edu> | 2021-11-23 10:53:59 -0700 |
commit | bc15b12b7f13ec9c9cd855aae0e62be4d0ef9e31 (patch) | |
tree | 3212a2e6a71b66398adadcbad503ee2595e39966 /po/insert-header.sin | |
parent | 9b7d799cadf5d17b408b52d948bfb05d96e01c12 (diff) | |
download | alpine-bc15b12b7f13ec9c9cd855aae0e62be4d0ef9e31.tar.xz |
* In some systems the size of a directory is the sum of the sizes of
all files contained in it, so sbuf.st_size might be too large and the
malloc() might fail with error ENOMEM. Since this is just the list of
files, and not the contents of the files, let us start with a small
amount and resize when necessary. Reported by Sebasting Knust.
Diffstat (limited to 'po/insert-header.sin')
0 files changed, 0 insertions, 0 deletions