From ef512f8738d499bb26e759ff24972704ee877a13 Mon Sep 17 00:00:00 2001 From: Guido Kanschat Date: Fri, 4 Mar 2005 15:46:45 +0000 Subject: [PATCH] eliminate program_id git-svn-id: https://svn.dealii.org/trunk@10000 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/base/source/job_identifier.cc | 6 +----- deal.II/base/source/programid.cc | 21 --------------------- 2 files changed, 1 insertion(+), 26 deletions(-) delete mode 100644 deal.II/base/source/programid.cc diff --git a/deal.II/base/source/job_identifier.cc b/deal.II/base/source/job_identifier.cc index b0495d719c..c542899781 100644 --- a/deal.II/base/source/job_identifier.cc +++ b/deal.II/base/source/job_identifier.cc @@ -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 index 393b2955a5..0000000000 --- a/deal.II/base/source/programid.cc +++ /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 - -const char* -JobIdentifier::program_id() -{ - return "JobId "; -} -- 2.39.5