diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2006-02-22 04:43:06 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2006-02-22 04:43:06 +0000 |
commit | 0212c8bdc0d48623e214fe2feac6a22ca242bdff (patch) | |
tree | 352e1f5b112186aff16aa765856d80662c3c7a95 | |
parent | 4e34bf279a233abb205a6a8b8fa4b167bb26d537 (diff) |
switched in Martin Peach's cleaner fix for the .. in pd_guidir on Windows, it shouldn't cause trouble on other platforms, but we shall see...
svn path=/trunk/; revision=4603
-rwxr-xr-x | packages/patches/openhtml_win32_fix-0.39-2.patch | 11 | ||||
-rw-r--r-- | packages/patches/remove_dotdot_from_guidir-0.39.2.patch | 13 |
2 files changed, 13 insertions, 11 deletions
diff --git a/packages/patches/openhtml_win32_fix-0.39-2.patch b/packages/patches/openhtml_win32_fix-0.39-2.patch deleted file mode 100755 index 61adfa03..00000000 --- a/packages/patches/openhtml_win32_fix-0.39-2.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- u_main.tk 2006-01-16 21:03:04.937500000 -0500 -+++ /c/Program Files/pd/bin/pd.tk 2006-01-22 18:44:12.843750000 -0500 -@@ -370,7 +367,7 @@ - exec sh -c [format "open %s" $filename] - } else { - exec rundll32 url.dll,FileProtocolHandler \ -- [format "file:%s" $filename] & -+ [format "file:%s" [file attributes $filename -shortname]] & - } - } - diff --git a/packages/patches/remove_dotdot_from_guidir-0.39.2.patch b/packages/patches/remove_dotdot_from_guidir-0.39.2.patch new file mode 100644 index 00000000..03dee654 --- /dev/null +++ b/packages/patches/remove_dotdot_from_guidir-0.39.2.patch @@ -0,0 +1,13 @@ +--- u_main.tk 2006-01-26 11:15:41.468750000 -0500 ++++ u_main.tk 2006-01-26 11:47:40.375000000 -0500 +@@ -35,8 +35,8 @@ + global pd_guidir + global pd_tearoff + set pd_gui2 [string range $argv0 0 [expr [string last \\ $argv0 ] - 1]] +- regsub -all \\\\ $pd_gui2 / pd_gui3 +- set pd_guidir $pd_gui3/.. ++ regsub -all \\\\ $pd_gui2 / pd_guidir ++ set pd_guidir [string range $pd_guidir 0 [expr [string last / $pd_guidir] - 1]] + load $pd_guidir/bin/pdtcl.dll + set pd_tearoff 1 + } |