Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: Small fix for uninitialized variable
- X-seq: zsh-workers 11587
- From: Felix Rosencrantz <f_rosencrantz@xxxxxxxxx>
- To: zsh-workers <zsh-workers@xxxxxxxxxxxxxx>
- Subject: PATCH: Small fix for uninitialized variable
- Date: Thu, 25 May 2000 22:35:50 -0700 (PDT)
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Here's a small patch that fixes uninitialized memory accesses found
at run-time via the tests.
-FR.
__________________________________________________
Do You Yahoo!?
Kick off your party with Yahoo! Invites.
http://invites.yahoo.com/
Index: Src/pattern.c
===================================================================
--- zsh/Src/opattern.c Thu Apr 27 03:58:49 2000
+++ zsh/Src/pattern.c Thu May 25 22:49:05 2000
@@ -631,7 +631,7 @@
patcompbranch(int *flagp)
{
long chain, latest, starter;
- int flags;
+ int flags = 0;
*flagp = P_PURESTR;
Messages sorted by:
Reverse Date,
Date,
Thread,
Author