>So I traced the chg-zd-mtx script and discovered that there was a
>variable, cleancount, that was not getting initialized (as opposed to
>being initialized to 0). ...
>... Somehow, an empty changer-clean file
>was created with 0 length, which doesn't work at all. ...
>
>Is this a bug? ...
Looks like one to me. Thanks for the problem analysis.
The following patch does two things. First, if the files are zero
length, they get initialized. It used to only initialize them if they
didn't exist.
Second, it attempts to validate the contents are numeric and if not,
resets each to zero.
Please give this a try and let me know how it goes. You should be able
to make copies of your changer config/counter files, put bad stuff in
and test, zap them to empty and test, etc, then restore from the copies.
Obviously, I now need to go through **all** the changer scripts looking
for this type of error. Thanks a lot :-) :-).
>Jeff
John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]
chg-zd-mtx.diff