]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Also write out errno in case of an error.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 26 Sep 2002 00:21:26 +0000 (00:21 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 26 Sep 2002 00:21:26 +0000 (00:21 +0000)
git-svn-id: https://svn.dealii.org/trunk@6524 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/contrib/hsl/source/detached_ma27.cc
deal.II/lac/source/sparse_direct.cc

index 6cacf54631a3ac79bd27b800245bf45cbad0b797..3a207d276831b61f1dc98755a435b3709fdfdc32 100644 (file)
@@ -40,6 +40,7 @@ void get (T *t, const size_t N, const char */*debug_info*/)
       if (ret < 0)
         {
           std::cerr << "------ error " << ret << " on client side!"
+                    << " errno=" << errno
                     << std::endl;
           abort ();
         }
index 70d84db44d2737b49b2bd66c7a61ac7dce1a01c2..bfdccc794736094458b3239d30f8e19e3a5993d9 100644 (file)
@@ -247,6 +247,7 @@ struct SparseDirectMA27::DetachedModeData
             if (ret < 0)
               {
                 std::cerr << "****** error " << ret << " on server side!"
+                          << " errno=" << errno
                           << std::endl;
                 abort ();
               }

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.