projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
strtod: Restore errno when successfully parsing Infinity or NaN.
[gnulib.git]
/
tests
/
unistdio
/
test-u16-vsprintf1.c
diff --git
a/tests/unistdio/test-u16-vsprintf1.c
b/tests/unistdio/test-u16-vsprintf1.c
index
7e305dd
..
ab320e7
100644
(file)
--- a/
tests/unistdio/test-u16-vsprintf1.c
+++ b/
tests/unistdio/test-u16-vsprintf1.c
@@
-1,5
+1,5
@@
/* Test of u16_vsprintf() function.
/* Test of u16_vsprintf() function.
- Copyright (C) 2007 Free Software Foundation, Inc.
+ Copyright (C) 2007
-2011
Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-23,25
+23,14
@@
#include <errno.h>
#include <stdarg.h>
#include <stddef.h>
#include <errno.h>
#include <stdarg.h>
#include <stddef.h>
-#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include "unistr.h"
#include "xalloc.h"
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include "unistr.h"
#include "xalloc.h"
-
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
- do \
- { \
- if (!(expr)) \
- { \
- fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
- abort (); \
- } \
- } \
- while (0)
+#include "progname.h"
+#include "macros.h"
#include "test-u16-printf1.h"
#include "test-u16-printf1.h"
@@
-74,6
+63,9
@@
test_vsprintf ()
int
main (int argc, char *argv[])
{
int
main (int argc, char *argv[])
{
+ set_program_name (argv[0]);
+
test_vsprintf ();
test_vsprintf ();
+
return 0;
}
return 0;
}