SHA256
1
0
forked from pool/xdm

Accepting request 224695 from home:cxiong:branches:X11:XOrg

fix array iteration bug, see bnc#866874

OBS-URL: https://build.opensuse.org/request/show/224695
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xdm?expand=0&rev=57
This commit is contained in:
Egbert Eich 2014-03-05 09:48:32 +00:00 committed by Git OBS Bridge
parent fdf6e579d9
commit 52a2e71b93
2 changed files with 13 additions and 2 deletions

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Wed Mar 5 08:36:01 UTC 2014 - cxiong@suse.com
- fix two array iteration bug
1. "${#argv[@]}" is just the size of the array instead of all the elements, i.e.
"${argv[@]}", no sharp "#" sign.
2. index of array starting from 0, so "argc" should be increased at the end of
iteration loop.
-------------------------------------------------------------------
Wed Feb 19 10:33:21 UTC 2014 - sndirsch@suse.com

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:dec7af95f16169f9d72def8e213bdb352e830ec47535c93e06d64c912ddde57b
size 21025
oid sha256:a4b28099bc837d7c31ad6c92ceaa4dfe6df631bc431dfc790c0e9ee329b979aa
size 20821