Summary: | Support for floating point settings | ||
---|---|---|---|
Product: | realmd | Reporter: | Marius Vollmer <marius.vollmer> |
Component: | General | Assignee: | Stef Walter <stefw> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | enhancement | ||
Priority: | medium | CC: | stefw |
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Bug Depends on: | |||
Bug Blocks: | 62212 | ||
Attachments: |
Adds realm_settings_double function.
Adds realm_settings_double function. |
Description
Marius Vollmer
2013-03-11 11:20:33 UTC
Created attachment 76331 [details] [review] Adds realm_settings_double function. Correct whitespacing. Comment on attachment 76331 [details] [review] Adds realm_settings_double function. Review of attachment 76331 [details] [review]: ----------------------------------------------------------------- Added line to .gitignore ::: service/realm-settings.c @@ +196,5 @@ > + return def; > + > + val = g_ascii_strtod (string, &end_ptr); > + if (*end_ptr != '\0') { > + g_critical ("Can't parse '%s' as a floating point number", string); Added a clearer message. ::: tests/test-settings.c @@ +8,5 @@ > + * your option) any later version. > + * > + * See the included COPYING file for more information. > + * > + * Author: Stef Walter <stefw@gnome.org> I've put your name/email here. Thanks for doing the tests. Thanks! |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.