This is the mail archive of the glibc-bugs@sources.redhat.com 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]

[Bug libc/1053] New: typo in xtrace shell script causes misbehaviour


Due to a typo in the xtrace shell script, 'xtrace -V' behaves in the same way as
'xtrace --help' and not, as it should, as 'xtrace --version'.

Here a small patch fixing this:

diff -ur glibc-2.3.5.orig/debug/xtrace.sh glibc-2.3.5/debug/xtrace.sh
--- glibc-2.3.5.orig/debug/xtrace.sh    2005-02-16 11:29:40.000000000 +0100
+++ glibc-2.3.5/debug/xtrace.sh 2005-07-06 11:23:53.000000000 +0200
@@ -107,7 +107,7 @@
   --d=* | --da=* | --dat=* | --data=*)
     data=${1##*=}
     ;;
-  -? | --h | --he | --hel | --help)
+  -\? | --h | --he | --hel | --help)
     do_help
     ;;
   -V | --v | --ve | --ver | --vers | --versi | --versio | --version)

-- 
           Summary: typo in xtrace shell script causes misbehaviour
           Product: glibc
           Version: 2.3.5
            Status: NEW
          Severity: minor
          Priority: P2
         Component: libc
        AssignedTo: gotom at debian dot or dot jp
        ReportedBy: peb at mppmu dot mpg dot de
                CC: glibc-bugs at sources dot redhat dot com
 GCC build triplet: i686-linux-gnu
  GCC host triplet: i686-linux-gnu
GCC target triplet: i686-linux-gnu


http://sources.redhat.com/bugzilla/show_bug.cgi?id=1053

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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