GNU bug report logs - #16951
zless error under ulimit -v

Previous Next

Package: gzip;

Reported by: Jaroslaw Weglinski <jaroslaw.weglinski <at> atendesoftware.pl>

Date: Thu, 6 Mar 2014 16:47:01 UTC

Severity: normal

Merged with 18427

Full log


View this message in rfc822 format

From: Mark Nudelman <markn <at> greenwoodsoftware.com>
To: Paul Eggert <eggert <at> cs.ucla.edu>,  Jaroslaw Weglinski <jaroslaw.weglinski <at> atendesoftware.pl>, 16951 <at> debbugs.gnu.org
Subject: bug#16951: zless error under ulimit -v
Date: Thu, 06 Mar 2014 14:35:23 -0800
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?

--Mark


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 bug-less <at> gnu.org to give its developer a
> heads-up.  Mark, the original bug report is here:
> 
> http://bugs.gnu.org/16951




This bug report was last modified 3 years and 129 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.