Comparing files keylib.c and H:\KEYLIB.C
***** keylib.c

//#include "safelib.h"
#ifdef WIN32
***** H:\KEYLIB.C

#include "safelib.h"
#ifdef WIN32
*****

***** keylib.c

//#include "defines.h"
#ifndef SYSTEM_TYPE
#define SYSTEM_TYPE "Windows"
#endif

***** H:\KEYLIB.C

#include "defines.h"
#include "debug.h"

*****

***** keylib.c
*/
#define BFSZ 1000
static int extend;
***** H:\KEYLIB.C
*/

static int extend;
*****

***** keylib.c
}
static time_t regdate;
time_t keylib_regdate(void)
***** H:\KEYLIB.C
}
static time_t regdate,s_regdate;
time_t keylib_regdate(void)
*****

***** keylib.c
{
        char *s;
        s = ctime(&t);
        ncpy(tmp,s,24);
        tmp[24] = 0;
***** H:\KEYLIB.C
{
        safe_ctime(&t,tmp);
        tmp[24] = 0;
*****

***** keylib.c
        int len;
        struct tm *tm;
***** H:\KEYLIB.C
        int len;
        struct tm atm;
        struct tm *tm;
*****

***** keylib.c
        keylib_fromdate(k->regdate,reg_time,&mon);
        tm = localtime(reg_time);
        tm->tm_mon += mon;
***** H:\KEYLIB.C
        keylib_fromdate(k->regdate,reg_time,&mon);
        tm = safe_localtime(reg_time,&atm);
        tm->tm_mon += mon;
*****

***** keylib.c
                ncpy(reason,s_reason,200);
                *ulimit = s_ulimit;
***** H:\KEYLIB.C
                ncpy(reason,s_reason,200);
                regdate = s_regdate;
                *ulimit = s_ulimit;
*****

***** keylib.c
        r = keylib_check(key,ulimit,host,0,&regid,&flags,vproduct,kreason);
        s_ok = r;
***** H:\KEYLIB.C
        r = keylib_check(key,ulimit,host,0,&regid,&flags,vproduct,kreason);
        s_regdate = regdate;
        s_ok = r;
*****

