Re: [PATCH] fts: avoid false-positive cycle-detection

2009-07-27 Thread Jim Meyering
James Youngman wrote: > On Sun, Jul 19, 2009 at 9:35 PM, Jim Meyering wrote: >> I'm considering a rewrite of rm that uses fts.c, >> and see that the resulting rm fails coreutils' rm/cycle test >> because it incorrectly reports a cycle for that unusual case. >> >> The following patch fixes fts so th

Re: [PATCH] fts: avoid false-positive cycle-detection

2009-07-26 Thread James Youngman
home/james/tmp/a/file /home/james/tmp/a /home/james/tmp/a/file > > From a90d85f9e7ca8329d05bb7dd02cf807b9086b71e Mon Sep 17 00:00:00 2001 > From: Jim Meyering > Date: Sun, 19 Jul 2009 22:33:09 +0200 > Subject: [PATCH] fts: avoid false-positive cycle-detection > > * lib/fts.c (

[PATCH] fts: avoid false-positive cycle-detection

2009-07-19 Thread Jim Meyering
hard, either. >From a90d85f9e7ca8329d05bb7dd02cf807b9086b71e Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 19 Jul 2009 22:33:09 +0200 Subject: [PATCH] fts: avoid false-positive cycle-detection * lib/fts.c (fts_read): Reinitialize cycle-detection data structures for each new command line a