Re: FTSENT: name and path on `/' versus name and path on `*/'

2012-03-19 Thread John Baldwin
On Thursday, March 15, 2012 4:46:03 pm Matthew Story wrote: > Found a curious incongruent behavior in fts(3), wondering if there is some > reason for this, or if it's just a bug. If you include the path > > `/' > > the FTSENT at depth 0 that is returned for the path has both fts_path = "/" > and

FTSENT: name and path on `/' versus name and path on `*/'

2012-03-15 Thread Matthew Story
Found a curious incongruent behavior in fts(3), wondering if there is some reason for this, or if it's just a bug. If you include the path `/' the FTSENT at depth 0 that is returned for the path has both fts_path = "/" and fts_name = "/", compared to other entries, like /var which has fts_path =