projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
doc: use ASCII in .texi files where UTF-8 isn't needed
[gnulib.git]
/
tests
/
test-fwriting.c
diff --git
a/tests/test-fwriting.c
b/tests/test-fwriting.c
index
77ac97a
..
bf29644
100644
(file)
--- a/
tests/test-fwriting.c
+++ b/
tests/test-fwriting.c
@@
-1,5
+1,5
@@
/* Test of fwriting() function.
/* Test of fwriting() function.
- Copyright (C) 2007 Free Software Foundation, Inc.
+ Copyright (C) 2007
-2014
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
@@
-18,21
+18,14
@@
#include <config.h>
#include <config.h>
+/* None of the files accessed by this test are large, so disable the
+ fseek link warning if we are not using the gnulib fseek module. */
+#define _GL_NO_LARGE_FILES
#include "fwriting.h"
#include <stdio.h>
#include "fwriting.h"
#include <stdio.h>
-#include <stdlib.h>
-
-#define ASSERT(expr) \
- do \
- { \
- if (!(expr)) \
- { \
- fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
- abort (); \
- } \
- } \
- while (0)
+
+#include "macros.h"
#define TESTFILE "t-fwriting.tmp"
#define TESTFILE "t-fwriting.tmp"