Update of /cvsroot/pure-data/pd/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24512
Modified Files: Tag: desiredata s_path.c Log Message: remove stderr
Index: s_path.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/s_path.c,v retrieving revision 1.3.4.6.2.8.2.14 retrieving revision 1.3.4.6.2.8.2.15 diff -C2 -d -r1.3.4.6.2.8.2.14 -r1.3.4.6.2.8.2.15 *** s_path.c 1 Aug 2007 16:50:32 -0000 1.3.4.6.2.8.2.14 --- s_path.c 4 Aug 2007 01:01:58 -0000 1.3.4.6.2.8.2.15 *************** *** 267,271 **** if (c[strlen(c)-1] !='\n') { //it is unlikely that this is ever the case ! fprintf(stderr, "startup file contains a line that's too long\n"); while(fgetc(file) != '\n') {} } --- 267,271 ---- if (c[strlen(c)-1] !='\n') { //it is unlikely that this is ever the case ! error("startup file contains a line that's too long"); while(fgetc(file) != '\n') {} } *************** *** 283,287 **** } /* } tb */ ! if (i >= NUMARGS-1) fprintf(stderr, "startup file too long; extra args dropped\n"); rcargv[i] = 0; rcargc = i; --- 283,287 ---- } /* } tb */ ! if (i >= NUMARGS-1) error("startup file too long; extra args dropped"); rcargv[i] = 0; rcargc = i; *************** *** 319,326 **** int rcargc = 0; char *rcargv[MAXPDSTRING]; ! if (len > MAXPDSTRING) { ! post("flags: %s: too long", sys_flags->s_name); ! return; ! } for (int i=0; i<len+1; i++) { int c = sys_flags->s_name[i]; --- 319,323 ---- int rcargc = 0; char *rcargv[MAXPDSTRING]; ! if (len > MAXPDSTRING) {post("flags: %s: too long", sys_flags->s_name); return;} for (int i=0; i<len+1; i++) { int c = sys_flags->s_name[i];