GNU bug report logs - #77724
[PATCH] maint: include errno.h

Previous Next

Package: gzip;

Reported by: Andreas Stieger <Andreas.Stieger <at> gmx.de>

Date: Fri, 11 Apr 2025 07:01:04 UTC

Severity: normal

Tags: patch

Full log


View this message in rfc822 format

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Andreas Stieger <Andreas.Stieger <at> gmx.de>
Cc: 77724 <at> debbugs.gnu.org, Sarah Julia Kriesch <ada.lovelace <at> gmx.de>
Subject: bug#77724: [PATCH] maint: include errno.h
Date: Fri, 11 Apr 2025 00:14:03 -0700
On 2025-04-10 22:27, Andreas Stieger via GNU gzip discussion and bug 
reports. wrote:
> Found building for s390x on openSUSE
> ---
> dfltcc.c | 1 +
> 1 file changed, 1 insertion(+)
> 
> diff --git a/dfltcc.c b/dfltcc.c
> index 9f86581..7333757 100644
> --- a/dfltcc.c
> +++ b/dfltcc.c
> @@ -18,6 +18,7 @@
> #include <config.h>
> #include <stdlib.h>
> +#include <errno.h>
> #ifdef HAVE_SYS_SDT_H
> # include <sys/sdt.h>

Why is this needed? What happens if you omit "#include <errno.h>".

The line numbers don't seem to match the current gzip source code; could 
you please try the latest gzip?




This bug report was last modified 69 days ago.

Previous Next


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