[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] maint: don't hard-code bug-reporting address
From: |
Jim Meyering |
Subject: |
[PATCH] maint: don't hard-code bug-reporting address |
Date: |
Thu, 30 Dec 2010 11:31:56 +0100 |
FYI,
>From abe24caad4e2b13c52479f97919ec72e40ab28d0 Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
Date: Thu, 30 Dec 2010 10:01:17 +0100
Subject: [PATCH] maint: don't hard-code bug-reporting address
* libparted/exception.c (default_handler): Use PACKAGE_BUGREPORT
rather than hard-coding address@hidden
* libparted/labels/gpt.c (_parse_header) [DISCOVER_ONLY]: Don't
mention the bug-reporting address explicitly, since ped_exception_throw
is about to do just that.
---
libparted/exception.c | 4 ++--
libparted/labels/gpt.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/libparted/exception.c b/libparted/exception.c
index 4a310ba..5dffe7e 100644
--- a/libparted/exception.c
+++ b/libparted/exception.c
@@ -135,9 +135,9 @@ default_handler (PedException* e)
"for more information of what could be useful "
"for bug submitting! "
"Please email a bug report to "
- "address@hidden containing at least the "
+ "%s containing at least the "
"version (%s) and the following message: "),
- VERSION);
+ PACKAGE_BUGREPORT, VERSION);
else
fprintf (stderr, "%s: ",
ped_exception_get_type_string (e->type));
diff --git a/libparted/labels/gpt.c b/libparted/labels/gpt.c
index 4aedd6d..b9ed5c3 100644
--- a/libparted/labels/gpt.c
+++ b/libparted/labels/gpt.c
@@ -679,7 +679,7 @@ _parse_header (PedDisk *disk, const
GuidPartitionTableHeader_t *gpt,
PED_EXCEPTION_IGNORE_CANCEL,
_("The format of the GPT partition table is version "
"%x, which is newer than what Parted can "
- "recognise. Please tell us! address@hidden"),
+ "recognise. Please report this!"),
PED_LE32_TO_CPU (gpt->Revision)) != PED_EXCEPTION_IGNORE)
return 0;
}
--
1.7.3.4
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH] maint: don't hard-code bug-reporting address,
Jim Meyering <=