Jilles Tjoelker
919e14f01e
sed: Try hard links to make -i target available continually.
...
When creating a backup file, sed renamed the original before renaming the
changed copy into place, leading to a short time when no file with the
original name was present (usually only visible on SMP systems). Try
creating the backup file using a hard link instead, avoiding this problem.
If creating the hard link fails for any reason, fall back to the old rename
method.
When not creating a backup file, sed already renamed the changed copy onto
the original. This remains unchanged.
I am not adding the suppression of redundant fchown/fchmod to this commit,
because FreeBSD appears to check this in the kernel (for msdosfs at least).
PR: bin/153261
Submitted by: Pedro F. Giffuni
Reviewed by: dds (older version)
Obtained from: Illumos
MFC after: 2 weeks
2011-01-08 00:03:18 +00:00
..
2010-12-11 08:32:16 +00:00
2010-12-26 18:15:32 +00:00
2010-11-19 10:15:29 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-12-04 10:11:20 +00:00
2010-12-11 08:32:16 +00:00
2010-12-28 10:08:50 +00:00
2010-12-28 10:08:50 +00:00
2011-01-05 21:17:14 +00:00
2010-12-11 08:32:16 +00:00
2010-10-08 12:40:16 +00:00
2010-12-11 08:32:16 +00:00
2010-11-19 10:18:58 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-09-27 19:03:18 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-11-22 14:16:22 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-12-18 20:43:18 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-12-04 10:11:20 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-12-28 18:58:15 +00:00
2010-10-08 12:40:16 +00:00
2010-10-08 12:40:16 +00:00
2010-12-11 08:32:16 +00:00
2010-09-20 19:42:52 +00:00
2010-10-16 15:24:04 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-11-22 20:18:46 +00:00
2010-12-11 08:32:16 +00:00
2010-11-09 18:28:11 +00:00
2010-11-23 15:08:56 +00:00
2010-12-27 15:05:15 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-12-25 17:35:30 +00:00
2010-12-04 10:11:20 +00:00
2010-12-14 06:07:18 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-10-19 00:01:53 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-10-08 12:40:16 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-12-29 21:38:00 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-12-20 08:47:43 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2011-01-08 00:03:18 +00:00
2010-11-09 10:59:09 +00:00
2010-11-06 15:04:56 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-12-18 00:30:52 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-12-28 10:08:50 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-11-13 11:43:20 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-12-06 09:18:11 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-10-21 20:22:00 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2011-01-07 20:26:33 +00:00
2010-12-11 08:32:16 +00:00
2010-10-11 21:16:50 +00:00
2010-12-11 08:32:16 +00:00
2010-12-11 08:32:16 +00:00
2010-10-03 22:24:14 +00:00