diff options
author | Gray Wolf <wolf@wolfsden.cz> | 2020-06-13 02:00:48 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2020-07-11 17:02:37 +0200 |
commit | 051665ef69568cf16a445a86a43d5ae74d303add (patch) | |
tree | e87eaedf959b41ab2c9ce5b318225b1e2a1684e6 /shell/hush_test/hush-vars/param_expand_len.right | |
parent | d21a63f9fca8eb16f79de9b72d4a3484dfaec1fc (diff) | |
download | busybox-051665ef69568cf16a445a86a43d5ae74d303add.tar.gz |
crontab: Fix -e with editors saving using renaming strategy
Some editors (like vim) use renaming strategy to save file. That means
they save a file to some random name and then rename it to final
location. The advantage is that such save is atomic.
However, crontab -e holds open fd to the temporary file, meaning it
never sees the changes. The temporary file needs to be re-opened after
the editor terminates for the changes to properly save.
Fixes #12491
Signed-off-by: Gray Wolf <wolf@wolfsden.cz>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/hush_test/hush-vars/param_expand_len.right')
0 files changed, 0 insertions, 0 deletions