[Top][All Lists]

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

bug#16951: zless error under ulimit -v

From: Mark Nudelman
Subject: bug#16951: zless error under ulimit -v
Date: Thu, 06 Mar 2014 14:35:23 -0800
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0

Hi Paul,
Since less-451, if LESSOPEN starts with two pipe chars, less does
examine the exit status of the preprocessor.  Is this what you're
looking for?


On 3/6/2014 1:48 PM, Paul Eggert wrote:
> Thanks for the bug report.  This bug occurs because 'less' ignores the
> exit status of gzip.  That is, 'less' uses the LESSOPEN environment
> variable to discover that gzip is the input processor, and uses gzip,
> but when it calls pclose on the resulting stream it discards the exit
> status returned by pclose.  'less' should inspect the exit status and
> report an error in that case.
> I'll CC: this email to address@hidden to give its developer a
> heads-up.  Mark, the original bug report is here:
> http://bugs.gnu.org/16951

reply via email to

[Prev in Thread] Current Thread [Next in Thread]