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 path fixes the problem and passes tests.
I've also forwarded this to Mikio Hirabayashi.