cvs commit: src/lib/libc/stdlib getopt_long.c

Joerg Sonnenberger joerg at crater.dragonflybsd.org
Mon Jan 10 09:40:59 PST 2005


joerg       2005/01/10 09:40:32 PST

DragonFly src repository

  Modified files:
    lib/libc/stdlib      getopt_long.c 
  Log:
  Fix two small bugs in getopt_long_only handling:
  - a short option followed by a long option is parsed as that
    (inspired by OpenBSD)
  - the place variable has to be reset after long option parsing failed
  
  Revision  Changes    Path
  1.5       +4 -3      src/lib/libc/stdlib/getopt_long.c


http://www.dragonflybsd.org/cvsweb/src/lib/libc/stdlib/getopt_long.c.diff?r1=1.4&r2=1.5&f=u





More information about the Commits mailing list