GNU bug report logs - #75405
gzip --synchronous doesn't work with musl

Previous Next

Package: gzip;

Reported by: Lasse Collin <lasse.collin <at> tukaani.org>

Date: Mon, 6 Jan 2025 13:30:01 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


Message #17 received at 75405 <at> debbugs.gnu.org (full text, mbox):

From: Lasse Collin <lasse.collin <at> tukaani.org>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: 75405 <at> debbugs.gnu.org
Subject: Re: bug#75405: gzip --synchronous doesn't work with musl
Date: Wed, 8 Jan 2025 12:50:55 +0200
[Message part 1 (text/plain, inline)]
On 2025-01-08 Paul Eggert wrote:
> On 2025-01-07 10:22, Lasse Collin wrote:
> 
> > However, one thing that isn't an issue in musl is fchmod which is
> > currently documented in Gnulib's doc/posix-headers/fcntl.texi.
> > fchmod and a few others were fixed in 2013 by using
> > /proc/self/fd.[1]  
> 
> Is that a full fix, though? /proc might not be mounted.

No, it requires /proc, but it works most of the time...

> > It could be useful to add a test for gzip --synchronous.  
> 
> Feel free....

Attached. It's based on z-suffix.

-- 
Lasse Collin
[test-synchronous.patch (text/x-patch, attachment)]

This bug report was last modified 186 days ago.

Previous Next


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