XML format change

Dirk Hohndel dirk at hohndel.org
Sun Dec 23 10:30:34 PST 2012


On Dec 23, 2012, at 10:23 AM, Linus Torvalds wrote:
>> Funny you should mention that. I have been pondering that problem in my lookups
>> already… and hate the fact that the current code is rather inconsistent in how it uses
>> model and/or deviceid.
> 
> Actually, I think it's consistent. The code I wrote should
> consistently check the model (with a "strcasecmp()") first, and then
> check deviceid second. And your nickname code consistently only checks
> deviceid.
> 
> I think. But you may be right that there are inconsistencies even
> within those rules ;)

It's my recent code that I think is a bit inconsistent. I sometimes do the lookup just by deviceid.
I'll fix that.

/D


More information about the subsurface mailing list