Blame SOURCES/aspell-0.60.6.1-dump-personal-abort.patch

fa09cd
diff -upr aspell-0.60.6.1.orig/prog/aspell.cpp aspell-0.60.6.1/prog/aspell.cpp
fa09cd
--- aspell-0.60.6.1.orig/prog/aspell.cpp	2011-07-04 11:13:58.000000000 +0200
fa09cd
+++ aspell-0.60.6.1/prog/aspell.cpp	2012-07-19 15:16:43.204799622 +0200
fa09cd
@@ -1570,7 +1570,8 @@ void personal () {
fa09cd
 
fa09cd
     Config * config = options;
fa09cd
     Dictionary * per = new_default_writable_dict();
fa09cd
-    per->load(config->retrieve("personal-path"), *config);
fa09cd
+    PosibErr<void> pe = per->load(config->retrieve("personal-path"), *config);
fa09cd
+    if (pe.has_err()) {print_error(pe.get_err()->mesg); exit(1);}
fa09cd
     StackPtr<WordEntryEnumeration> els(per->detailed_elements());
fa09cd
     StackPtr<Convert> conv(setup_conv(per->lang(), config));
fa09cd