Update of /cvsroot/pure-data/pd/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22491
Modified Files: Tag: devel_0_38 s_path.c Log Message: miller's changes to 0.38-test13
Index: s_path.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/s_path.c,v retrieving revision 1.3.4.3 retrieving revision 1.3.4.4 diff -C2 -d -r1.3.4.3 -r1.3.4.4 *** s_path.c 11 Nov 2004 22:30:42 -0000 1.3.4.3 --- s_path.c 14 Dec 2004 09:56:04 -0000 1.3.4.4 *************** *** 439,443 **** else post("no RC file arguments found"); } ! if (sys_argparse(rcargc, rcargv)) { post("error parsing RC arguments"); --- 439,443 ---- else post("no RC file arguments found"); } ! if (sys_argparse(rcargc-1, rcargv+1)) { post("error parsing RC arguments"); *************** *** 459,463 **** return; } ! for (i = 0; i < len; i++) { int c = sys_flags->s_name[i]; --- 459,463 ---- return; } ! for (i = 0; i < len+1; i++) { int c = sys_flags->s_name[i]; *************** *** 483,491 **** if (rcargc >= MAXPDSTRING) break; } } } if (sys_argparse(rcargc, rcargv)) ! post("error parsing RC arguments"); }
--- 483,492 ---- if (rcargc >= MAXPDSTRING) break; + state = 0; } } } if (sys_argparse(rcargc, rcargv)) ! post("error parsing startup arguments"); }
*************** *** 499,503 **** bug("sys_decodedialog: %s", sp); else sp++; ! for (i = 0; i < MAXPDSTRING-1; i++) { if (!sp[0]) --- 500,504 ---- bug("sys_decodedialog: %s", sp); else sp++; ! for (i = 0; i < MAXPDSTRING-1; i++, sp++) { if (!sp[0]) *************** *** 516,521 **** buf[i] = '$', sp++; else buf[i] = sp[0]; - sp++; } } buf[i] = 0; --- 517,522 ---- buf[i] = '$', sp++; else buf[i] = sp[0]; } + else buf[i] = sp[0]; } buf[i] = 0;