GNU logs - #16055, boring messages


Message sent to bug-parted@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#16055: [PATCH 2/2] "-Wall -Wextra -Werror" compilation patches - part 2/2 parted/ui.c:169:1: error: string length '827' is greater than the length '509' ISO C90 compilers are required to support [-Werror=overlength-strings]
Resent-From: Doron Tsur <doront@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-parted@HIDDEN
Resent-Date: Wed, 04 Dec 2013 16:22:01 +0000
Resent-Message-ID: <handler.16055.B.13861740814476 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 16055
X-GNU-PR-Package: parted
X-GNU-PR-Keywords: patch
To: 16055 <at> debbugs.gnu.org
Cc: Doron Tsur <doront@HIDDEN>, itaib@HIDDEN
X-Debbugs-Original-To: bug-parted@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.13861740814476
          (code B ref -1); Wed, 04 Dec 2013 16:22:01 +0000
Received: (at submit) by debbugs.gnu.org; 4 Dec 2013 16:21:21 +0000
Received: from localhost ([127.0.0.1]:58194 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1VoFCS-0001A5-7S
	for submit <at> debbugs.gnu.org; Wed, 04 Dec 2013 11:21:21 -0500
Received: from eggs.gnu.org ([208.118.235.92]:60336)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <doront@HIDDEN>) id 1VoDw2-0007TQ-ES
 for submit <at> debbugs.gnu.org; Wed, 04 Dec 2013 10:00:18 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <doront@HIDDEN>) id 1VoDvx-0002kt-7t
 for submit <at> debbugs.gnu.org; Wed, 04 Dec 2013 10:00:18 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,UNPARSEABLE_RELAY
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:41904)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <doront@HIDDEN>) id 1VoDvx-0002kp-4t
 for submit <at> debbugs.gnu.org; Wed, 04 Dec 2013 10:00:13 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:33747)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <doront@HIDDEN>) id 1VoDvs-0006nh-Mo
 for bug-parted@HIDDEN; Wed, 04 Dec 2013 10:00:13 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <doront@HIDDEN>) id 1VoDvo-0002ZV-2d
 for bug-parted@HIDDEN; Wed, 04 Dec 2013 10:00:08 -0500
Received: from [193.47.165.129] (port=48042 helo=mellanox.co.il)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <doront@HIDDEN>) id 1VoDvn-0002Uf-Eh
 for bug-parted@HIDDEN; Wed, 04 Dec 2013 10:00:03 -0500
Received: from Internal Mail-Server by MTLPINE2 (envelope-from
 doront@HIDDEN) with SMTP; 4 Dec 2013 16:33:20 +0200
Received: from r-vnc04.mtr.labs.mlnx (r-vnc04.mtr.labs.mlnx [10.208.0.116])
 by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id rB4EXKac018206;
 Wed, 4 Dec 2013 16:33:20 +0200
From: Doron Tsur <doront@HIDDEN>
Date: Wed,  4 Dec 2013 16:33:20 +0200
Message-Id: <1386167600-5683-1-git-send-email-doront@HIDDEN>
X-Mailer: git-send-email 1.7.8.2
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no
 timestamps) [generic]
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-Mailman-Approved-At: Wed, 04 Dec 2013 11:21:17 -0500
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.0 (----)

Tests: Ubuntu 13.10 compilation
.../configure --prefix=/usr --without-readline CFLAGS="-Wall -Wextra -Werror" && make
Signed-off-by: Doron Tsur <doront@HIDDEN>
---
 parted/ui.c |   15 ++++++++-------
 1 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/parted/ui.c b/parted/ui.c
index be93ea9..327cc93 100644
--- a/parted/ui.c
+++ b/parted/ui.c
@@ -166,15 +166,16 @@ static const char* usage_msg = N_(
 "Apply COMMANDs with PARAMETERS to DEVICE.  If no COMMAND(s) are given, "
 "run in\ninteractive mode.\n");
 
-static const char* bug_msg = N_(
+static const char* bug_msg_extension = N_(
 "\n\nYou found a bug in GNU Parted! Here's what you have to do:\n\n"
 "Don't panic! The bug has most likely not affected any of your data.\n"
 "Help us to fix this bug by doing the following:\n\n"
 "Check whether the bug has already been fixed by checking\n"
 "the last version of GNU Parted that you can find at:\n\n"
 "\thttp://ftp.gnu.org/gnu/parted/\n\n"
-"Please check this version prior to bug reporting.\n\n"
-"If this has not been fixed yet or if you don't know how to check,\n"
+"Please check this version prior to bug reporting.\n\n");
+
+static const char* bug_msg = N_("%sIf this has not been fixed yet or if you don't know how to check,\n"
 "please visit the GNU Parted website:\n\n"
 "\thttp://www.gnu.org/software/parted\n\n"
 "for further information.\n\n"
@@ -340,7 +341,7 @@ sa_sigint_handler (int signum __attribute__((unused)), siginfo_t* info, void *uc
 static void
 sa_sigsegv_handler (int signum __attribute__((unused)), siginfo_t* info, void* ucontext __attribute__((unused)))
 {
-        fprintf (stderr, bug_msg, VERSION);
+        fprintf (stderr, bug_msg, bug_msg_extension, VERSION);
         _dump_history ();
 
         if (!info)
@@ -375,7 +376,7 @@ sa_sigsegv_handler (int signum __attribute__((unused)), siginfo_t* info, void* u
 static void
 sa_sigfpe_handler (int signum __attribute__((unused)), siginfo_t* info, void* ucontext __attribute__((unused)))
 {
-        fprintf (stderr, bug_msg, VERSION);
+        fprintf (stderr, bug_msg, bug_msg_extension, VERSION);
         _dump_history ();
 
         if (!info)
@@ -439,7 +440,7 @@ sa_sigfpe_handler (int signum __attribute__((unused)), siginfo_t* info, void* uc
 static void
 sa_sigill_handler (int signum __attribute__((unused)), siginfo_t* info, void* ucontext __attribute__((unused)))
 {
-        fprintf (stderr, bug_msg, VERSION);
+        fprintf (stderr, bug_msg, bug_msg_extension, VERSION);
         _dump_history ();
 
         if (!info)
@@ -617,7 +618,7 @@ _print_exception_text (PedException* ex)
         wipe_line ();
 
         if (ex->type == PED_EXCEPTION_BUG) {
-                fprintf (stderr, bug_msg, VERSION);
+                fprintf (stderr, bug_msg, bug_msg_extension, VERSION);
                 text = str_list_create ("\n", ex->message, "\n\n", NULL);
         } else {
                 text = str_list_create (
-- 
1.7.8.2





Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.503 (Entity 5.503)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Doron Tsur <doront@HIDDEN>
Subject: bug#16055: Acknowledgement ([PATCH 2/2] "-Wall -Wextra -Werror"
 compilation patches - part 2/2 parted/ui.c:169:1: error: string length
 '827' is greater than the length '509' ISO C90 compilers are required to
 support [-Werror=overlength-strings])
Message-ID: <handler.16055.B.13861740814476.ack <at> debbugs.gnu.org>
References: <1386167600-5683-1-git-send-email-doront@HIDDEN>
X-Gnu-PR-Message: ack 16055
X-Gnu-PR-Package: parted
X-Gnu-PR-Keywords: patch
Reply-To: 16055 <at> debbugs.gnu.org
Date: Wed, 04 Dec 2013 16:22:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-parted@HIDDEN

If you wish to submit further information on this problem, please
send it to 16055 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
16055: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D16055
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems



Last modified: Mon, 25 Nov 2019 12:00:02 UTC

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