User: Password:
Subscribe / Log in / New account

A kernel message catalog

A kernel message catalog

Posted Aug 8, 2008 13:41 UTC (Fri) by JohnNilsson (guest, #41242)
In reply to: A kernel message catalog by jamesh
Parent article: A kernel message catalog

One could always maintain a mapping between id's that are the same. But yeah, that probably
isn't much of an improvement.

(Log in to post comments)

A kernel message catalog

Posted Aug 8, 2008 20:10 UTC (Fri) by giraffedata (subscriber, #1954) [Link]

Of all the code changes that break the documentation, grammar and typo corrections will be an insignificant minority.

There's no need to do something fancy like a hash -- just use the literal format string as the identifier. It's already in the documentation code anyway.

Another idea, more searchable than actual text but less of a development PITA than a number: an alphanumeric message ID. Have the macro turn it into a name that would make the compilation fail if it isn't unique.

Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds