On Mac OSX 10.6 (Snow Leopard) I receive this warning during make:
ttutil.c: In function ‘ttopenservsockunix’:
ttutil.c:190: warning: call to __builtin___snprintf_chk will always overflow destination buffer
ttutil.c: In function ‘ttopensockunix’:
ttutil.c:130: warning: call to __builtin___snprintf_chk will always overflow destination buffer
I then receive this error when attempting to start ttserver using a socket:
$ ttserver -host /tmp/ttserver.sock -port 0 worker.tct
2010-03-13T00:46:42-05:00 SYSTEM ————- logging started [18312] ————
2010-03-13T00:46:42-05:00 SYSTEM server configuration: host=/tmp/ttserver.sock port=0
2010-03-13T00:46:42-05:00 SYSTEM maximum connection: 8191
2010-03-13T00:46:42-05:00 SYSTEM opening the database: worker.tct
Abort trap
The following patch applies to Tokyo Tyrant 1.1.40 and fixes the issues and passes tests.
I’ve also forwarded this to Mikio Hirabayashi.
The following is a patch that adds support for two commands iterrec and iterout, for dealing with B+ Tree databases. The commands are not currently available via misc and are not available via Tokyo Tyrant’s Lua extension. The purpose of this addition is to expose list management functions to Tokyo Tyrant via TCADB. Adding these commands would allow you to write tcrdbmisc based functions for remote management of B+ Tree lists.
The patch is meant for Tokyo Cabinet 1.4.43

Versatile Storage Options With Tokyo Cabinet
View more presentations from actsasflinn.