This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/19781] testsuite_hooks.cc doesn't test for mkfifo


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]