#30 getopt_long() missing argv permutation

closed-rejected
Olaf Barthel
None
5
2008-05-02
2006-07-20
Steven Solie
No

From the source file for getopt_long:
/* Note: This implementation currently does not permute
argv vectors, and will
* stop parsing input on the first non-option argument
*/

Well it turns out the texinfo toolset needs this
feature to work correctly.

I'm not sure what other GNU tools need this feature but
it should be added.

See any man page on getopt_long() for details.

Discussion

  • Olaf Barthel
    Olaf Barthel
    2006-07-28

    • assigned_to: nobody --> obarthel
     
  • Logged In: NO

    It is probably best to forget about this mis-feature.

    Modifying read-only memory is not a good thing.

    I suggest dropping this one.

     
  • Steven Solie
    Steven Solie
    2008-05-02

    • status: open --> open-rejected
     
  • Steven Solie
    Steven Solie
    2008-05-02

    Logged In: YES
    user_id=1140661
    Originator: YES

    I'm going to reject and close this one.

     
  • Steven Solie
    Steven Solie
    2008-05-02

    • status: open-rejected --> closed-rejected