This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/19781] testsuite_hooks.cc doesn't test for mkfifo
- From: "bkoz at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 May 2005 16:49:27 -0000
- Subject: [Bug libstdc++/19781] testsuite_hooks.cc doesn't test for mkfifo
- References: <20050203164746.19781.jifl-bugzilla@jifvik.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From bkoz at gcc dot gnu dot org 2005-05-05 16:49 -------
This indeed can be fixed. Instead of
#if defined (_NEWLIB_VERSION) || defined (__MINGW32_VERSION)
/* Newlib and MinGW32 do not have mkfifo. */
exit(0);
#else
do something like
#if _GLIBCXX_HAVE_MKFIFO
mkfifo(filename, mode);
#else
exit(0);
#endif
You'd do the check for mkfifo in GLIBCXX_CONFIGURE_TESTSUITE or something like
GLIBCXX_CHECK_SETRLIMIT_ancilliary.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19781