On 04/22/2010 08:30 AM, Jan Pazdziora wrote:
It looks like we have the same or very similar loop for most platforms. Maybe it would make sense to have the top level while and parsing of the /proc/cpuinfo to be common code, and only do the ifs when reading in the specific fields. Patches welcome, if anyone wants to give it a try.
Patch commited as 95dd86629dfc2d8a6ef67846cb446f4c56c2289d Thank for noticing such ugliness in our code. -- Miroslav Suchy Red Hat Satellite Engineering _______________________________________________ Spacewalk-devel mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-devel
