Fixed bug in handling the default value of 'binlist' array #13

Merged
merged 4 commits into from Nov 7, 2012

Projects

None yet

2 participants

@lahwaacz
Contributor
lahwaacz commented Nov 6, 2012

The default value of 'binlist' array was handled incorrectly. When initialized as '()', the length of array as reported by '${#binlist[@]}' was 1, not 0, so cdm exited with "* cdm: unknown flag: `()'." when used with empty (or default) config.

@lahwaacz
Contributor
lahwaacz commented Nov 7, 2012

Now I really consider the bug fixed. See https://aur.archlinux.org/packages/cdm-git/

@ghost1227 ghost1227 merged commit 8942979 into ghost1227:master Nov 7, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment