Skip to contentSkip to conversation

Coding style in sensors daemon (sensord)

lm-sensors Andre Prendel 2 participants 2 messages Mar 4, 2009

lore
Share & tools
lore
#0 lore raw

Hi,

looking at the source code in prog/sensord I've seen gnu coding style. IMO this is really hard to read. In sensors/ and dump/ we are using the kernel style and I prefer this one.

To be consistent and ease reading and fixing, I will spend some time to bring the sensord code in shape.

Any objections?

Andre

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#1 lore raw

Hallo Andre,

Quoted 8 lines · Andre Prendel

looking at the source code in prog/sensord I've seen gnu coding style. IMO this is really hard to read. In sensors/ and dump/ we are using the kernel style and I prefer this one.

To be consistent and ease reading and fixing, I will spend some time to bring the sensord code in shape.

Any objections?

No objections, please go ahead. sensord was contributed by Merlin Hughes a long time ago, and while I (and others) spent a significant amount of time cleaning up the coding style of other parts of the code, sensord didn't receive too much love over the past few years... Just the minimum to keep it alive. You are very welcome to improve the sensord code, be it the style or the code itself.

Thanks,

Signature · 6 lines
Jean Delvare

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors