NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: PR/59838 CVS commit: src/usr.sbin/mtree
> > We do we need to check F_TYPE twice? It is in the outer if...
>
> The outer check is for the case where "/set" should not be printed at
> all, without any key/value pair, for example:
> $ mtree -cn -k flags -R flags,type -p /usr/bin/ -x
> In that corner case, no "/set" line should be printed.
Forgot to mention my doubt:
Reading the comment: "Note that we always output a /set record for the
first directory.", my fear is that it could produce an invalid
specification, because there would be no "/set" record, or, in the
previous case, just an empty "/set" record with no key/value pairs.
Home |
Main Index |
Thread Index |
Old Index