jilles d7f7bac629 MFC r281082: fts: Don't return FTS_SLNONE if it's not a symlink (if race).
When following symlinks, fts returned FTS_SLNONE when fstatat(flag=0)
failed, but a subsequent fstatat(flag=AT_SYMLINK_NOFOLLOW) succeeded. This
incorrectly triggered if a filename existed to be read from the directory,
was deleted before the fstatat(flag=0) and created again after the
fstatat(flag=0).

Fix this by only returning FTS_SLNONE if the result from
fstatat(flag=AT_SYMLINK_NOFOLLOW) is actually a symlink. If it is not a
symlink, treat it as if fstatat(flag=0) succeeded.

PR:		196724
2015-04-19 13:28:32 +00:00
..
2015-04-04 00:42:09 +00:00
2014-09-01 02:53:32 +00:00
2015-04-09 06:38:32 +00:00
2014-12-31 23:25:37 +00:00
2014-12-31 23:25:37 +00:00
2013-01-01 18:29:25 +00:00
2013-11-29 19:44:30 +00:00
2013-12-10 22:55:22 +00:00
2015-03-02 21:00:54 +00:00
2014-11-25 13:47:53 +00:00
2015-02-08 22:11:24 +00:00
2014-11-25 13:47:53 +00:00
2012-06-02 08:47:26 +00:00
2014-01-09 23:08:56 +00:00
2014-06-20 07:32:03 +00:00
2014-04-24 10:23:35 +00:00
2012-04-18 07:02:53 +00:00
2014-10-29 16:36:08 +00:00
2015-01-23 18:48:59 +00:00
2014-03-31 00:28:54 +00:00
2014-08-21 17:32:38 +00:00
2015-03-24 14:36:10 +00:00
2014-12-21 11:11:17 +00:00
2015-02-11 08:52:29 +00:00
2015-01-26 03:26:37 +00:00
2015-02-20 20:02:47 +00:00
2013-05-12 22:22:12 +00:00
2015-01-01 02:12:43 +00:00
2014-08-08 14:53:01 +00:00
2014-02-01 22:29:04 +00:00
2013-11-14 09:25:29 +00:00
2015-04-09 19:36:06 +00:00
2012-10-18 15:39:29 +00:00
2015-03-05 09:01:46 +00:00
2013-05-12 22:22:12 +00:00
2015-04-12 06:52:43 +00:00
2014-07-19 23:44:57 +00:00
2015-01-28 19:49:53 +00:00
2013-10-23 18:07:07 +00:00
2014-07-20 00:32:22 +00:00
2015-03-23 20:00:35 +00:00
2015-01-05 00:15:27 +00:00
2013-12-28 20:05:31 +00:00
2015-03-24 14:36:10 +00:00