Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEgor Duda <deo@logos-m.ru>2001-09-15 23:54:04 +0400
committerEgor Duda <deo@logos-m.ru>2001-09-15 23:54:04 +0400
commit615643cb123d295dbb8d0fe7b48689f8c6611f4a (patch)
treeda3c6c37733e406bc379dd78305a956f9f412170 /winsup/testsuite/winsup.api/ltp/stat06.c
parent542097acd0d67e9dfd74f565ae74d30a37505934 (diff)
* winsup.api/ltp/sbrk01.c (main): Force output at startup to
make sure that stdio file buffer get allocated. * winsup.api/ltp/stat06.c (high_address_setup): On cygwin, area after sbrk(0) may be available, use 0xffff0000 as "high address". * winsup.api/ltp/symlink01.c: Perform all tests. Mark those tests that don't work on cygwin with '-1'. Close open files so that temporary directory can be deleted on exit. * winsup.api/ltp/vfork01.c: New test.
Diffstat (limited to 'winsup/testsuite/winsup.api/ltp/stat06.c')
-rw-r--r--winsup/testsuite/winsup.api/ltp/stat06.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/winsup/testsuite/winsup.api/ltp/stat06.c b/winsup/testsuite/winsup.api/ltp/stat06.c
index f9fd0a90f..6da1507da 100644
--- a/winsup/testsuite/winsup.api/ltp/stat06.c
+++ b/winsup/testsuite/winsup.api/ltp/stat06.c
@@ -327,7 +327,11 @@ high_address_setup()
for (ind=0; Test_cases[ind].desc != NULL; ind++ ) {
if ( Test_cases[ind].pathname == High_address ) {
/*if ( strcmp(Test_cases[ind].pathname, HIGH_ADDRESS) == 0 ) { ***/
+#ifndef __CYGWIN__
Test_cases[ind].pathname = (char *)(sbrk(0)+5);
+#else
+ Test_cases[ind].pathname = (char *)0xffff0000;
+#endif
break;
}
}