* winsup.api/mmaptest01.c (main): Accomodate 9x memory usage.
This commit is contained in:
parent
327284cf3a
commit
26657d6052
|
@ -1,3 +1,7 @@
|
|||
2004-08-24 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* winsup.api/mmaptest01.c (main): Accomodate 9x memory usage.
|
||||
|
||||
2004-08-24 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* winsup.api/ltp/symlink01.c (do_link): Print inode numbers using %llu
|
||||
|
|
|
@ -155,7 +155,10 @@ int main ()
|
|||
buf1[0] = 0x7f;
|
||||
tst_resm (memcmp (buf1, buf2, 20) ? TFAIL : TPASS,
|
||||
"changes are shared between MAP_SHARED mappings of the same file");
|
||||
munmap (buf2, 4096);
|
||||
if (buf1 == buf2) /* Win 9x weirdness */
|
||||
msync (buf2, 4096, MS_SYNC);
|
||||
else
|
||||
munmap (buf2, 4096);
|
||||
|
||||
fd2 = open (fnam1, O_RDWR | O_BINARY, 0644);
|
||||
memset (buf3, 0, 20);
|
||||
|
|
Loading…
Reference in New Issue