From 02be20d4f567cdb3e12eca9cce3cf4a8a8c76c4e Mon Sep 17 00:00:00 2001 From: jplyon Date: Mon, 2 Jun 2003 06:17:10 +0000 Subject: [PATCH] Added comments. (CVS 993) FossilOrigin-Name: 1276ddb3074b74e22c579bad6951ea52384c08dd --- manifest | 12 ++++++------ manifest.uuid | 2 +- src/util.c | 9 ++++++--- 3 files changed, 13 insertions(+), 10 deletions(-) diff --git a/manifest b/manifest index 3b08a42ff8..b1c3354ad6 100644 --- a/manifest +++ b/manifest @@ -1,5 +1,5 @@ -C Additions\sand\scorrections\sto\svdbe\sdocumentation\scomments.\s(CVS\s992) -D 2003-06-02T06:15:59 +C Added\scomments.\s(CVS\s993) +D 2003-06-02T06:17:10 F Makefile.in 1ff85c27d4350c74118341024e8a4fb2a04a3a43 F Makefile.linux-gcc b86a99c493a5bfb402d1d9178dcdc4bd4b32f906 F README f1de682fbbd94899d50aca13d387d1b3fd3be2dd @@ -57,7 +57,7 @@ F src/threadtest.c d641a5219e718e18a1a80a50eb9bb549f451f42e F src/tokenize.c 2ba93fe10d5f57f0cc20b07417c3244a30c324b3 F src/trigger.c 5caf7697e6cd4cfaf38d55bff31580f4124d836f F src/update.c 24260b4fda00c9726d27699a0561d53c0dccc397 -F src/util.c 8065b78806a5132119452d9e0417cf071e6f02f9 +F src/util.c 18d16fa3171e34b6f6f73ef0c61e7d9b73b78826 F src/vacuum.c 0820984615786c9ccdaad8032a792309b354a8eb F src/vdbe.c 0f09d140c311a843676c0e9f9a8272ed47cad7a4 F src/vdbe.h 985c24f312d10f9ef8f9a8b8ea62fcdf68e82f21 @@ -165,7 +165,7 @@ F www/speed.tcl cb4c10a722614aea76d2c51f32ee43400d5951be F www/sqlite.tcl 4bd1729e320f5fa9125f0022b281fbe839192125 F www/tclsqlite.tcl 1db15abeb446aad0caf0b95b8b9579720e4ea331 F www/vdbe.tcl 2013852c27a02a091d39a766bc87cff329f21218 -P 903adbe802ca0e987b867e5ad33aae02ad2a43d4 -R 1faee166345b5258cc454681cf26ee88 +P b648987de3383d6835df58aa0efee54fa8f10d26 +R 5d5339e91bb10ccbd66d69854fac689d U jplyon -Z 9b96c607be8d8a960afc568f1f869702 +Z 3d1689d57ad8cd168de42209fa17631f diff --git a/manifest.uuid b/manifest.uuid index 017069571a..ba808b0e50 100644 --- a/manifest.uuid +++ b/manifest.uuid @@ -1 +1 @@ -b648987de3383d6835df58aa0efee54fa8f10d26 \ No newline at end of file +1276ddb3074b74e22c579bad6951ea52384c08dd \ No newline at end of file diff --git a/src/util.c b/src/util.c index b4e6d240a9..6470aad489 100644 --- a/src/util.c +++ b/src/util.c @@ -14,7 +14,7 @@ ** This file contains functions for allocating memory, comparing ** strings, and stuff like that. ** -** $Id: util.c,v 1.63 2003/05/12 23:06:53 drh Exp $ +** $Id: util.c,v 1.64 2003/06/02 06:17:10 jplyon Exp $ */ #include "sqliteInt.h" #include @@ -317,7 +317,8 @@ char *sqliteStrNDup(const char *z, int n){ ** Create a string from the 2nd and subsequent arguments (up to the ** first NULL argument), store the string in memory obtained from ** sqliteMalloc() and make the pointer indicated by the 1st argument -** point to that string. +** point to that string. The 1st argument must either be NULL or +** point to memory obtained from sqliteMalloc(). */ void sqliteSetString(char **pz, const char *zFirst, ...){ va_list ap; @@ -355,7 +356,9 @@ void sqliteSetString(char **pz, const char *zFirst, ...){ /* ** Works like sqliteSetString, but each string is now followed by ** a length integer which specifies how much of the source string -** to copy (in bytes). -1 means use the whole string. +** to copy (in bytes). -1 means use the whole string. The 1st +** argument must either be NULL or point to memory obtained from +** sqliteMalloc(). */ void sqliteSetNString(char **pz, ...){ va_list ap;