summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rw-r--r--misc/wminfo/files/patch-wminfo.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/misc/wminfo/files/patch-wminfo.c b/misc/wminfo/files/patch-wminfo.c
new file mode 100644
index 000000000000..7615cecbe3cf
--- /dev/null
+++ b/misc/wminfo/files/patch-wminfo.c
@@ -0,0 +1,18 @@
+--- wminfo.c.orig Thu Feb 19 21:22:58 2004
++++ wminfo.c Thu Feb 19 21:24:27 2004
+@@ -142,9 +142,11 @@
+
+ strcpy(plugin_exec,"sh ");
+ strcat(plugin_exec,plugin);
+- strcat(plugin_exec," > wmiout.tmp");
+- strcpy(plugin_out,getenv("PWD"));
+- strcat(plugin_out,"/wmiout.tmp");
++ strcat(plugin_exec," > ");
++ strcat(plugin_exec,plugin);
++ strcat(plugin_exec,".tmp");
++ strcpy(plugin_out,plugin);
++ strcat(plugin_out,".tmp");
+
+ createXBMfromXPM(wminfo_mask_bits, wminfo_xpm, wminfo_mask_width, wminfo_mask_height);
+ openXwindow(argc, argv, wminfo_xpm, wminfo_mask_bits, wminfo_mask_width, wminfo_mask_height);
+