]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Use an alternate string if DEBUG isn't set.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Tue, 1 Mar 2005 17:25:54 +0000 (17:25 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Tue, 1 Mar 2005 17:25:54 +0000 (17:25 +0000)
git-svn-id: https://svn.dealii.org/trunk@9931 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/source/job_identifier.cc

index 0de23ef83aec613ec860ba70d7b6d1d9cbef3c05..4bb10eacf5a3948acd8a2fa6cfa7334d87c5497b 100644 (file)
@@ -36,6 +36,8 @@ JobIdentifier::JobIdentifier()
   char name[100];
   gethostname(name,99);
   id += std::string(name) + std::string(" ");
+#else
+  id += std::string("unknown ");
 #endif
 
   id += std::string(std::ctime(&t));

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.