jilles
e3cb9d1015
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
..
2005-08-13 15:04:30 +00:00
2005-01-10 08:39:26 +00:00
2009-06-01 10:50:17 +00:00
2004-04-06 20:06:54 +00:00
2005-08-13 07:54:23 +00:00
2008-04-27 20:46:45 +00:00
2008-04-27 20:46:45 +00:00
2006-04-02 18:43:33 +00:00
2008-02-24 16:50:55 +00:00
2004-04-06 20:06:54 +00:00
2006-02-04 14:37:50 +00:00
2004-04-06 20:06:54 +00:00
2009-06-13 21:17:45 +00:00
2009-06-13 21:17:45 +00:00
2009-06-01 11:11:46 +00:00
2006-04-09 12:21:20 +00:00
2008-05-15 19:55:27 +00:00
2004-04-06 20:06:54 +00:00
2009-05-31 12:36:14 +00:00
2004-04-06 20:06:54 +00:00
2009-06-17 21:58:32 +00:00
2009-06-13 21:17:45 +00:00
2006-10-07 16:51:16 +00:00
2006-10-07 16:51:16 +00:00
2005-08-13 08:26:58 +00:00
2004-04-06 20:06:54 +00:00
2009-06-13 21:17:45 +00:00
2004-04-06 20:06:54 +00:00
2007-11-18 01:53:07 +00:00
2009-06-01 10:50:17 +00:00
2009-06-01 10:50:17 +00:00
2009-05-31 19:37:06 +00:00
2006-04-02 18:43:33 +00:00
2009-06-01 10:50:17 +00:00
2008-08-04 01:25:48 +00:00
2009-06-01 11:38:38 +00:00
2005-01-10 08:39:26 +00:00
2004-04-06 20:06:54 +00:00
2004-04-06 20:06:54 +00:00
2004-04-06 20:06:54 +00:00
2004-04-06 20:06:54 +00:00
2005-01-10 08:39:26 +00:00
2008-08-27 20:16:06 +00:00
2004-04-06 20:06:54 +00:00
2009-06-19 22:09:55 +00:00
2004-04-06 20:06:54 +00:00
2009-06-01 11:02:09 +00:00
2008-05-15 19:55:27 +00:00
2009-06-20 20:44:27 +00:00
2004-04-06 20:06:54 +00:00
2009-06-07 15:04:43 +00:00
2008-04-27 20:46:45 +00:00
2006-04-14 13:59:03 +00:00
2004-04-06 20:06:54 +00:00
2006-04-16 11:54:01 +00:00
2009-06-13 21:10:41 +00:00
2009-06-13 21:10:41 +00:00
2009-06-01 11:02:09 +00:00
2006-06-15 07:00:49 +00:00