mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-15 16:07:26 +00:00
ubi-utils-klibc: more patch-cleanings
* remove unnecessary patches after klibc upgrades * bump PR Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
This commit is contained in:
@@ -1,13 +1,19 @@
|
||||
--- a/ubi-utils/libiniparser.c 2012-04-30 23:59:40.000000000 +0200
|
||||
+++ b/ubi-utils/libiniparser.c 2012-04-30 23:55:15.000000000 +0200
|
||||
@@ -333,7 +333,9 @@
|
||||
|
||||
str = iniparser_getstring(d, key, INI_INVALID_KEY);
|
||||
--- a/ubi-utils/libiniparser.c 2012-05-29 23:46:08.000000000 +0200
|
||||
+++ b/ubi-utils/libiniparser.c 2012-05-29 23:45:01.000000000 +0200
|
||||
@@ -327,6 +327,8 @@
|
||||
the notfound value is returned.
|
||||
*/
|
||||
/*--------------------------------------------------------------------------*/
|
||||
+/* Floating-point is not supported in klibc */
|
||||
+/*
|
||||
double iniparser_getdouble(dictionary * d, char * key, double notfound)
|
||||
{
|
||||
char * str ;
|
||||
@@ -335,6 +337,7 @@
|
||||
if (str==INI_INVALID_KEY) return notfound ;
|
||||
- return atof(str);
|
||||
+ double value;
|
||||
+ sscanf(str,"%lf",&value);
|
||||
+ return value;
|
||||
return atof(str);
|
||||
}
|
||||
+*/
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user