Update of /cvsroot/pure-data/externals/mrpeach/net In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11203
Modified Files: udpsend.c Log Message: changed MAX_PATH to FILENAME_MAX
Index: udpsend.c =================================================================== RCS file: /cvsroot/pure-data/externals/mrpeach/net/udpsend.c,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** udpsend.c 7 Nov 2006 21:20:20 -0000 1.2 --- udpsend.c 28 Nov 2006 16:41:51 -0000 1.3 *************** *** 1,3 **** ! /* x_net_udpsend.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 ---- ! /* udpsend.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 *************** *** 119,123 **** double timeafter; int late; ! char fpath[MAX_PATH]; FILE *fptr;
--- 119,123 ---- double timeafter; int late; ! char fpath[FILENAME_MAX]; FILE *fptr;
*************** *** 152,156 **** {
! atom_string(&argv[i], fpath, MAX_PATH); #ifdef DEBUG post ("udpsend fname: %s", fpath); --- 152,156 ---- {
! atom_string(&argv[i], fpath, FILENAME_MAX); #ifdef DEBUG post ("udpsend fname: %s", fpath); *************** *** 243,246 **** }
! /* end x_net_udpsend.c*/
--- 243,246 ---- }
! /* end udpsend.c*/