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:
parent
fdf6e579d9
commit
52a2e71b93
11
xdm.changes
11
xdm.changes
@ -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
|
Wed Feb 19 10:33:21 UTC 2014 - sndirsch@suse.com
|
||||||
|
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:dec7af95f16169f9d72def8e213bdb352e830ec47535c93e06d64c912ddde57b
|
oid sha256:a4b28099bc837d7c31ad6c92ceaa4dfe6df631bc431dfc790c0e9ee329b979aa
|
||||||
size 21025
|
size 20821
|
||||||
|
Loading…
Reference in New Issue
Block a user