SHA256
3
0
forked from pool/bash
bash/bash-3.0-evalexp.patch
OBS User autobuild 92426585d7 Accepting request 18772 from Base:System
Copy from Base:System/bash based on submit request 18772 from user coolo

OBS-URL: https://build.opensuse.org/request/show/18772
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=43
2009-08-28 15:45:57 +00:00

16 lines
363 B
Diff

Index: expr.c
===================================================================
--- expr.c.orig
+++ expr.c
@@ -410,8 +410,8 @@ expassign ()
value = expcond ();
if (curtok == EQ || curtok == OP_ASSIGN)
{
- int special, op;
- intmax_t lvalue;
+ int special, op = -1;
+ intmax_t lvalue = 0;
special = curtok == OP_ASSIGN;