certi-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[certi-cvs] certi/RTIG Federation.cc


From: certi-cvs
Subject: [certi-cvs] certi/RTIG Federation.cc
Date: Thu, 03 Jul 2008 19:54:20 +0000

CVSROOT:        /sources/certi
Module name:    certi
Changes by:     Petr Gotthard <gotthardp>       08/07/03 19:54:20

Modified files:
        RTIG           : Federation.cc 

Log message:
        Bug #23747 fixed.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/certi/RTIG/Federation.cc?cvsroot=certi&r1=3.95&r2=3.96

Patches:
Index: Federation.cc
===================================================================
RCS file: /sources/certi/certi/RTIG/Federation.cc,v
retrieving revision 3.95
retrieving revision 3.96
diff -u -b -r3.95 -r3.96
--- Federation.cc       27 Jun 2008 09:54:47 -0000      3.95
+++ Federation.cc       3 Jul 2008 19:54:20 -0000       3.96
@@ -18,7 +18,7 @@
 // along with this program ; if not, write to the Free Software
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 //
-// $Id: Federation.cc,v 3.95 2008/06/27 09:54:47 rousse Exp $
+// $Id: Federation.cc,v 3.96 2008/07/03 19:54:20 gotthardp Exp $
 // ----------------------------------------------------------------------------
 
 #include <config.h>
@@ -281,14 +281,14 @@
 
             // Retrieve the FED file last modification time(for Audit)
             STAT_STRUCT StatBuffer ;
-            #if defined(_WIN32) && !defined(__MINGW32__)
+            #if defined(_WIN32) && _MSC_VER >= 1400
             char MTimeBuffer[26];
             #else
             char *MTimeBuffer ;
             #endif
 
             if (STAT_FUNCTION(filename.c_str(), &StatBuffer) == 0) {
-            #if defined(_WIN32) && !defined(__MINGW32__)                
+            #if defined(_WIN32) && _MSC_VER >= 1400
                 ctime_s(&MTimeBuffer[0],26,&StatBuffer.st_mtime);
             #else
                 MTimeBuffer = ctime(&StatBuffer.st_mtime);
@@ -2287,5 +2287,5 @@
 
 }} // namespace certi/rtig
 
-// $Id: Federation.cc,v 3.95 2008/06/27 09:54:47 rousse Exp $
+// $Id: Federation.cc,v 3.96 2008/07/03 19:54:20 gotthardp Exp $
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]