[PATCH][libstdc++-v3] Add _GLIBCXX_HAVE_LIMIT_FSIZE to guard 27_io/fpos/14775.cc
Renlin Li
renlin.li@arm.com
Wed May 6 08:09:00 GMT 2015
Hi all,
This is a simple patch to add _GLIBCXX_HAVE_LIMIT_FSIZE to guard the test.
In libstdc++-v3/testsuite/util/testsuite_hooks.cc. set_file_limit()
function is nullified when either _GLIBCXX_RES_LIMITS or
_GLIBCXX_HAVE_LIMIT_FSIZE is not defined.
_GLIBCXX_USE_LFS can cover _GLIBCXX_RES_LIMITS, however,
_GLIBCXX_HAVE_LIMIT_FSIZE is not checked.
The complete condition for correct execution of this test case is that,
those two macros are both defined.
Is Okay to commit?
Regards,
Renlin Li
libstdc++-v3/ChangeLog:
2015-05-06 Renlin Li <renlin.li@arm.com>
* testsuite/27_io/fpos/14775.cc: Add _GLIBCXX_HAVE_LIMIT_FSIZE check.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: new-1.diff
Type: text/x-patch
Size: 464 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20150506/34b1dca9/attachment.bin>
More information about the Gcc-patches
mailing list