Re: [PATCH] look: use WORDLIST environment variable to find word list

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

 



On Tue, Aug 15, 2017 at 07:13:34PM +0100, Sami Kerola wrote:
> On Mon, 14 Aug 2017, Karel Zak wrote:
> 
> > Would be better fallback to _PATH_WORDS if WORDLIST= points to
> > nowhere?
> > 
> >     file = _PATH_WORDS; /* default */
> >     if ((x = getenv("WORDLIST")) && access(file, R_OK) == 0)
> >         file = x;
> > 
> > seems like more backwardly compatible way.
> 
> No problems, change is updated much like proposed above.
> 
> https://github.com/kerolasa/lelux-utiliteetit/commit/dd8be07d84988b130286a1194210bdb26b223736
> 
> That is in branch: 2017wk32

Applied, thanks.

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux