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:
		
							parent
							
								
									d6d4a3abfc
								
							
						
					
					
						commit
						14810d6df1
					
				
					 64 changed files with 1030 additions and 308 deletions
				
			
		|  | @ -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 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue