[PD-cvs] packages/patches windows_env_vars-0.40-pre.patch,NONE,1.1

Hans-Christoph Steiner eighthave at users.sourceforge.net
Mon Jan 23 03:58:18 CET 2006


Update of /cvsroot/pure-data/packages/patches
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21662

Added Files:
	windows_env_vars-0.40-pre.patch 
Log Message:
added quick change to allow win env vars in path and loadlib settings.  A more complete implementation is proposed in this feature reqest: http://sourceforge.net/tracker/index.php?func=detail&aid=1412443&group_id=55736&atid=478073  

--- NEW FILE: windows_env_vars-0.40-pre.patch ---
Index: s_file.c
===================================================================
RCS file: /cvsroot/pure-data/pd/src/s_file.c,v
retrieving revision 1.9
diff -u -w -r1.9 s_file.c
--- s_file.c	31 Dec 2005 20:55:25 -0000	1.9
+++ s_file.c	23 Jan 2006 02:10:40 -0000
@@ -193,7 +193,7 @@
         post("unable to create registry entry: %s\n", key);
         return;
     }
-    err = RegSetValueEx(hkey, key, 0, REG_SZ, value, strlen(value)+1);
+    err = RegSetValueEx(hkey, key, 0, REG_EXPAND_SZ, value, strlen(value)+1);
     if (err != ERROR_SUCCESS)
         post("unable to set registry entry: %s\n", key);
     RegCloseKey(hkey);





More information about the Pd-cvs mailing list