Re: [PATCH] strip don't mmap debug output file.

2019-06-24 Thread Mark Wielaard
On Tue, 2019-06-18 at 13:50 +0200, Mark Wielaard wrote: > Using ELF_C_WRITE_MMAP sometimes causes unexpected errors when disk > space is low. When writing out the file, the output file is first > extended so that it covers the whole file/mmap size. But it might > be that the file system allowed the

[PATCH] strip don't mmap debug output file.

2019-06-18 Thread Mark Wielaard
Using ELF_C_WRITE_MMAP sometimes causes unexpected errors when disk space is low. When writing out the file, the output file is first extended so that it covers the whole file/mmap size. But it might be that the file system allowed the extension as a sparse file. In that case writing to the file th