projects
/
fw
/
pdclib
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
*Much* better.
[fw/pdclib]
/
functions
/
stdio
/
vfprintf.c
diff --git
a/functions/stdio/vfprintf.c
b/functions/stdio/vfprintf.c
index 6a5a781861d3506623919fcd9fc0e67ecf6dfc5c..b5dacb465144555f63330eef9c6b83ea9af8b7ee 100644
(file)
--- a/
functions/stdio/vfprintf.c
+++ b/
functions/stdio/vfprintf.c
@@
-49,6
+49,8
@@
int vfprintf( struct _PDCLIB_file_t * _PDCLIB_restrict stream, const char * _PDC
#endif
#ifdef TEST
#endif
#ifdef TEST
+#define _PDCLIB_FILEID "stdio/vfprintf.c"
+#define FPRINTF_FUNCTION
#include <stdlib.h>
#include <limits.h>
#include <string.h>
#include <stdlib.h>
#include <limits.h>
#include <string.h>
@@
-64,12
+66,10
@@
static int testprintf( FILE * stream, const char * format, ... )
return i;
}
return i;
}
-#define TESTCASE_SPRINTF( x )
-
int main( void )
{
FILE * target;
int main( void )
{
FILE * target;
- TESTCASE( ( target = fopen( testfile, "wb" ) ) != NULL );
+ TESTCASE( ( target = fopen( testfile, "wb
+
" ) ) != NULL );
#include "printf_testcases.incl"
TESTCASE( fclose( target ) == 0 );
#include "fprintf_reftest.incl"
#include "printf_testcases.incl"
TESTCASE( fclose( target ) == 0 );
#include "fprintf_reftest.incl"