Replace fork with try_fork in testsuite?
Thu May 5 04:23:00 GMT 2005
At present, the testsuite has some unguarded calls to "fork", which
result in spurious failures on non-POSIX systems (including simulators).
We've solved this problem for FIFOs by using "try_mkfifo", which
either calls "mkfifo" or just exits. I would like to implement the same
solution for "fork", replacing all calls to "fork" with calls to "try_fork".
Would that be acceptable?
More information about the Libstdc++