NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/43751: ls -L returns wrong exit code

The following reply was made to PR bin/43751; it has been noted by GNATS.

From: "Valeriy E. Ushakov" <>
Subject: Re: bin/43751: ls -L returns wrong exit code
Date: Thu, 12 Aug 2010 23:30:02 +0400

 I don't think this is recent.  NetBSD 1.6 behaves the same way.
 Basically, we use -L only to select FTS_LOGICAL instead of
 FTS_PHYSICAL.  printing code doesn't know whether -L was specified.
 For links with non-existent targets fts_children(3) returns the link
 info (as it would for FTS_PHYSICAL) and printing code just happily
 prints it.

Home | Main Index | Thread Index | Old Index