public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/11254] New: Argp fails to recognize certain option aliases
@ 2010-02-05 12:28 gray at gnu dot org dot ua
  2010-04-04 18:29 ` [Bug libc/11254] " drepper at redhat dot com
  2010-05-12  2:35 ` pasky at suse dot cz
  0 siblings, 2 replies; 4+ messages in thread
From: gray at gnu dot org dot ua @ 2010-02-05 12:28 UTC (permalink / raw)
  To: glibc-bugs

Argp fails to properly recognize alias options that have
short option letters. For instance, in this setup (used in GNU inetutils):

static struct argp_option argp_options[] = {
  { "dstaddr", 'd', "ADDR", 0,
    "set destination (peer) address to ADDR" },
  { "peer", 'p', "ADDR", OPTION_ALIAS },
  { NULL }
};

both --peer and -p are not recognized.

The bug is caused by improper use of `|' in argp/argp-parse.c:367.

It was fixed in gnulib, see:

http://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=11fbc574

-- 
           Summary: Argp fails to recognize certain option aliases
           Product: glibc
           Version: 2.12
            Status: NEW
          Keywords: glibc_2.11
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: drepper at redhat dot com
        ReportedBy: gray at gnu dot org dot ua
                CC: glibc-bugs at sources dot redhat dot com
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


http://sourceware.org/bugzilla/show_bug.cgi?id=11254

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug libc/11254] Argp fails to recognize certain option aliases
  2010-02-05 12:28 [Bug libc/11254] New: Argp fails to recognize certain option aliases gray at gnu dot org dot ua
@ 2010-04-04 18:29 ` drepper at redhat dot com
  2010-05-12  2:35 ` pasky at suse dot cz
  1 sibling, 0 replies; 4+ messages in thread
From: drepper at redhat dot com @ 2010-04-04 18:29 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From drepper at redhat dot com  2010-04-04 18:29 -------
Fixed in git.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


http://sourceware.org/bugzilla/show_bug.cgi?id=11254

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug libc/11254] Argp fails to recognize certain option aliases
  2010-02-05 12:28 [Bug libc/11254] New: Argp fails to recognize certain option aliases gray at gnu dot org dot ua
  2010-04-04 18:29 ` [Bug libc/11254] " drepper at redhat dot com
@ 2010-05-12  2:35 ` pasky at suse dot cz
  1 sibling, 0 replies; 4+ messages in thread
From: pasky at suse dot cz @ 2010-05-12  2:35 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From pasky at suse dot cz  2010-05-12 02:34 -------
(-keyword, cherrypicked for 2.11)

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|glibc_2.11                  |


http://sourceware.org/bugzilla/show_bug.cgi?id=11254

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug libc/11254] Argp fails to recognize certain option aliases
       [not found] <bug-11254-131@http.sourceware.org/bugzilla/>
@ 2014-06-30 18:50 ` fweimer at redhat dot com
  0 siblings, 0 replies; 4+ messages in thread
From: fweimer at redhat dot com @ 2014-06-30 18:50 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=11254

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |security-

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-06-30 18:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-05 12:28 [Bug libc/11254] New: Argp fails to recognize certain option aliases gray at gnu dot org dot ua
2010-04-04 18:29 ` [Bug libc/11254] " drepper at redhat dot com
2010-05-12  2:35 ` pasky at suse dot cz
     [not found] <bug-11254-131@http.sourceware.org/bugzilla/>
2014-06-30 18:50 ` fweimer at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).