summaryrefslogtreecommitdiff
path: root/community/dosemu/fix-infinite-loop.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/dosemu/fix-infinite-loop.patch')
-rw-r--r--community/dosemu/fix-infinite-loop.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/community/dosemu/fix-infinite-loop.patch b/community/dosemu/fix-infinite-loop.patch
new file mode 100644
index 000000000..7f12d9985
--- /dev/null
+++ b/community/dosemu/fix-infinite-loop.patch
@@ -0,0 +1,13 @@
+--- trunk/src/plugin/translate/translate.c 2011/05/24 02:28:24 2032
++++ trunk/src/plugin/translate/translate.c 2011/10/03 23:37:46 2058
+@@ -466,7 +466,9 @@
+ while (list->next) {
+ list = list->next;
+ }
+- list->next = set;
++ if (list != set) {
++ list->next = set;
++ }
+ }
+ initialize_charset(set);
+ }