projects
/
mes.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de197a4
)
mescc: Mes C Library: vsscanf: Increase count for scanned float.
author
Jan Nieuwenhuizen
<janneke@gnu.org>
Thu, 1 Aug 2019 09:01:47 +0000
(11:01 +0200)
committer
Jan Nieuwenhuizen
<janneke@gnu.org>
Thu, 1 Aug 2019 09:01:47 +0000
(11:01 +0200)
* lib/stdio/vsscanf.c (vsscanf): Increase count for scanned float.
lib/stdio/vsscanf.c
patch
|
blob
|
history
diff --git
a/lib/stdio/vsscanf.c
b/lib/stdio/vsscanf.c
index 102ad3a0e51e11726fd63adf472203fce79722e5..4573bc01253e779a422b6c07f18818e5315c0600 100644
(file)
--- a/
lib/stdio/vsscanf.c
+++ b/
lib/stdio/vsscanf.c
@@
-1,6
+1,6
@@
/* -*-comment-start: "//";comment-end:""-*-
* GNU Mes --- Maxwell Equations of Software
- * Copyright © 2017,2018 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
+ * Copyright © 2017,2018
,2019
Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
*
* This file is part of GNU Mes.
*
@@
-74,6
+74,8
@@
vsscanf (char const *s, char const *template, va_list ap)
{
float *f = va_arg (ap, float *);
*f = strtod (p, &p);
+ count++;
+ break;
}
default:
{