From nahed_1234567@icloud.com Tue Apr 6 05:53:13 2021 From: nahed_1234567@icloud.com (N Alyammahi) Date: Tue, 6 Apr 2021 09:53:13 +0400 Subject: N Message-ID: <088F63C8-89D8-4524-ABB2-78FCABFD0351@icloud.com> ???? ??? iPhone ????? ??? From vapier@gentoo.org Sun Apr 11 15:07:37 2021 From: vapier@gentoo.org (Mike Frysinger) Date: Sun, 11 Apr 2021 11:07:37 -0400 Subject: [PATCH] silence unused results warnings from compilers Message-ID: <20210411150737.27733-1-vapier@gentoo.org> Newer C libraries mark these funcs with warn_unused_result, and newer compilers use that to emit warnings. The classic (void) cast is not sufficient either. Put them into an if() check with an empty body. --- bzip2.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/bzip2.c b/bzip2.c index d1f2fa85357c..0f3adfbc3428 100644 --- a/bzip2.c +++ b/bzip2.c @@ -854,6 +854,8 @@ void mySIGSEGVorSIGBUScatcher ( IntNative n ) " system, please try and read it before mailing me. If you don't\n" " have the manual or can't be bothered to read it, mail me anyway.\n" "\n"; + /* Ignore any errors from write. Not much we can do here. */ +#define write(...) if (write(__VA_ARGS__)) {} write ( STDERR_FILENO, "\n", 1 ); write ( STDERR_FILENO, progName, strlen ( progName ) ); write ( STDERR_FILENO, msg, strlen ( msg ) ); @@ -866,6 +868,7 @@ void mySIGSEGVorSIGBUScatcher ( IntNative n ) write ( STDERR_FILENO, msg, strlen (msg) ); write ( STDERR_FILENO, outName, strlen (outName) ); write ( STDERR_FILENO, "\n", 1 ); +#undef write /* Don't call cleanupAndFail. If we ended up here something went terribly wrong. Trying to clean up might fail spectacularly. */ @@ -1078,10 +1081,11 @@ void applySavedFileAttrToOutputFile ( IntNative fd ) retVal = fchmod ( fd, fileMetaInfo.st_mode ); ERROR_IF_NOT_ZERO ( retVal ); - (void) fchown ( fd, fileMetaInfo.st_uid, fileMetaInfo.st_gid ); - /* chown() will in many cases return with EPERM, which can - be safely ignored. - */ + if (fchown ( fd, fileMetaInfo.st_uid, fileMetaInfo.st_gid )) { + /* chown() will in many cases return with EPERM, which can + be safely ignored. + */ + } # endif } -- 2.30.2 From sourceware-bugzilla@sourceware.org Sun Apr 11 15:10:57 2021 From: sourceware-bugzilla@sourceware.org (vapier at gentoo dot org) Date: Sun, 11 Apr 2021 15:10:57 +0000 Subject: [Bug bzip2/25164] bzgrep no longer handles multiple archives In-Reply-To: References: Message-ID: https://sourceware.org/bugzilla/show_bug.cgi?id=25164 Mike Frysinger changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2021-04-11 Ever confirmed|0 |1 -- You are receiving this mail because: You are on the CC list for the bug. From sourceware-bugzilla@sourceware.org Sun Apr 11 15:12:33 2021 From: sourceware-bugzilla@sourceware.org (vapier at gentoo dot org) Date: Sun, 11 Apr 2021 15:12:33 +0000 Subject: [Bug bzip2/26264] hangs on compression of large httpd-error.log file In-Reply-To: References: Message-ID: https://sourceware.org/bugzilla/show_bug.cgi?id=26264 Mike Frysinger changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Last reconfirmed| |2021-04-11 Status|UNCONFIRMED |WAITING -- You are receiving this mail because: You are on the CC list for the bug. From sourceware-bugzilla@sourceware.org Sun Apr 11 15:13:06 2021 From: sourceware-bugzilla@sourceware.org (vapier at gentoo dot org) Date: Sun, 11 Apr 2021 15:13:06 +0000 Subject: =?UTF-8?B?W0J1ZyBiemlwMi8yNTQ5Ml0gYnppcDIuYzogaWdub3JpbmcgcmV0?= =?UTF-8?B?dXJuIHZhbHVlIG9mIOKAmGZjaG93buKAmQ==?= In-Reply-To: References: Message-ID: https://sourceware.org/bugzilla/show_bug.cgi?id=25492 Mike Frysinger changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |https://sourceware.org/pipe | |rmail/bzip2-devel/2021q2/00 | |0125.html --- Comment #2 from Mike Frysinger --- should fix the warnings: https://sourceware.org/pipermail/bzip2-devel/2021q2/000125.html -- You are receiving this mail because: You are on the CC list for the bug.