public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/4116] getopt_long does *not* return (or indicate in any way) error condition (if occured) to programmer.
       [not found] <bug-4116-131@http.sourceware.org/bugzilla/>
@ 2012-12-19 10:48 ` schwab@linux-m68k.org
  2012-12-19 13:48 ` eblake at redhat dot com
  1 sibling, 0 replies; 4+ messages in thread
From: schwab@linux-m68k.org @ 2012-12-19 10:48 UTC (permalink / raw)
  To: glibc-bugs

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

Andreas Schwab <schwab@linux-m68k.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|drepper.fsp at gmail dot    |unassigned at sourceware
                   |com                         |dot org

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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

* [Bug libc/4116] getopt_long does *not* return (or indicate in any way) error condition (if occured) to programmer.
       [not found] <bug-4116-131@http.sourceware.org/bugzilla/>
  2012-12-19 10:48 ` [Bug libc/4116] getopt_long does *not* return (or indicate in any way) error condition (if occured) to programmer schwab@linux-m68k.org
@ 2012-12-19 13:48 ` eblake at redhat dot com
  1 sibling, 0 replies; 4+ messages in thread
From: eblake at redhat dot com @ 2012-12-19 13:48 UTC (permalink / raw)
  To: glibc-bugs

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

Eric Blake <eblake at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|ebb9 at byu dot net         |eblake at redhat dot com

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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

* [Bug libc/4116] getopt_long does *not* return (or indicate in any way) error condition (if occured) to programmer.
       [not found] <20070301115804.4116.yiarreshios@datatech.ru>
@ 2009-12-02  0:59 ` ebb9 at byu dot net
  0 siblings, 0 replies; 4+ messages in thread
From: ebb9 at byu dot net @ 2009-12-02  0:59 UTC (permalink / raw)
  To: glibc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ebb9 at byu dot net


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

------- 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/4116] getopt_long does *not* return (or indicate in any way) error condition (if occured) to programmer.
  2007-03-01 11:58 [Bug libc/4116] New: " edvotsyivj at datatech dot ru
@ 2007-03-01 14:55 ` edvotsyivj at datatech dot ru
  0 siblings, 0 replies; 4+ messages in thread
From: edvotsyivj at datatech dot ru @ 2007-03-01 14:55 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From edvotsyivj at datatech dot ru  2007-03-01 14:54 -------
Though "getopt_long" points to an option in question in case of errors:

3) option doesn't allow an argument
4) option requires an argument

... by setting "optopt" variable, but leaves it's "longind" parameter untouched.
 This cause programmer either scan "longopts" array, or build one more
"switch(...)" to find the option in question.

So, "getopt_long" should be fixed to set "longind"

-- 


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

------- 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

end of thread, other threads:[~2012-12-19 13:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-4116-131@http.sourceware.org/bugzilla/>
2012-12-19 10:48 ` [Bug libc/4116] getopt_long does *not* return (or indicate in any way) error condition (if occured) to programmer schwab@linux-m68k.org
2012-12-19 13:48 ` eblake at redhat dot com
     [not found] <20070301115804.4116.yiarreshios@datatech.ru>
2009-12-02  0:59 ` ebb9 at byu dot net
2007-03-01 11:58 [Bug libc/4116] New: " edvotsyivj at datatech dot ru
2007-03-01 14:55 ` [Bug libc/4116] " edvotsyivj at datatech dot ru

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).