Commit 223000ab authored by Lev Walkin's avatar Lev Walkin

*** empty log message ***

parent 2b694fbd
...@@ -54,6 +54,7 @@ check-executable: compiled-module *.c* ...@@ -54,6 +54,7 @@ check-executable: compiled-module *.c*
compiled-module: ${asn_module} ../../asn1c compiled-module: ${asn_module} ../../asn1c
../../asn1c -S ../../../skeletons -Wdebug-compiler \\ ../../asn1c -S ../../../skeletons -Wdebug-compiler \\
${AFLAGS} ${asn_module} ${AFLAGS} ${asn_module}
rm -f converter-sample.c
@touch compiled-module @touch compiled-module
check-succeeded: check-executable check-succeeded: check-executable
......
...@@ -189,7 +189,7 @@ check(const char *fname, ...@@ -189,7 +189,7 @@ check(const char *fname,
mod->_tags |= MT_STANDARD_MODULE; mod->_tags |= MT_STANDARD_MODULE;
TQ_ADD(&(asn->modules), mod, mod_next); TQ_ADD(&(asn->modules), mod, mod_next);
} }
asn1p_free(std_asn); asn1p_delete(std_asn);
} }
} }
...@@ -236,7 +236,7 @@ check(const char *fname, ...@@ -236,7 +236,7 @@ check(const char *fname,
/* /*
* Destroy the asn. * Destroy the asn.
*/ */
asn1p_free(asn); asn1p_delete(asn);
return r_value; return r_value;
} }
......
...@@ -6,9 +6,14 @@ ...@@ -6,9 +6,14 @@
#define _REENTRANT /* for Sun */ #define _REENTRANT /* for Sun */
#include <asn_internal.h> #include <asn_internal.h>
#include <GeneralizedTime.h> #include <GeneralizedTime.h>
#include <time.h>
#include <errno.h> #include <errno.h>
#ifdef __CYGWIN__
#include "/usr/include/time.h"
#else
#include <time.h>
#endif /* __CYGWIN__ */
#if defined(WIN32) #if defined(WIN32)
#pragma message( "PLEASE STOP AND READ!") #pragma message( "PLEASE STOP AND READ!")
#pragma message( " localtime_r is implemented via localtime(), which may be not thread-safe.") #pragma message( " localtime_r is implemented via localtime(), which may be not thread-safe.")
......
...@@ -5,9 +5,14 @@ ...@@ -5,9 +5,14 @@
#include <asn_internal.h> #include <asn_internal.h>
#include <UTCTime.h> #include <UTCTime.h>
#include <GeneralizedTime.h> #include <GeneralizedTime.h>
#include <time.h>
#include <errno.h> #include <errno.h>
#ifdef __CYGWIN__
#include "/usr/include/time.h"
#else
#include <time.h>
#endif /* __CYGWIN__ */
#ifndef __ASN_INTERNAL_TEST_MODE__ #ifndef __ASN_INTERNAL_TEST_MODE__
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment