at 15.09-beta 14 lines 477 B view raw
1Since GNU/Hurd doesn't support byte-range file locks, shamelessly 2disable them to allow the SMB client library to work (it uses TDB 3to access /etc/samba/private/secrets.tdb, for instance.) 4 5--- samba/lib/tdb/common/lock.c 2010-02-08 16:12:57.000000000 +0100 6+++ samba/lib/tdb/common/lock.c 2012-03-01 23:39:02.000000000 +0100 7@@ -48,7 +48,7 @@ int tdb_brlock(struct tdb_context *tdb, 8 struct flock fl; 9 int ret; 10 11- if (tdb->flags & TDB_NOLOCK) { 12+ if (1) { 13 return 0; 14 }