bug-idutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-idutils] [Bug report] No matter how the options(-x, -o, -d) are spe


From: Shigio YAMAGUCHI
Subject: [bug-idutils] [Bug report] No matter how the options(-x, -o, -d) are specified, the result is the same.
Date: Wed, 13 Jul 2011 15:07:38 +0900

Hello,
Though I might be misunderstanding about it, I might have found a bug.

1. Situation of the trouble
---------------------------

No matter how the options(-x,-o,-d) are specified, the result is the same.

% lid 0xff
0377           libglibc/regex.c
0xFF           libglibc/regex.c
0xff           htags/defineindex.c libdb/{bt_split,mpool}.c
255            libdb/compat.h global/global.c gtags/gtags.c
% lid -x 0xff
0377           libglibc/regex.c
0xFF           libglibc/regex.c
0xff           htags/defineindex.c libdb/{bt_split,mpool}.c
255            libdb/compat.h global/global.c gtags/gtags.c
% lid -o 0xff
0377           libglibc/regex.c
0xFF           libglibc/regex.c
0xff           htags/defineindex.c libdb/{bt_split,mpool}.c
255            libdb/compat.h global/global.c gtags/gtags.c
% lid -d 0xff
0377           libglibc/regex.c
0xFF           libglibc/regex.c
0xff           htags/defineindex.c libdb/{bt_split,mpool}.c
255            libdb/compat.h global/global.c gtags/gtags.c

2. Correction of the trouble
----------------------------

o Fixed version

% lid 0xff
0377           libglibc/regex.c
0xFF           libglibc/regex.c
0xff           htags/defineindex.c libdb/{bt_split,mpool}.c
255            libdb/compat.h global/global.c gtags/gtags.c
% lid -x 0xff
0xFF           libglibc/regex.c
0xff           htags/defineindex.c libdb/{bt_split,mpool}.c
% lid -o 0xff
0377           libglibc/regex.c
% lid -d 0xff
255            libdb/compat.h global/global.c gtags/gtags.c

Here is the patch.
Thank you for your great tool.


*** lid.c.org   Sat Jul 22 12:13:53 2006
--- lid.c       Wed Jul 13 14:55:49 2011
***************
*** 164,170 ****
  
  /* Which radixes do we want? */
  
! int radix_flag = radix_all;
  
  /* If nonzero, ignore differences in alphabetic case while matching.  */
  
--- 164,170 ----
  
  /* Which radixes do we want? */
  
! int radix_flag = 0;
  
  /* If nonzero, ignore differences in alphabetic case while matching.  */
  
***************
*** 389,394 ****
--- 389,396 ----
    if (show_help)
      help_me ();
  
+   if (radix_flag == 0)
+     radix_flag = radix_all;
    if (separator_style == ss_contextual)
      {
        if (isatty (STDOUT_FILENO))
--
Shigio YAMAGUCHI <address@hidden>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3



reply via email to

[Prev in Thread] Current Thread [Next in Thread]