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

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