From 0ff51678a4fd5c7fb6a6f793e9fa01a4de76a473 Mon Sep 17 00:00:00 2001 From: chatty Date: Mon, 29 Nov 1993 12:28:06 +0000 Subject: Fixed documentation Added include files --- comm/error.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'comm') diff --git a/comm/error.cc b/comm/error.cc index aed7c0b..f46ba3d 100644 --- a/comm/error.cc +++ b/comm/error.cc @@ -23,6 +23,8 @@ extern "C" int rename (const char*, const char*); #include #include #include "ccu/Time.h" +#include +#include /*?class UchERROR The set of global functions described here are designed to handle errors. @@ -143,12 +145,12 @@ ProgramName (const char* name) /*? Set the log file name. All messages are appended to the logfile. -If \var{reset} is TRUE, the file is renamed to \var{file\~}. +If \var{reset} is TRUE, the file is renamed to \var{file$\sim$}. If this fails, the file is simply cleared. If the \com{LOGDIR} environment variable is defined, and if \var{file} does not start with \com{/} or \com{./}, the value of \com{LOGDIR} is prepended to \var{file}, followed by a slash if necessary. -Otherwise, the directory \com{$HOME/.log} is used. +Otherwise, the directory \com{\$HOME/.log} is used. ?*/ void LogfileName (const char* file, bool reset) -- cgit v1.1