aboutsummaryrefslogtreecommitdiff
path: root/packages/patches
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-01-23 02:58:16 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-01-23 02:58:16 +0000
commitb3f15f71cd5066bc0205dad4c41e069e28c0ad47 (patch)
treeab2abc9733959d6053f845824ee274896763e192 /packages/patches
parent3605921a53c74534f458d9ba7c03f282c6fdfcc1 (diff)
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
svn path=/trunk/; revision=4464
Diffstat (limited to 'packages/patches')
-rw-r--r--packages/patches/windows_env_vars-0.40-pre.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/packages/patches/windows_env_vars-0.40-pre.patch b/packages/patches/windows_env_vars-0.40-pre.patch
new file mode 100644
index 00000000..d63828d1
--- /dev/null
+++ b/packages/patches/windows_env_vars-0.40-pre.patch
@@ -0,0 +1,16 @@
+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);