Jilles Tjoelker
deb090cba3
Fix race condition in noclobber option.
...
Formerly, it was possible for the file to be created between the check if it
existed and the open; the contents would then be lost.
Because this must use O_EXCL, noclobber > will not create a file through a
symlink anymore. This agrees with behaviour of other shells.
Approved by: ed (mentor) (implicit)
2009-06-20 20:44:27 +00:00
..
2009-03-16 12:16:17 +00:00
2009-05-24 15:27:25 +00:00
2008-10-30 19:51:02 +00:00
2009-01-26 18:14:21 +00:00
2009-05-30 10:36:14 +00:00
2007-05-16 21:22:38 +00:00
2008-02-07 16:04:24 +00:00
2009-01-30 16:23:57 +00:00
2009-06-07 09:06:21 +00:00
2006-12-18 15:45:01 +00:00
2008-08-04 01:25:48 +00:00
2007-12-09 00:14:27 +00:00
2007-03-04 19:52:07 +00:00
2007-09-19 02:04:47 +00:00
2006-12-08 07:47:08 +00:00
2009-01-13 18:25:56 +00:00
2007-03-04 09:15:12 +00:00
2009-01-13 15:24:35 +00:00
2009-04-13 15:29:14 +00:00
2006-12-27 11:28:00 +00:00
2008-07-19 00:13:26 +00:00
2009-02-01 06:15:46 +00:00
2009-05-17 04:34:14 +00:00
2009-05-24 15:32:34 +00:00
2005-02-09 17:37:39 +00:00
2008-10-28 17:15:46 +00:00
2008-03-09 12:46:39 +00:00
2009-05-30 10:42:19 +00:00
2005-06-10 06:12:53 +00:00
2006-12-27 12:14:56 +00:00
2008-09-06 13:17:35 +00:00
2009-06-20 20:44:27 +00:00
2005-08-07 09:11:38 +00:00
2008-08-23 13:28:55 +00:00
2005-01-10 08:39:26 +00:00
2009-05-26 22:33:10 +00:00
2008-03-13 17:38:06 +00:00
2008-08-31 14:27:59 +00:00
2006-03-17 18:54:44 +00:00