[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[paragui-cvs] CVS: paragui/src/core pglog.cpp,1.1.6.1,1.1.6.2
From: |
Alexander Pipelka <address@hidden> |
Subject: |
[paragui-cvs] CVS: paragui/src/core pglog.cpp,1.1.6.1,1.1.6.2 |
Date: |
Mon, 03 Jun 2002 04:27:19 -0400 |
Update of /cvsroot/paragui/paragui/src/core
In directory subversions:/tmp/cvs-serv30627/src/core
Modified Files:
Tag: devel-1-0
pglog.cpp
Log Message:
Win32 compilation fixes
added Win32 dll-version information
Index: pglog.cpp
===================================================================
RCS file: /cvsroot/paragui/paragui/src/core/pglog.cpp,v
retrieving revision 1.1.6.1
retrieving revision 1.1.6.2
diff -C2 -r1.1.6.1 -r1.1.6.2
*** pglog.cpp 31 May 2002 12:17:29 -0000 1.1.6.1
--- pglog.cpp 3 Jun 2002 08:27:17 -0000 1.1.6.2
***************
*** 45,53 ****
struct PG_LogMessage_t {
PG_LOG_LEVEL Id;
! std::time_t TimeStamp;
std::string Text;
PG_LogMessage_t(PG_LOG_LEVEL _id, const char* txt)
! : Id(_id), TimeStamp(std::time(0)) {Text = txt;}
}
--- 45,53 ----
struct PG_LogMessage_t {
PG_LOG_LEVEL Id;
! time_t TimeStamp;
std::string Text;
PG_LogMessage_t(PG_LOG_LEVEL _id, const char* txt)
! : Id(_id), TimeStamp(time(0)) {Text = txt;}
}
***************
*** 120,124 ****
}
! strftime(buffer, sizeof(buffer), "%m/%d/%Y %X",
std::localtime(&NewMsg->TimeStamp));
std::cout << buffer << "] > " << NewMsg << std::endl;
}
--- 120,124 ----
}
! strftime(buffer, sizeof(buffer), "%m/%d/%Y %X",
localtime(&NewMsg->TimeStamp));
std::cout << buffer << "] > " << NewMsg << std::endl;
}
***************
*** 147,151 ****
}
! strftime(buffer, sizeof(buffer), "%m/%d/%Y %X",
std::localtime(&NewMsg->TimeStamp));
std::cerr << buffer << "] > " << NewMsg << std::endl;
}
--- 147,151 ----
}
! strftime(buffer, sizeof(buffer), "%m/%d/%Y %X",
localtime(&NewMsg->TimeStamp));
std::cerr << buffer << "] > " << NewMsg << std::endl;
}
***************
*** 184,188 ****
PG_LogMessage_t *Msg = *it;
char timebuf[128];
! strftime(timebuf, sizeof(timebuf), "%m/%d/%Y %X",
std::localtime(&Msg->TimeStamp));
buffer += timebuf;
--- 184,188 ----
PG_LogMessage_t *Msg = *it;
char timebuf[128];
! strftime(timebuf, sizeof(timebuf), "%m/%d/%Y %X",
localtime(&Msg->TimeStamp));
buffer += timebuf;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [paragui-cvs] CVS: paragui/src/core pglog.cpp,1.1.6.1,1.1.6.2,
Alexander Pipelka <address@hidden> <=
- Prev by Date:
[paragui-cvs] CVS: paragui/include paraconfig.h,1.3.6.7,1.3.6.8
- Next by Date:
[paragui-cvs] CVS: paragui/VisualC/paragui_dynamic Version.rc,NONE,1.1.2.1 resource.h,NONE,1.1.2.1
- Previous by thread:
[paragui-cvs] CVS: paragui/include paraconfig.h,1.3.6.7,1.3.6.8
- Next by thread:
[paragui-cvs] CVS: paragui/VisualC/paragui_dynamic Version.rc,NONE,1.1.2.1 resource.h,NONE,1.1.2.1
- Index(es):