Date: Fri, 04 May 2007 08:03:23 -0700 From: Tim Kientzle <kientzle@freebsd.org> To: Alexander Leidinger <Alexander@leidinger.net> Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org, Colin Percival <cperciva@freebsd.org> Subject: Re: cvs commit: src/usr.bin/tar write.c Message-ID: <463B4B3B.8080209@freebsd.org> In-Reply-To: <20070504141545.8mis6w94gocw8408@webmail.leidinger.net> References: <200705030433.l434XBvW005733@repoman.freebsd.org> <46397035.7000606@freebsd.org> <463A19D6.6070400@freebsd.org> <20070504141545.8mis6w94gocw8408@webmail.leidinger.net>
next in thread | previous in thread | raw e-mail | index | archive | help
>>> I wonder if it would be simpler to set non-zero exit only >>> if this is the first path returned from tree_next() ... >> >> Hmm... I considered this, but I wasn't sure if there were any edge >> cases where the first path returned by tree_next might not be the >> path passed to tree_open; so I decided to take the route which I >> knew would always work. > > What if someone gives more than one path to tar? The function in question (write_heirarchy) is called once for each command-line argument. Tim Kientzle
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?463B4B3B.8080209>