[PD-cvs] pd/src s_inter.c,1.1.1.3.2.9.2.2,1.1.1.3.2.9.2.3
carmen rocco
ix9 at users.sourceforge.net
Fri Apr 2 01:42:46 CEST 2004
- Previous message: [PD-cvs] pd/src u_main.tk,1.1.1.4.2.7.4.29,1.1.1.4.2.7.4.30 u_object.tk,1.1.2.13,1.1.2.14 g_array.c,1.1.1.3.2.2.2.2,1.1.1.3.2.2.2.3 g_canvas.c,1.1.1.4.2.7.2.8,1.1.1.4.2.7.2.9 g_editor.c,1.1.1.4.2.3.2.7,1.1.1.4.2.3.2.8 g_graph.c,1.1.1.3.2.3.2.5,1.1.1.3.2.3.2.6 g_io.c,1.1.1.1.16.2.2.2,1.1.1.1.16.2.2.3 g_rtext.c,1.1.1.2.2.6.2.5,1.1.1.2.2.6.2.6 g_scalar.c,1.1.1.2.2.2,1.1.1.2.2.2.2.1 g_template.c,1.1.1.3.2.2,1.1.1.3.2.2.2.1 g_text.c,1.1.1.4.2.2.2.6,1.1.1.4.2.2.2.7 g_traversal.c,1.1.1.1,1.1.1.1.18.1
- Next message: [PD-cvs] pd/src g_all_guis.c,1.1.1.4.2.4.2.13,1.1.1.4.2.4.2.14 g_array.c,1.1.1.3.2.2.2.3,1.1.1.3.2.2.2.4 g_bang.c,1.1.1.3.2.2.2.10,1.1.1.3.2.2.2.11 g_canvas.c,1.1.1.4.2.7.2.9,1.1.1.4.2.7.2.10 g_editor.c,1.1.1.4.2.3.2.8,1.1.1.4.2.3.2.9 g_hslider.c,1.1.1.3.2.2.2.10,1.1.1.3.2.2.2.11 g_io.c,1.1.1.1.16.2.2.3,1.1.1.1.16.2.2.4 g_mycanvas.c,1.1.1.3.2.2.2.3,1.1.1.3.2.2.2.4 g_readwrite.c,1.1.1.3.2.1,1.1.1.3.2.1.2.1 g_text.c,1.1.1.4.2.2.2.7,1.1.1.4.2.2.2.8
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/pure-data/pd/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9041
Modified Files:
Tag: impd_0_37
s_inter.c
Log Message:
look for wish anywhere in PATH
Index: s_inter.c
===================================================================
RCS file: /cvsroot/pure-data/pd/src/s_inter.c,v
retrieving revision 1.1.1.3.2.9.2.2
retrieving revision 1.1.1.3.2.9.2.3
diff -C2 -d -r1.1.1.3.2.9.2.2 -r1.1.1.3.2.9.2.3
*** s_inter.c 30 Mar 2004 01:46:27 -0000 1.1.1.3.2.9.2.2
--- s_inter.c 1 Apr 2004 23:42:44 -0000 1.1.1.3.2.9.2.3
***************
*** 634,638 ****
{
#ifdef MSW
! char scriptbuf[MAXPDSTRING+30], wishbuf[MAXPDSTRING+30], portbuf[80];
int spawnret;
--- 634,638 ----
{
#ifdef MSW
! char scriptbuf[MAXPDSTRING+30], portbuf[80];
int spawnret;
***************
*** 764,793 ****
#endif /* UNIX */
! #ifdef MSW
! /* in MSW land "guipath" is unused; we just do everything from
! the libdir. */
! fprintf(stderr, "%s\n", sys_libdir->s_name);
!
strcpy(scriptbuf, "\"");
strcat(scriptbuf, sys_libdir->s_name);
strcat(scriptbuf, "/" PDBINDIR "pd.tk\"");
sys_bashfilename(scriptbuf, scriptbuf);
!
! sprintf(portbuf, "%d", portno);
! strcpy(wishbuf, sys_libdir->s_name);
! strcat(wishbuf, "/" PDBINDIR WISHAPP);
! sys_bashfilename(wishbuf, wishbuf);
!
! spawnret = _spawnl(P_NOWAIT, wishbuf, WISHAPP, scriptbuf, portbuf, 0);
if (spawnret < 0)
{
! perror("spawnl");
! fprintf(stderr, "%s: couldn't load TCL\n", wishbuf);
exit(1);
}
-
- #endif /* MSW */
}
#ifdef __linux__
--- 764,783 ----
#endif /* UNIX */
! #ifdef MSW
strcpy(scriptbuf, "\"");
strcat(scriptbuf, sys_libdir->s_name);
strcat(scriptbuf, "/" PDBINDIR "pd.tk\"");
sys_bashfilename(scriptbuf, scriptbuf);
! sprintf(portbuf, "%d", portno);
! spawnret = _spawnlp(P_NOWAIT, WISHAPP, WISHAPP, scriptbuf, portbuf, 0);
if (spawnret < 0)
{
! perror(WISHAPP);
! fprintf(stderr, "%s %s %s\n", WISHAPP, scriptbuf, portbuf);
exit(1);
}
}
+ #endif /* MSW */
#ifdef __linux__
- Previous message: [PD-cvs] pd/src u_main.tk,1.1.1.4.2.7.4.29,1.1.1.4.2.7.4.30 u_object.tk,1.1.2.13,1.1.2.14 g_array.c,1.1.1.3.2.2.2.2,1.1.1.3.2.2.2.3 g_canvas.c,1.1.1.4.2.7.2.8,1.1.1.4.2.7.2.9 g_editor.c,1.1.1.4.2.3.2.7,1.1.1.4.2.3.2.8 g_graph.c,1.1.1.3.2.3.2.5,1.1.1.3.2.3.2.6 g_io.c,1.1.1.1.16.2.2.2,1.1.1.1.16.2.2.3 g_rtext.c,1.1.1.2.2.6.2.5,1.1.1.2.2.6.2.6 g_scalar.c,1.1.1.2.2.2,1.1.1.2.2.2.2.1 g_template.c,1.1.1.3.2.2,1.1.1.3.2.2.2.1 g_text.c,1.1.1.4.2.2.2.6,1.1.1.4.2.2.2.7 g_traversal.c,1.1.1.1,1.1.1.1.18.1
- Next message: [PD-cvs] pd/src g_all_guis.c,1.1.1.4.2.4.2.13,1.1.1.4.2.4.2.14 g_array.c,1.1.1.3.2.2.2.3,1.1.1.3.2.2.2.4 g_bang.c,1.1.1.3.2.2.2.10,1.1.1.3.2.2.2.11 g_canvas.c,1.1.1.4.2.7.2.9,1.1.1.4.2.7.2.10 g_editor.c,1.1.1.4.2.3.2.8,1.1.1.4.2.3.2.9 g_hslider.c,1.1.1.3.2.2.2.10,1.1.1.3.2.2.2.11 g_io.c,1.1.1.1.16.2.2.3,1.1.1.1.16.2.2.4 g_mycanvas.c,1.1.1.3.2.2.2.3,1.1.1.3.2.2.2.4 g_readwrite.c,1.1.1.3.2.1,1.1.1.3.2.1.2.1 g_text.c,1.1.1.4.2.2.2.7,1.1.1.4.2.2.2.8
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Pd-cvs
mailing list