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:
Andrea Adami
2012-05-29 22:12:07 +00:00
committed by Koen Kooi
parent 0dbd716b73
commit bb62247d60
4 changed files with 16 additions and 79 deletions
@@ -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);
}
+*/
/*-------------------------------------------------------------------------*/
/**