]> https://gitweb.dealii.org/ - dealii.git/commitdiff
eliminate program_id
authorGuido Kanschat <dr.guido.kanschat@gmail.com>
Fri, 4 Mar 2005 15:46:45 +0000 (15:46 +0000)
committerGuido Kanschat <dr.guido.kanschat@gmail.com>
Fri, 4 Mar 2005 15:46:45 +0000 (15:46 +0000)
git-svn-id: https://svn.dealii.org/trunk@10000 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/source/job_identifier.cc
deal.II/base/source/programid.cc [deleted file]

index b0495d719cdaf47ce07883b90b4ba0eaeea6eb0f..c5428997812e96f8d889649308f5f7e03add4d57 100644 (file)
@@ -26,12 +26,8 @@ JobIdentifier dealjobid;
 JobIdentifier::JobIdentifier()
 {
   time_t t = std::time(0);
-  id = std::string(program_id());
+  id = std::string("JobId ");
 
-//TODO:[GK] try to avoid this hack
-// It should be possible not to check DEBUG, but there is this
-// tedious -ansi, which causes problems with linux headers
-  
 #if defined(HAVE_GETHOSTNAME) && !defined(DEAL_II_BROKEN_GETHOSTNAME) && !defined(DEBUG)
   char name[100];
   gethostname(name,99);
diff --git a/deal.II/base/source/programid.cc b/deal.II/base/source/programid.cc
deleted file mode 100644 (file)
index 393b295..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-//----------------------------  programid.cc  ---------------------------
-//    $Id$
-//    Version: $Name$
-//
-//    Copyright (C) 1998, 1999, 2000, 2001, 2002 by the deal authors
-//
-//    This file is subject to QPL and may not be  distributed
-//    without copyright and license information. Please refer
-//    to the file deal.II/doc/license.html for the  text  and
-//    further information on this license.
-//
-//----------------------------  programid.cc  ---------------------------
-
-
-#include <base/job_identifier.h>
-
-const char*
-JobIdentifier::program_id()
-{
-  return "JobId ";
-}

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.