Ignore:
Timestamp:
Jul 16, 2008, 7:24:14 PM (7 years ago)
Author:
sam
Message:
  • mygetopt.c: fix a parsing issue with short options.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • neercs/trunk/src/mygetopt.c

    r2444 r2547  
    6262        {
    6363            if(flag[2] != '\0')
    64                 myoptarg = tmp + 2;
     64                myoptarg = flag + 2;
    6565            else
    6666                myoptarg = argv[myoptind++];
Note: See TracChangeset for help on using the changeset viewer.