[Parted-commits] GNU Parted Official Repository: Changes to 'master'

Jim Meyering meyering at alioth.debian.org
Thu Dec 30 10:49:33 UTC 2010


 libparted/exception.c  |    4 ++--
 libparted/labels/gpt.c |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

New commits:
commit ae35e4d76be1f43a3a027d2b8c617b3d6c8e4312
Author: Jim Meyering <meyering at redhat.com>
Date:   Thu Dec 30 10:01:17 2010 +0100

    maint: don't hard-code bug-reporting address
    
    * libparted/exception.c (default_handler): Use PACKAGE_BUGREPORT
    rather than hard-coding bug-parted at ...
    * 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.

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 "
-			"bug-parted at gnu.org 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!  bug-parted at gnu.org"),
+             "recognise.  Please report this!"),
            PED_LE32_TO_CPU (gpt->Revision)) != PED_EXCEPTION_IGNORE)
         return 0;
     }



More information about the Parted-commits mailing list