public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/5762] New: getopt blank option
@ 2008-02-14  8:20 jidanni at jidanni dot org
  2008-02-14 13:30 ` [Bug libc/5762] " ebb9 at byu dot net
  2008-03-08 20:05 ` drepper at redhat dot com
  0 siblings, 2 replies; 4+ messages in thread
From: jidanni at jidanni dot org @ 2008-02-14  8:20 UTC (permalink / raw)
  To: glibc-bugs

http://lists.gnu.org/archive/html/bug-coreutils/2008-02/msg00134.html
explains a getopt problem that I hope you will adjust this bug to reflect better.

-- 
           Summary: getopt blank option
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: minor
          Priority: P3
         Component: libc
        AssignedTo: drepper at redhat dot com
        ReportedBy: jidanni at jidanni dot org
                CC: glibc-bugs at sources dot redhat dot com


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

------- 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/5762] getopt blank option
  2008-02-14  8:20 [Bug libc/5762] New: getopt blank option jidanni at jidanni dot org
@ 2008-02-14 13:30 ` ebb9 at byu dot net
  2008-03-08 20:05 ` drepper at redhat dot com
  1 sibling, 0 replies; 4+ messages in thread
From: ebb9 at byu dot net @ 2008-02-14 13:30 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From ebb9 at byu dot net  2008-02-14 13:29 -------
The problem is that when getopt parses '- ' as an invalid option, the error
message does not do any quoting to make it obvious what went wrong, and instead
leaves trailing blanks on the line.  Compare:

$ cut -q
cut: invalid option -- q
Try `cut --help' for more information.
$ cut '- '
cut: invalid option --  
Try `cut --help' for more information.

Perhaps the message "%s: invalid option -- %c" should be changed to "%s: invalid
option -- `%c'".


-- 


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

------- 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/5762] getopt blank option
  2008-02-14  8:20 [Bug libc/5762] New: getopt blank option jidanni at jidanni dot org
  2008-02-14 13:30 ` [Bug libc/5762] " ebb9 at byu dot net
@ 2008-03-08 20:05 ` drepper at redhat dot com
  1 sibling, 0 replies; 4+ messages in thread
From: drepper at redhat dot com @ 2008-03-08 20:05 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From drepper at redhat dot com  2008-03-08 20:04 -------
I've changed the sources on the trunk.

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


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

------- 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/5762] getopt blank option
       [not found] <bug-5762-131@http.sourceware.org/bugzilla/>
@ 2014-07-02  7:26 ` fweimer at redhat dot com
  0 siblings, 0 replies; 4+ messages in thread
From: fweimer at redhat dot com @ 2014-07-02  7:26 UTC (permalink / raw)
  To: glibc-bugs

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

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-07-02  7:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-14  8:20 [Bug libc/5762] New: getopt blank option jidanni at jidanni dot org
2008-02-14 13:30 ` [Bug libc/5762] " ebb9 at byu dot net
2008-03-08 20:05 ` drepper at redhat dot com
     [not found] <bug-5762-131@http.sourceware.org/bugzilla/>
2014-07-02  7:26 ` 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).