projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Require C++11 for building probe providers with C++ compiler
[lttng-ust.git]
/
snprintf
/
vfprintf.c
diff --git
a/snprintf/vfprintf.c
b/snprintf/vfprintf.c
index cedd4fb7eb9e408c498b3ba901cd4180ef0d4569..42ded30c3aad3958a60cdf15725228be111ee3c6 100644
(file)
--- a/
snprintf/vfprintf.c
+++ b/
snprintf/vfprintf.c
@@
-51,6
+51,7
@@
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
+#include <wchar.h>
#include "local.h"
#include "fvwrite.h"
#include "local.h"
#include "fvwrite.h"
@@
-934,7
+935,6
@@
number: if ((dprec = prec) >= 0)
done:
FLUSH();
error:
done:
FLUSH();
error:
- va_end(orgap);
if (__sferror(fp))
ret = -1;
goto finish;
if (__sferror(fp))
ret = -1;
goto finish;
@@
-944,6
+944,7
@@
overflow:
ret = -1;
finish:
ret = -1;
finish:
+ va_end(orgap);
#ifdef FLOATING_POINT
if (dtoaresult)
__freedtoa(dtoaresult);
#ifdef FLOATING_POINT
if (dtoaresult)
__freedtoa(dtoaresult);
@@
-1350,7
+1351,7
@@
__grow_type_table(unsigned char **typetable, int *tablesize)
return (0);
}
return (0);
}
-
+
#ifdef FLOATING_POINT
static int
exponent(char *p0, int exp, int fmtch)
#ifdef FLOATING_POINT
static int
exponent(char *p0, int exp, int fmtch)
This page took
0.024151 seconds
and
4
git commands to generate.