(file) Return to SystemUnix.cpp CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Common

Diff for /pegasus/src/Pegasus/Common/SystemUnix.cpp between version 1.87 and 1.88

version 1.87, 2004/06/29 15:18:43 version 1.88, 2004/07/20 22:09:49
Line 120 
Line 120 
 { {
     char    str[50];     char    str[50];
     time_t  rawTime;     time_t  rawTime;
       struct tm tmBuffer;
  
     time(&rawTime);     time(&rawTime);
     strftime(str, 40,"%m/%d/%Y-%T", localtime(&rawTime));      strftime(str, 40,"%m/%d/%Y-%T", localtime_r(&rawTime, &tmBuffer));
     String time = str;      return String(str);
     return time;  
 } }
  
 void System::sleep(Uint32 seconds) void System::sleep(Uint32 seconds)


Legend:
Removed from v.1.87  
changed lines
  Added in v.1.88

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2