I do not recall but I don't think so. All the lines in the file were the same but I had added several to the end with a cut and paste. The pasted lines had what appeared to be a space added to the end of each line. There is a chance that it was a non printable character. Once I deleted each of the characters the file parsed properly. I think it would be safe to close this considering that no others have confirmed this and the age of the version.

Doug

----- Original Message ----- From: "Charles Lepple" <[email protected]>
To: "Doug Parsons" <[email protected]>
Cc: "nut-upsdev" <[email protected]>
Sent: Thursday, July 09, 2009 10:26 PM
Subject: **SPAM** Re: Bug in file parsing of ups.conf


On Mon, Oct 23, 2006 at 9:41 AM, Doug Parsons<[email protected]> wrote:
It turns out that there is a bug in the parser for the ups.conf file that if the description contains a space as the last character the next entry will not be recognized and will fail to start. Once I removed the spaces from the last four enties (21 to 24 thus 21 being the last to load) all seems to be
well.

Doug,

What syntax were you using for these lines?

Did you have double-quotes around the descriptions?

Arjen was unable to reproduce this bug:

https://alioth.debian.org/tracker/?func=detail&atid=411542&aid=304024&group_id=30602

--
- Charles Lepple




_______________________________________________
Nut-upsdev mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/nut-upsdev

Reply via email to