svn commit: samba r23371 - in branches:
SAMBA_3_0/source/lib/tdb/common SAMBA_3_0_25/source/tdb/common
SAMBA_3_0_26/source/lib/tdb/common SAMBA_4_0/source/lib/tdb/common
jra at samba.org
jra at samba.org
Thu Jun 7 00:14:13 GMT 2007
Author: jra
Date: 2007-06-07 00:14:06 +0000 (Thu, 07 Jun 2007)
New Revision: 23371
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=23371
Log:
Fix the misleading comment I added - it really *should*
say "locks chain and returned record", not
"and returns record"
Jeremy.
Modified:
branches/SAMBA_3_0/source/lib/tdb/common/traverse.c
branches/SAMBA_3_0_25/source/tdb/common/traverse.c
branches/SAMBA_3_0_26/source/lib/tdb/common/traverse.c
branches/SAMBA_4_0/source/lib/tdb/common/traverse.c
Changeset:
Modified: branches/SAMBA_3_0/source/lib/tdb/common/traverse.c
===================================================================
--- branches/SAMBA_3_0/source/lib/tdb/common/traverse.c 2007-06-07 00:00:45 UTC (rev 23370)
+++ branches/SAMBA_3_0/source/lib/tdb/common/traverse.c 2007-06-07 00:14:06 UTC (rev 23371)
@@ -263,7 +263,7 @@
tdb->travlocks.off = tdb->travlocks.hash = 0;
tdb->travlocks.lock_rw = F_RDLCK;
- /* Grab first record: locks chain and returns record. */
+ /* Grab first record: locks chain and returned record. */
if (tdb_next_lock(tdb, &tdb->travlocks, &rec) <= 0)
return tdb_null;
/* now read the key */
@@ -320,7 +320,7 @@
}
oldhash = tdb->travlocks.hash;
- /* Grab next record: locks chain and returns record,
+ /* Grab next record: locks chain and returned record,
unlocks old record */
if (tdb_next_lock(tdb, &tdb->travlocks, &rec) > 0) {
key.dsize = rec.key_len;
Modified: branches/SAMBA_3_0_25/source/tdb/common/traverse.c
===================================================================
--- branches/SAMBA_3_0_25/source/tdb/common/traverse.c 2007-06-07 00:00:45 UTC (rev 23370)
+++ branches/SAMBA_3_0_25/source/tdb/common/traverse.c 2007-06-07 00:14:06 UTC (rev 23371)
@@ -263,7 +263,7 @@
tdb->travlocks.off = tdb->travlocks.hash = 0;
tdb->travlocks.lock_rw = F_RDLCK;
- /* Grab first record: locks chain and returns record. */
+ /* Grab first record: locks chain and returned record. */
if (tdb_next_lock(tdb, &tdb->travlocks, &rec) <= 0)
return tdb_null;
/* now read the key */
@@ -320,7 +320,7 @@
}
oldhash = tdb->travlocks.hash;
- /* Grab next record: locks chain and returns record,
+ /* Grab next record: locks chain and returned record,
unlocks old record */
if (tdb_next_lock(tdb, &tdb->travlocks, &rec) > 0) {
key.dsize = rec.key_len;
Modified: branches/SAMBA_3_0_26/source/lib/tdb/common/traverse.c
===================================================================
--- branches/SAMBA_3_0_26/source/lib/tdb/common/traverse.c 2007-06-07 00:00:45 UTC (rev 23370)
+++ branches/SAMBA_3_0_26/source/lib/tdb/common/traverse.c 2007-06-07 00:14:06 UTC (rev 23371)
@@ -263,7 +263,7 @@
tdb->travlocks.off = tdb->travlocks.hash = 0;
tdb->travlocks.lock_rw = F_RDLCK;
- /* Grab first record: locks chain and returns record. */
+ /* Grab first record: locks chain and returned record. */
if (tdb_next_lock(tdb, &tdb->travlocks, &rec) <= 0)
return tdb_null;
/* now read the key */
@@ -320,7 +320,7 @@
}
oldhash = tdb->travlocks.hash;
- /* Grab next record: locks chain and returns record,
+ /* Grab next record: locks chain and returned record,
unlocks old record */
if (tdb_next_lock(tdb, &tdb->travlocks, &rec) > 0) {
key.dsize = rec.key_len;
Modified: branches/SAMBA_4_0/source/lib/tdb/common/traverse.c
===================================================================
--- branches/SAMBA_4_0/source/lib/tdb/common/traverse.c 2007-06-07 00:00:45 UTC (rev 23370)
+++ branches/SAMBA_4_0/source/lib/tdb/common/traverse.c 2007-06-07 00:14:06 UTC (rev 23371)
@@ -259,7 +259,7 @@
tdb->travlocks.off = tdb->travlocks.hash = 0;
tdb->travlocks.lock_rw = F_RDLCK;
- /* Grab first record: locks chain and returns record. */
+ /* Grab first record: locks chain and returned record. */
if (tdb_next_lock(tdb, &tdb->travlocks, &rec) <= 0)
return tdb_null;
/* now read the key */
@@ -316,7 +316,7 @@
}
oldhash = tdb->travlocks.hash;
- /* Grab next record: locks chain and returns record,
+ /* Grab next record: locks chain and returned record,
unlocks old record */
if (tdb_next_lock(tdb, &tdb->travlocks, &rec) > 0) {
key.dsize = rec.key_len;
More information about the samba-cvs
mailing list