]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Make memset() uses less error-prone.
authorshess <shess@noemail.net>
Thu, 26 Oct 2006 00:04:31 +0000 (00:04 +0000)
committershess <shess@noemail.net>
Thu, 26 Oct 2006 00:04:31 +0000 (00:04 +0000)
commit9d5586fc9f90d6d84e9678b3818a18272a6730d1
treed44e3bf644b46c0fb13c398a41dee634e6be8e2e
parent627a74c48c4cf546486a49081ead7eca723fc987
Make memset() uses less error-prone.
http://www.sqlite.org/cvstrac/tktview?tn=2036,35 describes some cases
where we were passing memset() a length which was the sizeof a
pointer, rather than the structure pointed to.  Instead, wrap this
idiom up in CLEAR() and SCRAMBLE() macros. (CVS 3488)

FossilOrigin-Name: 5878add0839f9c5bec77caae2361ec20cb60b48b
ext/fts2/fts2.c
manifest
manifest.uuid