Revision: 9962 http://pure-data.svn.sourceforge.net/pure-data/?rev=9962&view=rev Author: eighthave Date: 2008-06-01 15:48:48 -0700 (Sun, 01 Jun 2008)
Log Message: ----------- added quotes around library name to make it clearer
Modified Paths: -------------- branches/pd-extended/v0-40/externals/loaders/libdir.c
Modified: branches/pd-extended/v0-40/externals/loaders/libdir.c =================================================================== --- branches/pd-extended/v0-40/externals/loaders/libdir.c 2008-06-01 18:27:06 UTC (rev 9961) +++ branches/pd-extended/v0-40/externals/loaders/libdir.c 2008-06-01 22:48:48 UTC (rev 9962) @@ -57,6 +57,7 @@ if(canvas) { canvasenvironment = canvas_getenv(canvas); + /* setting the canvas to NULL causes it to ignore any canvas-local path */ if ((fd = canvas_open(NULL, fullclassname, ".pd", dirbuf, &nameptr, FILENAME_MAX, 0)) < 0) { @@ -72,7 +73,7 @@ strncat(pathbuf, classname, FILENAME_MAX - strlen(pathbuf)); canvasenvironment->ce_path = namelist_append(canvasenvironment->ce_path, pathbuf, 0); - post("libdir_loader: added %s to the canvas-local objectclass path", classname); + post("libdir_loader: added '%s' to the canvas-local objectclass path", classname); } else #endif @@ -89,12 +90,12 @@ strcat(helppathname, "/doc/5.reference/"); strcat(helppathname, classname); sys_helppath = namelist_append(sys_helppath, helppathname, 0); - post("libdir_loader: added %s to the global objectclass path", classname); + post("libdir_loader: added '%s' to the global objectclass path", classname); // post("\tThis is deprecated behavior."); } /* post("libdir_loader loaded fullclassname: '%s'\n", fullclassname); */ if (sys_verbose) - post("Loaded libdir %s from %s", classname, dirbuf); + post("Loaded libdir '%s' from '%s'", classname, dirbuf);
return (1); }
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.