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-01-30 16:23:57 +00:00
2006-12-18 15:45:01 +00:00
2007-03-04 19:52:07 +00:00
2007-03-04 09:15:12 +00:00
2009-04-13 15:29:14 +00:00
2006-12-27 11:28:00 +00:00
2006-12-27 12:14:56 +00:00
2005-08-07 09:11:38 +00:00