Update of /cvsroot/pure-data/pd/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19288
Modified Files: Tag: devel_0_38 s_inter.c Log Message: more usual paths for Wish.app on OSX
Index: s_inter.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/s_inter.c,v retrieving revision 1.5.4.12 retrieving revision 1.5.4.13 diff -C2 -d -r1.5.4.12 -r1.5.4.13 *** s_inter.c 17 Jun 2005 15:25:20 -0000 1.5.4.12 --- s_inter.c 21 Jun 2005 14:56:35 -0000 1.5.4.13 *************** *** 1090,1093 **** --- 1090,1103 ---- nohomedir: strcpy(filename, + "/System/Library/Frameworks/Tk.Framework/Resources/Wish Shell.app/Contents/MacOS/Wish Shell"); + if (stat(filename, &statbuf) >= 0) + goto foundit; + + strcpy(filename, + "/Library/Frameworks/Tk.Framework/Resources/Wish Shell.app/Contents/MacOS/Wish Shell"); + if (stat(filename, &statbuf) >= 0) + goto foundit; + + strcpy(filename, "/Applications/Utilities/Wish Shell.app/Contents/MacOS/Wish Shell"); if (stat(filename, &statbuf) >= 0)