mirror of
				https://github.com/samba-team/samba.git
				synced 2025-10-31 12:23:52 +03:00 
			
		
		
		
	Ok so with this bugfix 64 bit file access actually seems to work :-).
Problems were just dumb bugs like (defining sys_lseek to return 'int' DOH !).
Jeremy.
(This used to be commit 54dd51176f)
			
			
This commit is contained in:
		| @@ -195,7 +195,7 @@ int sys_ftruncate(int fd, SMB_OFF_T offset) | ||||
|  An lseek() wrapper that will deal with 64 bit filesizes. | ||||
| ********************************************************************/ | ||||
|  | ||||
| int sys_lseek(int fd, SMB_OFF_T offset, int whence) | ||||
| SMB_OFF_T sys_lseek(int fd, SMB_OFF_T offset, int whence) | ||||
| { | ||||
| #if defined(HAVE_OFF64_T) && defined(HAVE_LSEEK64) | ||||
|   return lseek64(fd, offset, whence); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user