search for: 0102ee3

Displaying 3 results from an estimated 3 matches for "0102ee3".

Did you mean: 0102be3
2013 Jun 09
2
[PATCH 1/1] tests: Fix sscanf test where width = 1 and integer is negative
...egative number so the test fails. This patch increases the maximum field width to 2. Signed-off-by: Mike Pagano <mpagano at gentoo.org> --- usr/klibc/tests/sscanf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/klibc/tests/sscanf.c b/usr/klibc/tests/sscanf.c index 0102ee3..454edc1 100644 --- a/usr/klibc/tests/sscanf.c +++ b/usr/klibc/tests/sscanf.c @@ -27,7 +27,7 @@ int main() printf("Error wrong sscanf int return %d.\n", ret); err++; } - ret = sscanf(a2, "%1d%2d", &e1, &e2); + ret = sscanf(a2, "%2d%2d",...
2013 Jun 10
0
[PATCH 1/1, RESEND] tests: Fix sscanf test where width = 1 and integer is negative
...negative number sothe test fails. This patch increases the maximum field width to 2. Signed-off-by: Mike Pagano <mpagano at gentoo.org> --- usr/klibc/tests/sscanf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/klibc/tests/sscanf.c b/usr/klibc/tests/sscanf.c index 0102ee3..454edc1 100644 --- a/usr/klibc/tests/sscanf.c +++ b/usr/klibc/tests/sscanf.c @@ -27,7 +27,7 @@ int main() printf("Error wrong sscanf int return %d.\n", ret); err++; } - ret = sscanf(a2, "%1d%2d", &e1, &e2); + ret = sscanf(a2, "%2d%2d",...
2013 Aug 21
0
[klibc:master] tests: Fix sscanf integer tests
...ported-by: Mike Pagano <mpagano at gentoo.org> Signed-off-by: maximilian attems <max at stro.at> --- usr/klibc/tests/sscanf.c | 31 ++++++++++++++----------------- 1 file changed, 14 insertions(+), 17 deletions(-) diff --git a/usr/klibc/tests/sscanf.c b/usr/klibc/tests/sscanf.c index 0102ee3..c06aae4 100644 --- a/usr/klibc/tests/sscanf.c +++ b/usr/klibc/tests/sscanf.c @@ -3,35 +3,32 @@ int main() { int ret, err = 0, e1, e2; - double d1, d2; - const char j1[] = "3.0E+10", j2[] = "12E-01-0.1E-2"; const char a1[] = "3.0", a2[] = "-12,1000";...