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

Joerg Sonnenberger joerg at crater.dragonflybsd.org
Mon Jan 10 07:39:10 PST 2005


joerg       2005/01/10 07:38:16 PST

DragonFly src repository

  Modified files:
    lib/libc/stdlib      getopt_long.c 
  Log:
  Move the handling of '--' as argument into getopt_internal. Add a parameter
  to getopt_internal and getopt_internal_short to activate support for long
  options. Disable the special 'W' handling for getopt(). Correctly handle
  long option like arguments ('--l') as arguments '-' and 'l'.
  
  Revision  Changes    Path
  1.3       +28 -38    src/lib/libc/stdlib/getopt_long.c


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





More information about the Commits mailing list