NetBSD-Bugs archive

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

Re: PR/43639 CVS commit: src/bin/sh

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

From: Robert Elz <kre%munnari.OZ.AU@localhost>
Subject: Re: PR/43639 CVS commit: src/bin/sh
Date: Tue, 31 May 2016 14:33:34 +0700

     Date:        Tue, 31 May 2016 06:30:00 +0000 (UTC)
     From:        David Holland <>
     Message-ID:  <>
   |  I'm not convinced it's worth worrying about.
 No, for named pipes I wouldn't be either, that is not a very likely use case.
 But Joerg's ". /dev/null" is more likely.  . /dev/tty could happen too I guess.
 So, it may be that only directories (as file types - maybe block devices too?)
 get ignored as candicates for . - and anything unreadable (currently the code
 finds the file, and if it ends up being unreadable, you lose - posix actually
 requires, as I read it, that we keep looking for a file that is readable -
 when searching $PATH of course, the path name case is easy.)

Home | Main Index | Thread Index | Old Index