Oops, I missed the c++ comments in the review. ANDREAS_URL_BASE NSIFILE_0106200_BASE NSIFILE_01192000_BASE NSIFILE_01202000_BASE SeaMonkey_M13_BASE SeaMonkey_M13_RELEASE
authorcls%seawood.org
Sat, 01 Jan 2000 22:45:52 +0000
changeset 184 7d7190045260c0103ba546cfd048881d99324994
parent 183 1727fd1155a66de09cfabf2d819e8b51ab631de7
child 185 73789080110347124498227a36cc5dfe84bd2843
child 186 5b933ba48d6eed130abb55a719fc1feac0e4250f
child 187 f9915dab7edab06e3573915de49a692b1c8cab70
child 188 f69e16a410654441341ac95d8b0ad91ccae02a12
child 189 9c6497207f3074a1cb3a3c9b4022efcc3bb1e037
child 190 143ca695bbd6f39ffd5a0156093d864fe6a4e895
push idunknown
push userunknown
push dateunknown
Oops, I missed the c++ comments in the review.
dbm/src/h_bigkey.c
--- a/dbm/src/h_bigkey.c
+++ b/dbm/src/h_bigkey.c
@@ -424,17 +424,17 @@ extern int
 						hashp->cpage = NULL;
 					}
 				}
 			}
 			return (0);
 		}
 
 	val->size = collect_data(hashp, bufp, (int)len, set_current);
-	if ((val->size + 1) == 0) // unsigned ints are not really negative
+	if ((val->size + 1) == 0) /* unsigned ints are not really negative */
 		return (-1);
 	if (save_p->addr != save_addr) {
 		/* We are pretty short on buffers. */
 		errno = EINVAL;			/* OUT OF BUFFERS */
 		return (-1);
 	}
 	memmove(hashp->tmp_buf, (save_p->page) + off, len);
 	val->data = (uint8 *)hashp->tmp_buf;
@@ -510,17 +510,17 @@ collect_data(
 extern int
 __big_keydata(
 	HTAB *hashp, 
 	BUFHEAD *bufp, 
 	DBT *key, DBT *val,
 	int set)
 {
 	key->size = collect_key(hashp, bufp, 0, val, set);
-	if ((key->size + 1) == 0) // same compile warning about comparing signed and unsigned
+	if ((key->size + 1) == 0) /* same compile warning about comparing signed and unsigned */
 		return (-1);
 	key->data = (uint8 *)hashp->tmp_key;
 	return (0);
 }
 
 /*
  * Count how big the total key size is by recursing through the pages.  Then
  * collect the data, allocate a buffer and copy the key as you recurse up.