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:
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;
}
}