summary refs log tree commit diff
path: root/pkgs/os-specific/gnu/smbfs/samba-without-byte-range-locks.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/os-specific/gnu/smbfs/samba-without-byte-range-locks.patch')
-rw-r--r--pkgs/os-specific/gnu/smbfs/samba-without-byte-range-locks.patch14
1 files changed, 0 insertions, 14 deletions
diff --git a/pkgs/os-specific/gnu/smbfs/samba-without-byte-range-locks.patch b/pkgs/os-specific/gnu/smbfs/samba-without-byte-range-locks.patch
deleted file mode 100644
index 893a29c75398..000000000000
--- a/pkgs/os-specific/gnu/smbfs/samba-without-byte-range-locks.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-Since GNU/Hurd doesn't support byte-range file locks, shamelessly
-disable them to allow the SMB client library to work (it uses TDB
-to access /etc/samba/private/secrets.tdb, for instance.)
-
---- samba/lib/tdb/common/lock.c	2010-02-08 16:12:57.000000000 +0100
-+++ samba/lib/tdb/common/lock.c	2012-03-01 23:39:02.000000000 +0100
-@@ -48,7 +48,7 @@ int tdb_brlock(struct tdb_context *tdb,
- 	struct flock fl;
- 	int ret;
- 
--	if (tdb->flags & TDB_NOLOCK) {
-+	if (1) {
- 		return 0;
- 	}