sensord: Some cleanups,
Get series with b4
b4 am 20090406075553.GA4734@ubuntuVersions newest first
- v1 Latest8 patches 17 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | sensord: Remove commandline interface.prog/ | +9 | 3 replies | |
| 2/8 | sensord: Fix help stringprog/ | +31 | 2 replies | |
| 3/8 | sensord: Introduce struct sensord_argumentsprog/ prog/ prog/ +3 more | +139 | 0 replies | |
| 4/8 | sensord: Fix switch statementprog/ | +0 | 1 reply | |
| 5/8 | sensord: Refactoring of parseChips()prog/ | +19 | 2 replies | |
| 6/8 | sensord: Refactoring of loadConfig()prog/ | +53 | 2 replies | |
| 7/8 | sensord: Use sigaction() for signalprog/ | +25 | 3 replies | |
| 8/8 | sensord: Refactoring of rrdInit()prog/ | +39 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [lm-sensors] [PATCH 0/8] sensord: Some cleanups,
Hello Jean,
this patch series fixes some issues caused by the coding style conversion a while ago. Most of them are deep indentation levels and the related long lines.
Another patch removes the hidden commandline interface. You can call sensord as an console application if you have a link (sensors) pointing to the sensors deamon (sensord). IMO that's really intransparent and I don't know any reason using this.
Further there is a patch introducing a new structure (sensord_arguments). The extern struct sensord_args in args.c now is the place for all the commandline arguments.
A last one replaces the deprecated signal() function by sigaction.
Andre
---
args.c | 205 +++++++++++++++++++++++++++++--------------------------------- args.h | 30 +++++++++ lib.c | 93 ++++++++++++++++------------ rrd.c | 108 ++++++++++++++++---------------- sense.c | 6 - sensord.c | 89 ++++++++++++++++---------- sensord.h | 18 ----- 7 files changed, 294 insertions(+), 255 deletions(-)
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors