Return-Path: Delivered-To: apmail-apr-cvs-archive@apr.apache.org Received: (qmail 94694 invoked by uid 500); 19 Jul 2001 04:14:21 -0000 Mailing-List: contact cvs-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: dev@apr.apache.org Delivered-To: mailing list cvs@apr.apache.org Received: (qmail 94682 invoked from network); 19 Jul 2001 04:14:20 -0000 Date: 19 Jul 2001 04:13:06 -0000 Message-ID: <20010719041306.31692.qmail@icarus.apache.org> From: wrowe@apache.org To: apr-cvs@apache.org Subject: cvs commit: apr/misc/unix getopt.c X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N 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;