TNG 2.6 - patches for IRIX 6.5.8 compile...

Michael Breuer mbreuer at siac.com
Thu Aug 10 16:48:59 GMT 2000


Don't know who gets these now... but TNG 2.6 didn't compile.  I've attached diffs.



-------------- next part --------------
diff -r samba-tng-alpha-2.6//source/lib/sma.c samba-tng-alpha-2.6.orig//source/lib/sma.c
79c79
<   address = (void*)((size_t)address+info_size);
---
>   (char *)address += info_size;
diff -r samba-tng-alpha-2.6//source/lib/sma.h samba-tng-alpha-2.6.orig//source/lib/sma.h
75,76c75
< #endif /* SMA_H */
< 
---
> #endif /* SMA_H */
\ No newline at end of file
diff -r samba-tng-alpha-2.6//source/smbd/oplock_irix.c samba-tng-alpha-2.6.orig//source/smbd/oplock_irix.c
1d0
< #include "includes.h"
25c24,26
< extern int smb_read_error;
---
> 
> #include "includes.h"
> 
228,229c229,230
<         DEBUG(5,("process_local_message: kernel oplock break request for file \
< dev = %x, inode = %.0f\n", (unsigned int)*dev, (double)*inode));
---
>         DEBUG(5,("process_local_message: kernel oplock break request for \
> file dev = %x, inode = %.0f\n", (unsigned int)dev, (double)inode));
diff -r samba-tng-alpha-2.6//source/smbwrapper/smbw_dir.c samba-tng-alpha-2.6.orig//source/smbwrapper/smbw_dir.c
149,152c149
< 	if (!nametouid(job->user,&finfo.uid)) {
< 		DEBUG(0,("ERROR: smbw_printjob_add nametouid failed - name = %s\n", job->user));
< 	}
< 		
---
> 	finfo.uid = nametouid(job->user);


More information about the samba-ntdom mailing list