projects
/
gnulib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97bdbcc
)
Test some types.
author
Bruno Haible
<bruno@clisp.org>
Mon, 28 May 2007 12:36:21 +0000
(12:36 +0000)
committer
Bruno Haible
<bruno@clisp.org>
Mon, 28 May 2007 12:36:21 +0000
(12:36 +0000)
ChangeLog
patch
|
blob
|
history
tests/test-unistd.c
patch
|
blob
|
history
diff --git
a/ChangeLog
b/ChangeLog
index
bc9441c
..
91eb8d1
100644
(file)
--- a/
ChangeLog
+++ b/
ChangeLog
@@
-1,3
+1,8
@@
+2007-05-28 Bruno Haible <bruno@clisp.org>
+
+ * tests/test-unistd.c: Test all the types that <unistd.h> is expected
+ to define.
+
2007-05-27 Bruno Haible <bruno@clisp.org>
* m4/iconv.m4 (AM_ICONV_LINK): Fix 2007-03-31 patch.
diff --git
a/tests/test-unistd.c
b/tests/test-unistd.c
index
755708a
..
8b8fe8e
100644
(file)
--- a/
tests/test-unistd.c
+++ b/
tests/test-unistd.c
@@
-24,6
+24,16
@@
/* Check that the various SEEK_* macros are defined. */
int sk[] = { SEEK_CUR, SEEK_END, SEEK_SET };
+/* Check that the types are all defined. */
+size_t t1;
+ssize_t t2;
+uid_t t3;
+gid_t t4;
+off_t t5;
+pid_t t6;
+useconds_t t7;
+intptr_t t8;
+
int
main ()
{