Re: [PATCH resend] sed: check errors writing file with sed -i

2024-01-01 Thread Denys Vlasenko
Applied, thank you! On Tue, Sep 19, 2023 at 10:11 AM Dominique Martinet wrote: > > From: Dominique Martinet > > sed would currently not error if write failed when modifying a file. > > This can be reproduced with the following 'script': > $ sudo mount -t tmpfs tmpfs -o size=1M /tmp/m > $ sudo ch

Re: [PATCH resend] sed: check errors writing file with sed -i

2023-10-06 Thread Natanael Copa
Hi! Any change to get this merged? We have used it in alpine for a while, and so far no issues. Thanks! -nc On Tue, 19 Sep 2023 17:11:02 +0900 Dominique Martinet wrote: > From: Dominique Martinet > > sed would currently not error if write failed when modifying a file. > > This can be repr

[PATCH resend] sed: check errors writing file with sed -i

2023-09-19 Thread Dominique Martinet
From: Dominique Martinet sed would currently not error if write failed when modifying a file. This can be reproduced with the following 'script': $ sudo mount -t tmpfs tmpfs -o size=1M /tmp/m $ sudo chmod 777 /tmp/m $ echo foo > /tmp/m/foo $ dd if=/dev/zero of=/tmp/m/fill bs=4k dd: error writing

[PATCH resend] sed: check errors writing file with sed -i

2023-02-02 Thread Dominique Martinet
From: Dominique Martinet sed would currently not error if write failed when modifying a file. This can be reproduced with the following 'script': $ sudo mount -t tmpfs tmpfs -o size=1M /tmp/m $ sudo chmod 777 /tmp/m $ echo foo > /tmp/m/foo $ dd if=/dev/zero of=/tmp/m/fill bs=4k dd: error writing