You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by wr...@apache.org on 2001/07/19 06:13:06 UTC

cvs commit: apr/misc/unix getopt.c

wrowe       01/07/18 21:13:06

  Modified:    misc/unix getopt.c
  Log:
    Uninitialized data :(
  
  Revision  Changes    Path
  1.34      +1 -0      apr/misc/unix/getopt.c
  
  Index: getopt.c
  ===================================================================
  RCS file: /home/cvs/apr/misc/unix/getopt.c,v
  retrieving revision 1.33
  retrieving revision 1.34
  diff -u -r1.33 -r1.34
  --- getopt.c	2001/05/16 05:30:52	1.33
  +++ getopt.c	2001/07/19 04:13:05	1.34
  @@ -55,6 +55,7 @@
   
       *os = apr_palloc(cont, sizeof(apr_getopt_t));
       (*os)->cont = cont;
  +    (*os)->reset = 0;
       (*os)->err = 1;
       (*os)->place = EMSG;
       (*os)->argc = argc;