Update of /cvsroot/pure-data/pd/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32419
Modified Files: Tag: impd_0_37 s_main.c Log Message: small fixes + removing unused
Index: s_main.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/s_main.c,v retrieving revision 1.1.1.4.2.8.4.11 retrieving revision 1.1.1.4.2.8.4.12 diff -C2 -d -r1.1.1.4.2.8.4.11 -r1.1.1.4.2.8.4.12 *** s_main.c 21 Apr 2004 03:02:46 -0000 1.1.1.4.2.8.4.11 --- s_main.c 8 May 2004 19:33:37 -0000 1.1.1.4.2.8.4.12 *************** *** 238,242 **** --- 238,247 ---- sys_messagelist = 0; sys_oldtclversion = atom_getfloatarg(1 + 3 * NHOSTFONT, argc, argv); + + /* externs shouldn't set signals, but some still do (matju) */ + /* void sys_setsignals(void); sys_setsignals(); */ + } +
static void sys_addextrapath(void); *************** *** 449,453 **** void sys_findprogdir(char *progname) { ! char sbuf[MAXPDSTRING], sbuf2[MAXPDSTRING], *sp; char *lastslash; #ifdef UNIX --- 454,458 ---- void sys_findprogdir(char *progname) { ! char sbuf[MAXPDSTRING], sbuf2[MAXPDSTRING]; char *lastslash; #ifdef UNIX *************** *** 539,543 **** int sys_argparse(int argc, char **argv) { - char sbuf[MAXPDSTRING]; int i; #ifdef MSW --- 544,547 ---- *************** *** 843,847 **** argc -= 2; argv += 2; } ! else if (!strcmp(*argv,"-console")) { console_scrollback = atoi(argv[1]); --- 847,851 ---- argc -= 2; argv += 2; } ! else if (!strcmp(*argv,"-console") && argc>1) { console_scrollback = atoi(argv[1]); *************** *** 849,853 **** argc-=2; argv+=2; } ! else if (!strcmp(*argv,"-look")) { option_look = strdup(argv[1]); --- 853,857 ---- argc-=2; argv+=2; } ! else if (!strcmp(*argv,"-look") && argc>1) { option_look = strdup(argv[1]);