Edit File by line
/home/barbar84/www/wp-conte.../plugins/sujqvwi/AnonR/smanonr..../lib64/perl5/CORE
File: time64.h
#include <time.h>
[0] Fix | Delete
#include "time64_config.h"
[1] Fix | Delete
[2] Fix | Delete
#ifndef TIME64_H
[3] Fix | Delete
# define TIME64_H
[4] Fix | Delete
[5] Fix | Delete
[6] Fix | Delete
/* Set our custom types */
[7] Fix | Delete
typedef INT_64_T Int64;
[8] Fix | Delete
typedef Int64 Time64_T;
[9] Fix | Delete
typedef I32 Year;
[10] Fix | Delete
[11] Fix | Delete
[12] Fix | Delete
/* A copy of the tm struct but with a 64 bit year */
[13] Fix | Delete
struct TM64 {
[14] Fix | Delete
int tm_sec;
[15] Fix | Delete
int tm_min;
[16] Fix | Delete
int tm_hour;
[17] Fix | Delete
int tm_mday;
[18] Fix | Delete
int tm_mon;
[19] Fix | Delete
Year tm_year;
[20] Fix | Delete
int tm_wday;
[21] Fix | Delete
int tm_yday;
[22] Fix | Delete
int tm_isdst;
[23] Fix | Delete
[24] Fix | Delete
#ifdef HAS_TM_TM_GMTOFF
[25] Fix | Delete
long tm_gmtoff;
[26] Fix | Delete
#endif
[27] Fix | Delete
[28] Fix | Delete
#ifdef HAS_TM_TM_ZONE
[29] Fix | Delete
/* If glibc is defined or we are on QNX, use const.
[30] Fix | Delete
* Otherwise, if we are on android, use const but
[31] Fix | Delete
* not with g++.
[32] Fix | Delete
*/
[33] Fix | Delete
# if defined(__GLIBC__) || (defined(__ANDROID__) && !defined(__cplusplus)) \
[34] Fix | Delete
|| defined(__QNX__) || defined(__CYGWIN__)
[35] Fix | Delete
const
[36] Fix | Delete
# endif
[37] Fix | Delete
char *tm_zone;
[38] Fix | Delete
#endif
[39] Fix | Delete
};
[40] Fix | Delete
[41] Fix | Delete
[42] Fix | Delete
/* Decide which tm struct to use */
[43] Fix | Delete
#ifdef USE_TM64
[44] Fix | Delete
#define TM TM64
[45] Fix | Delete
#else
[46] Fix | Delete
#define TM tm
[47] Fix | Delete
#endif
[48] Fix | Delete
[49] Fix | Delete
[50] Fix | Delete
/* Declare functions */
[51] Fix | Delete
struct TM *Perl_gmtime64_r (const Time64_T *, struct TM *);
[52] Fix | Delete
struct TM *Perl_localtime64_r (const Time64_T *, struct TM *);
[53] Fix | Delete
[54] Fix | Delete
[55] Fix | Delete
/* Not everyone has gm/localtime_r(), provide a replacement */
[56] Fix | Delete
#ifdef HAS_LOCALTIME_R
[57] Fix | Delete
# define LOCALTIME_R(clock, result) (L_R_TZSET localtime_r(clock, result))
[58] Fix | Delete
#else
[59] Fix | Delete
# define LOCALTIME_R(clock, result) (L_R_TZSET S_localtime_r(clock, result))
[60] Fix | Delete
#endif
[61] Fix | Delete
#ifdef HAS_GMTIME_R
[62] Fix | Delete
# define GMTIME_R(clock, result) gmtime_r(clock, result)
[63] Fix | Delete
#else
[64] Fix | Delete
# define GMTIME_R(clock, result) S_gmtime_r(clock, result)
[65] Fix | Delete
#endif
[66] Fix | Delete
[67] Fix | Delete
#endif
[68] Fix | Delete
[69] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function