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

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