Two tzcode fixes

Petr Baudis pasky at suse.cz
Fri Dec 1 03:43:33 UTC 2006


  (Resending with correct mailing list address.)

  Hi,

  when checking a diff between tzcode2006o and the current glibc CVS,
I've noticed two changes in glibc which were AFAICS never pushed
upstream.  Both were committed by Ulrich Drepper:


[PATCH] (tofile;): Fix typo in symlink creation.
Tue, 20 Dec 2005 07:55:45 +0000

 timezone/zic.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/timezone/zic.c b/timezone/zic.c
index 57dc531..4e3f42f 100644
--- a/timezone/zic.c
+++ b/timezone/zic.c
@@ -650,7 +650,7 @@ const char * const	tofile;
 						"../");
 					symlinkcontents =
 						ecatalloc(symlinkcontents,
-						fromfile);
+							  fromname);
 					result = symlink(symlinkcontents,
 						toname);
 					if (result == 0)


[PATCH] Fix spelling in message.
Thu, 21 Sep 2006 03:57:30 +0000

 timezone/zdump.c             |    2 +-
 8 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/timezone/zdump.c b/timezone/zdump.c
index 45ce641..d525da1 100644
--- a/timezone/zdump.c
+++ b/timezone/zdump.c
@@ -389,7 +389,7 @@ _("%s: usage is %s [ --version ] [ -v ]
 	}
 	if (fflush(stdout) || ferror(stdout)) {
 		(void) fprintf(stderr, "%s: ", progname);
-		(void) perror(_("Error writing standard output"));
+		(void) perror(_("Error writing to standard output"));
 		exit(EXIT_FAILURE);
 	}
 	exit(EXIT_SUCCESS);

-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
The meaning of Stonehenge in Traflamadorian, when viewed from above, is:
"Replacement part being rushed with all possible speed."
		-- Kurt Vonnegut, Sirens from Titan



More information about the tz mailing list