[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-tar] invalid diagnostic
From: |
Jim Meyering |
Subject: |
[Bug-tar] invalid diagnostic |
Date: |
Tue, 07 Feb 2006 11:36:20 +0100 |
I found this by inspection.
This changes makes the diagnostic use `keyword', defined like this:
static char *keyword = "GNU.sparse.map";
rather than the hard-coded (and wrong) "GNU.sparse.numbytes":
2006-02-07 Jim Meyering <address@hidden>
* src/xheader.c (sparse_map_decoder): Fix misleading diagnostic.
Index: src/xheader.c
===================================================================
RCS file: /cvsroot/tar/tar/src/xheader.c,v
retrieving revision 1.39
diff -u -p -r1.39 xheader.c
--- src/xheader.c 27 Nov 2005 11:59:34 -0000 1.39
+++ src/xheader.c 7 Feb 2006 10:33:39 -0000
@@ -1,6 +1,6 @@
/* POSIX extended headers for tar.
- Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
+ Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
@@ -1249,7 +1249,7 @@ sparse_map_decoder (struct tar_stat_info
else
{
ERROR ((0, 0, _("Malformed extended header: excess %s=%s"),
- "GNU.sparse.numbytes", arg));
+ keyword, arg));
return;
}
}
- [Bug-tar] invalid diagnostic,
Jim Meyering <=