/[escript]/trunk/escript/src/Utils.cpp
ViewVC logotype

Diff of /trunk/escript/src/Utils.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1805 by ksteube, Wed Sep 24 23:39:00 2008 UTC revision 1806 by ksteube, Thu Sep 25 00:36:10 2008 UTC
# Line 13  Line 13 
13   *   *
14   *******************************************************/   *******************************************************/
15    
16    #include <unistd.h>
17    #include <string.h>
18    
19  #include "Utils.h"  #include "Utils.h"
20  #include "DataVector.h"  #include "DataVector.h"
21    
# Line 71  void printParallelThreadCnt() Line 74  void printParallelThreadCnt()
74    
75  #ifdef HAVE_GETHOSTNAME  #ifdef HAVE_GETHOSTNAME
76    gethostname(hname, 64);    gethostname(hname, 64);
77      hname[63] = '\0';
78  #else  #else
79    strcpy(hname, "unknown host");    strcpy(hname, "unknown host");
80  #endif  #endif

Legend:
Removed from v.1805  
changed lines
  Added in v.1806

  ViewVC Help
Powered by ViewVC 1.1.26