From: Guido Kanschat Date: Fri, 4 Mar 2005 15:46:45 +0000 (+0000) Subject: eliminate program_id X-Git-Tag: v8.0.0~14526 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef512f8738d499bb26e759ff24972704ee877a13;p=dealii.git eliminate program_id git-svn-id: https://svn.dealii.org/trunk@10000 0785d39b-7218-0410-832d-ea1e28bc413d --- 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 "; -}