CVSROOT: /sources/hurdextras
Module name: smbfs
Changes by: Ludovic Courtès <civodul> 12/03/14 15:46:42
Modified files:
. : smbnetfs.c
Log message:
Fix use of `smbc_lseek' in `netfs_attempt_write'.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/smbfs/smbnetfs.c?cvsroot=hurdextras&r1=1.13&r2=1.14
Patches:
Index: smbnetfs.c
===================================================================
RCS file: /sources/hurdextras/smbfs/smbnetfs.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- smbnetfs.c 5 Mar 2012 22:14:14 -0000 1.13
+++ smbnetfs.c 14 Mar 2012 15:46:42 -0000 1.14
@@ -652,7 +652,7 @@
return errno;
}
mutex_lock (&smb_mutex);
- ret = smbc_lseek (fd, offset, SEEK_SET) < 0;
+ ret = smbc_lseek (fd, offset, SEEK_SET);
mutex_unlock (&smb_mutex);
if ((ret < 0) || (ret != offset))
_______________________________________________
Hurdextras-commit mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/hurdextras-commit