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

Joerg Sonnenberger joerg at crater.dragonflybsd.org
Mon Mar 14 04:37:01 PST 2005


joerg       2005/03/14 04:36:25 PST

DragonFly src repository

  Modified files:
    lib/libc/stdlib      getopt_long.c 
  Log:
  Correctly return -1 for "-" as argument as required by SUS.
  Fix a typo where specifying a single invalid short option could
  result in an infinite loop.
  
  Revision  Changes    Path
  1.11      +6 -3      src/lib/libc/stdlib/getopt_long.c


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





More information about the Commits mailing list