From a1edbf3cb8095699794d6601446c0f18cfa265a8 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Thu, 11 Dec 2014 21:41:30 +0000 Subject: [PATCH] Add more headers to include/ for conform tests. Carlos reported failures in conform/ tests in environments where the compiler used could only find headers in glibc's source and build trees, not any previously installed headers . This patch adds wrappers for two of the affected headers to include/, which is the normal way to make headers visible when building or testing in directories other than the one containing the header (I suppose these headers weren't needed in any such directories except conform/, or other build or test failures would have resulted). I believe the same issue applies at least to regexp.h and re_comp.h - we don't currently have conform/ expectations for those, but when such expectations are added we'll also need to add header wrappers. Tested for x86_64 (testsuite, and that installed stripped shared libraries are unchanged by the patch). I did *not* test a configuration such as that in which Carlos saw failure. * include/cpio.h: New file. * include/fmtmsg.h: Likewise. --- ChangeLog | 3 +++ include/cpio.h | 1 + include/fmtmsg.h | 1 + 3 files changed, 5 insertions(+) create mode 100644 include/cpio.h create mode 100644 include/fmtmsg.h diff --git a/ChangeLog b/ChangeLog index d6386e2cd2..e9eed7ca2d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2014-12-11 Joseph Myers + * include/cpio.h: New file. + * include/fmtmsg.h: Likewise. + * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast corresponding format argument to size_t. * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t diff --git a/include/cpio.h b/include/cpio.h new file mode 100644 index 0000000000..38e2ed1b62 --- /dev/null +++ b/include/cpio.h @@ -0,0 +1 @@ +#include diff --git a/include/fmtmsg.h b/include/fmtmsg.h new file mode 100644 index 0000000000..6ac606df2b --- /dev/null +++ b/include/fmtmsg.h @@ -0,0 +1 @@ +#include