Parially, a patch from Scott McKellar:
authormiker <miker@9efc2488-bf62-4759-914b-345cdb29e865>
Mon, 10 Mar 2008 13:10:59 +0000 (13:10 +0000)
committermiker <miker@9efc2488-bf62-4759-914b-345cdb29e865>
Mon, 10 Mar 2008 13:10:59 +0000 (13:10 +0000)
commit781afd37d5bd0392ce9bd797f5795ac0f4876803
tree01ba0bfbf4b918e28b4e4497058706a558958468
parentaa5a1a39a761c2cc9b0ccc6509d9595b8197c49a
Parially, a patch from Scott McKellar:

1. In socket_open_unix_server() and socket_open_unix_client(), I added
checks to make sure that the path parameter doesn't point to aomething
too big to fit into the receiving buffer of the struct sockaddr_un.

2. In _socket_handle_client_data() I add a terminal nul to the data
received by recv().

Also, reversing the semantics and default of NDEBUG per.  To turn on debugging
code, set DEBUG to 1 durring the build:

 $ DEBUG=1 make clean all

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1277 9efc2488-bf62-4759-914b-345cdb29e865
include/opensrf/utils.h
src/Makefile
src/c-apps/Makefile
src/c-apps/timejson.c [new file with mode: 0644]
src/libopensrf/socket_bundle.c