This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch, master, updated. glibc-2.13-230-gde81b24


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  de81b24662a219247b71d493a807c542edf4ec9f (commit)
      from  c738465a4c13370f58b797a82cdf1c67e1121867 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=de81b24662a219247b71d493a807c542edf4ec9f

commit de81b24662a219247b71d493a807c542edf4ec9f
Author: Ulrich Drepper <drepper@gmail.com>
Date:   Sat May 28 09:49:05 2011 -0400

    Unify messages
    
    Some shell scripts unnecessarily used different formats for some
    messages.  Unify them to reduce the work of translators.

diff --git a/ChangeLog b/ChangeLog
index 188fc90..4a288d1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
 
+	* debug/xtrace.sh: Unify messages.
+	* malloc/memusage.sh: Likewise.
+
 	[BZ #12813]
 	* sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
 	time symbol from vDSO.  Substitute with vsyscall if not available.
diff --git a/debug/xtrace.sh b/debug/xtrace.sh
index f2e9e22..5cb193a 100755
--- a/debug/xtrace.sh
+++ b/debug/xtrace.sh
@@ -30,13 +30,13 @@ do_usage() {
 
 # Refer to --help option.
 help_info() {
-  printf >&2 $"Try \`xtrace --help' for more information.\n"
+  printf >&2 $"Try \`%s --help' or `%s --usage' for more information.\n" xtrace xtrace
   exit 1
 }
 
 # Message for missing argument.
 do_missing_arg() {
-  printf >&2 $"xtrace: option \`$1' requires an argument.\n"
+  printf >&2 $"%s: option '%s' requires an argument.\n" xtrace "$1"
   help_info
 }
 
diff --git a/malloc/memusage.sh b/malloc/memusage.sh
index 7576292..f1ccbb4 100755
--- a/malloc/memusage.sh
+++ b/malloc/memusage.sh
@@ -24,13 +24,13 @@ TEXTDOMAIN=libc
 
 # Print usage message.
 do_usage() {
-  echo >&2 $"Try \`memusage --help' for more information."
+  printf >&2 $"Try \`%s --help' or `%s --usage' for more information.\n" memusage memusage
   exit 1
 }
 
 # Message for missing argument.
 do_missing_arg() {
-  echo >&2 $"memusage: option \`$1' requires an argument"
+  printf >&2 $"%s: option '%s' requires an argument\n" memusage "$1"
   do_usage
 }
 

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog          |    3 +++
 debug/xtrace.sh    |    4 ++--
 malloc/memusage.sh |    4 ++--
 3 files changed, 7 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]