aboutsummaryrefslogtreecommitdiff
path: root/src/portal.cc
diff options
context:
space:
mode:
authorschnetter <schnetter@83718e91-0e4f-0410-abf4-91180603181f>2005-05-25 13:33:32 +0000
committerschnetter <schnetter@83718e91-0e4f-0410-abf4-91180603181f>2005-05-25 13:33:32 +0000
commit1aa4d8de4da4f17c723a9b552a3c327d2c3ed589 (patch)
tree0dada42236795a3657d013615f5cf7d18ff5aedf /src/portal.cc
parent8dbf9c7c00be5eed3f41f715626d012a7fecfcfc (diff)
Make it compile
git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/Formaline/trunk@11 83718e91-0e4f-0410-abf4-91180603181f
Diffstat (limited to 'src/portal.cc')
-rw-r--r--src/portal.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/portal.cc b/src/portal.cc
index 93fed01..b8faae7 100644
--- a/src/portal.cc
+++ b/src/portal.cc
@@ -39,10 +39,12 @@ Formaline_Portal (CCTK_ARGUMENTS)
/* Compiling */
+#if 0
{
char const * const compile_user = CCTK_CompileUser();
conn.store ("compile user", compile_user);
}
+#endif
{
char const * const compile_date = CCTK_CompileDate();
@@ -58,10 +60,17 @@ Formaline_Portal (CCTK_ARGUMENTS)
/* Running */
+#if 0
{
char const * const run_user = CCTK_RunUser();
conn.store ("run user", run_user);
}
+#else
+ {
+ char const * const run_user = getenv ("USER");
+ conn.store ("run user", run_user);
+ }
+#endif
{
char run_date [1000];