Update of /cvsroot/pure-data/externals/mrpeach/net In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11927
Modified Files: tcpclient.c Log Message: changed MAX_PATH to FILENAME_MAX.
Index: tcpclient.c =================================================================== RCS file: /cvsroot/pure-data/externals/mrpeach/net/tcpclient.c,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** tcpclient.c 7 Nov 2006 21:18:27 -0000 1.2 --- tcpclient.c 28 Nov 2006 16:44:18 -0000 1.3 *************** *** 1,5 **** ! /* x_net_tcp_client.c Martin Peach 20060508, working version 20060512 */ /* linux version 20060515 */ ! /* x_net_tcp_client.c is based on netclient: */ /* -------------------------- netclient ------------------------------------- */ /* */ --- 1,5 ---- ! /* tcpclient.c Martin Peach 20060508, working version 20060512 */ /* linux version 20060515 */ ! /* tcpclient.c is based on netclient: */ /* -------------------------- netclient ------------------------------------- */ /* */ *************** *** 230,234 **** double timeafter; int late; ! char fpath[MAX_PATH]; FILE *fptr;
--- 230,234 ---- double timeafter; int late; ! char fpath[FILENAME_MAX]; FILE *fptr;
*************** *** 267,271 **** {
! atom_string(&argv[i], fpath, MAX_PATH); #ifdef DEBUG post ("%s_send fname: %s", objName, fpath); --- 267,271 ---- {
! atom_string(&argv[i], fpath, FILENAME_MAX); #ifdef DEBUG post ("%s_send fname: %s", objName, fpath); *************** *** 471,473 **** }
! /* end of x_net_tcp.c */ --- 471,473 ---- }
! /* end of tcpclient.c */