diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2015-07-05 02:27:26 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2015-07-06 11:28:40 +0200 |
| commit | 3708502761771e1af941dfb7f6dd44d97274accf (patch) | |
| tree | fefc25aed6bf89306da1c1a1b4ebd99e7a6850ed /ui-curses.c | |
| parent | c449ac2ce4823d03a42bae9357c7937ddbf91b92 (diff) | |
| download | vis-3708502761771e1af941dfb7f6dd44d97274accf.tar.gz vis-3708502761771e1af941dfb7f6dd44d97274accf.tar.xz | |
text: overhaul save implemenation
Try to do an atomic save using rename(2) unless
* the file is a symbolic link
* the file is a hard link
* file ownership can not be preserved
* file group can not be preserved
* POSXI ACL can not be preserved (if enabled)
* SELinux security context can not be preserved (if enabled)
in which case the file is overwritten in place. However a failure
to do so results in data loss.
Closes #47.
Diffstat (limited to 'ui-curses.c')
0 files changed, 0 insertions, 0 deletions
