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

Joerg Sonnenberger joerg at crater.dragonflybsd.org
Tue Mar 29 12:03:28 PST 2005


joerg       2005/03/29 12:03:06 PST

DragonFly src repository

  Modified files:
    lib/libc/stdlib      getopt.c 
  Log:
  GNU getopt resets itself partially when the application sets optind to 0.
  A good example in our tree is CVS. Copy this behaviour and put optind into
  BSS.
  
  Revision  Changes    Path
  1.4       +8 -1      src/lib/libc/stdlib/getopt.c


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





More information about the Commits mailing list