Nils Philippsen
6e62fcbe69
Don't drop temporary files all over the place
...
When renaming a file over another which is the same hard link, the
rename is a no-op. This left many temporary files in /var/log/hosts
because a file is attempted to be synced (and thus hard-linked between
dated and undated file names) over a couple of days. The solution to
this is how the `ln` command does it: rename, then unlink the temporary
file.
Signed-off-by: Nils Philippsen <nils@redhat.com >
2021-08-12 09:45:49 +00:00
..
2021-06-21 11:52:25 +00:00
2021-03-25 20:14:10 +00:00
2021-07-13 19:52:24 +00:00
2021-08-11 11:18:17 +00:00
2021-08-04 14:19:45 +00:00
2021-07-23 13:06:23 +02:00
2021-04-03 21:16:51 +02:00
2021-07-29 12:25:57 -07:00
2021-07-31 17:08:49 +00:00
2021-08-10 15:17:02 +00:00
2021-07-31 17:08:49 +00:00
2021-02-05 12:24:03 -08:00
2021-07-13 14:53:53 -07:00
2021-07-22 16:40:09 -04:00
2021-08-12 09:06:47 +02:00
2021-05-11 16:32:30 -07:00
2021-08-06 22:45:22 +09:00
2021-08-11 15:22:42 +02:00
2021-06-14 12:49:11 -07:00
2021-02-04 06:48:28 -05:00
2021-05-18 13:56:54 -07:00
2021-07-02 11:19:45 +02:00
2021-08-04 13:18:53 -04:00
2021-03-24 15:13:14 +00:00
2021-08-04 13:18:53 -04:00
2021-08-04 14:19:45 +00:00
2021-05-11 16:32:30 -07:00
2021-06-17 18:38:47 -07:00
2021-08-11 11:18:17 +00:00
2021-08-02 23:51:02 +00:00
2021-06-14 13:57:15 -07:00
2021-05-05 16:28:06 -07:00
2021-05-27 12:34:56 -04:00
2021-08-11 12:46:46 +09:00
2021-04-05 10:15:52 -07:00
2021-05-20 00:42:32 +00:00
2021-07-21 17:47:19 +02:00
2021-08-10 20:37:12 +00:00
2021-05-06 19:02:38 +02:00
2021-06-17 15:45:19 +02:00
2021-08-10 15:17:02 +00:00
2021-01-14 11:26:52 -08:00
2021-08-11 15:11:24 +00:00
2021-08-04 14:19:45 +00:00
2021-08-10 15:17:02 +00:00
2021-04-29 10:46:54 +02:00
2021-08-04 14:19:45 +00:00
2021-07-13 18:08:00 +02:00
2021-08-09 11:45:53 +00:00
2021-08-10 09:59:23 +02:00
2021-07-09 07:10:53 -07:00
2021-08-04 14:19:45 +00:00
2021-05-10 08:28:03 +02:00
2021-01-18 14:58:58 +01:00
2021-06-18 08:56:17 -07:00
2021-04-28 21:32:05 +00:00
2021-08-11 15:28:38 +02:00
2021-07-12 19:07:52 -07:00
2021-06-02 08:26:25 +00:00
2021-08-10 15:17:02 +00:00
2021-06-08 02:12:05 +02:00
2021-04-07 19:46:44 +00:00
2021-08-10 15:17:02 +00:00
2021-08-04 14:19:45 +00:00
2021-08-10 10:54:18 +02:00
2021-01-28 13:50:56 -08:00
2021-06-11 11:40:51 +02:00
2021-08-11 11:22:06 -07:00
2020-11-29 09:57:46 -08:00
2021-05-13 12:41:05 -07:00
2021-08-11 19:45:10 -07:00
2021-06-14 12:49:11 -07:00
2021-03-24 11:06:44 +00:00
2021-07-05 18:32:07 +10:00
2021-07-29 11:30:59 +01:00
2021-06-23 12:46:40 -07:00
2021-01-18 15:34:48 -08:00
2021-08-12 09:45:49 +00:00
2021-03-16 22:57:35 +01:00