summaryrefslogtreecommitdiff
path: root/community/dosemu/fix-infinite-loop.patch
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-12-29 02:13:48 -0800
committerroot <root@rshg054.dnsready.net>2012-12-29 02:13:48 -0800
commit5dd7ed82e788ebad2e920e0f2db7468cc6547cfe (patch)
treef467412e09912ababcd8fe6c05193d829f514dcd /community/dosemu/fix-infinite-loop.patch
parent3009e8addb4a894329bf8ab3e8fb763361833978 (diff)
Sat Dec 29 02:10:20 PST 2012
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);
+ }