cvs commit: src/usr.bin/tar write.c

Tim Kientzle kientzle at freebsd.org
Fri May 4 15:03:29 UTC 2007


>>> 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


More information about the cvs-all mailing list