Update of /cvsroot/pure-data/externals/mrpeach/net In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11572
Modified Files: tcpsend.c Log Message: changed MAX_PATH to FILENAME_MAX
Index: tcpsend.c =================================================================== RCS file: /cvsroot/pure-data/externals/mrpeach/net/tcpsend.c,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** tcpsend.c 7 Nov 2006 21:19:29 -0000 1.2 --- tcpsend.c 28 Nov 2006 16:43:04 -0000 1.3 *************** *** 1,3 **** ! /* x_net_tcpsend.c 20060424 Martin Peach did it based on x_net.c. x_net.c header follows: */ /* Copyright (c) 1997-1999 Miller Puckette. * For information on usage and redistribution, and for a DISCLAIMER OF ALL --- 1,3 ---- ! /* tcpsend.c 20060424 Martin Peach did it based on x_net.c. x_net.c header follows: */ /* Copyright (c) 1997-1999 Miller Puckette. * For information on usage and redistribution, and for a DISCLAIMER OF ALL *************** *** 126,130 **** double timeafter; int late; ! char fpath[MAX_PATH]; FILE *fptr;
--- 126,130 ---- double timeafter; int late; ! char fpath[FILENAME_MAX]; FILE *fptr;
*************** *** 159,163 **** {
! atom_string(&argv[i], fpath, MAX_PATH); #ifdef DEBUG post ("tcpsend fname: %s", fpath); --- 159,163 ---- {
! atom_string(&argv[i], fpath, FILENAME_MAX); #ifdef DEBUG post ("tcpsend fname: %s", fpath); *************** *** 250,252 **** }
! /* end x_net_tcpsend.c*/ --- 250,252 ---- }
! /* end tcpsend.c */