1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-31 18:10:56 +01:00

zsh-3.1.6-test-3

This commit is contained in:
Tanaka Akira 1999-07-24 14:01:54 +00:00
parent d6d4a3abfc
commit 14810d6df1
64 changed files with 1030 additions and 308 deletions

View file

@ -143,6 +143,9 @@ setpmmapfile(Param pm, char *value)
*/
ftruncate(fd, len);
memcpy(mmptr, value, len);
#ifndef MS_SYNC
#define MS_SYNC 0
#endif
msync(mmptr, len, MS_SYNC);
/*
* Then we need to truncate again, since mmap() always maps complete