Author: vlendec Date: 2006-08-08 16:08:22 +0000 (Tue, 08 Aug 2006) New Revision: 17460
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=17460 Log: First step at fixing the build breakage with the groupmapping test. On Linux, F_RDLCK is defined to 0, for example NetBSD has it at 1. Still does not work fully though. Still investigating. This might also be interesting to Samba4. Volker Modified: branches/SAMBA_3_0/source/tdb/traverse.c Changeset: Modified: branches/SAMBA_3_0/source/tdb/traverse.c =================================================================== --- branches/SAMBA_3_0/source/tdb/traverse.c 2006-08-08 15:33:09 UTC (rev 17459) +++ branches/SAMBA_3_0/source/tdb/traverse.c 2006-08-08 16:08:22 UTC (rev 17460) @@ -261,6 +261,7 @@ if (tdb_unlock_record(tdb, tdb->travlocks.off) != 0) return tdb_null; tdb->travlocks.off = tdb->travlocks.hash = 0; + tdb->travlocks.lock_rw = F_RDLCK; if (tdb_next_lock(tdb, &tdb->travlocks, &rec) <= 0) return tdb_null;