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

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