DragonFly BSD
DragonFly commits List (threaded) for 2005-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 14 Mar 2005 04:36:25 -0800 (PST)

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]