ActsAsFlinn

Mar 29 '10

Tokyo Tyrant patch fix unix sockets on Mac OSX Snow Leopard

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. 

Download

28 notes Tags: tokyo cabinet tokyo tyrant patch nosql

  1. karl-petross reblogged this from actsasflinn
  2. barton-wissink reblogged this from actsasflinn
  3. winona-opp reblogged this from actsasflinn
  4. roosevelt-boulter reblogged this from actsasflinn
  5. sanora-wally reblogged this from actsasflinn
  6. enriqueta-dicken reblogged this from actsasflinn
  7. ulysses-morgner reblogged this from actsasflinn
  8. raymond-denes reblogged this from actsasflinn
  9. galen-toomes reblogged this from actsasflinn
  10. kemberly-furtado reblogged this from actsasflinn
  11. actsasflinn posted this