]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Fix ticket #2439: the FTS1 and FTS2 extensions use the non-standard,
authorrse <rse@noemail.net>
Mon, 30 Jul 2007 18:55:36 +0000 (18:55 +0000)
committerrse <rse@noemail.net>
Mon, 30 Jul 2007 18:55:36 +0000 (18:55 +0000)
commite21733baa52535f03824eb1fbb5d8f78c3ddc8b5
tree3f819e4a02a5af47d833302789bfb3aaf75e0628
parent8f30448a308d34325fedd5e537359283f7cead3f
Fix ticket #2439: the FTS1 and FTS2 extensions use the non-standard,
unportable and highly deprecated <malloc.h> header on all platforms
except Apple Mac OS X. The <malloc.h> actually is never required on
any OS with an at least partly POSIX-conforming API as the malloc(3) &
friends functions officially live in <stdlib.h> since over 10 years.
Under some platform like FreeBSD the inclusion of <malloc.h> since a few
years even causes an "#error" and this way a build failure. So, just get
rid of the bad <malloc.h> usage in FTS1 and FTS2 extensions at all and
stick with <stdlib.h> there only. (CVS 4191)

FossilOrigin-Name: 3f9a666143a8aafa0b1a5d56ec68f69f2b3d6a21
ext/fts1/fts1.c
ext/fts1/fts1_porter.c
ext/fts1/fts1_tokenizer1.c
ext/fts2/fts2.c
ext/fts2/fts2_porter.c
ext/fts2/fts2_tokenizer1.c
manifest
manifest.uuid