diff --git a/xdm.changes b/xdm.changes index fb484b5..999e7e4 100644 --- a/xdm.changes +++ b/xdm.changes @@ -1,6 +1,17 @@ ------------------------------------------------------------------- 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 Mar 5 08:36:01 UTC 2014 - cxiong@suse.com + - fix two array iteration bug in etc/X11/xdm/Xsession (xdm.tar.bz2) 1. "${#argv[@]}" is just the size of the array instead of all the elements,