split: don’t trust st_size on /proc files
commit11163675818ab877f20d3740a7c3e59d565b8e9c
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 6 Apr 2024 22:18:04 +0000 (6 15:18 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 6 Apr 2024 22:18:28 +0000 (6 15:18 -0700)
tree53f79fc17540cfea07fd41510b52b9e3da6af4e4
parent8ff3903281e03d36dd1aa2a202a56f38af726d91
split: don’t trust st_size on /proc files

* src/split.c (create): Don’t trust st_size == 0.
src/split.c