This commit is contained in:
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* $Id: Awk.cpp 312 2008-08-02 13:40:04Z baconevi $
|
||||
* $Id: Awk.cpp 341 2008-08-20 10:58:19Z baconevi $
|
||||
*/
|
||||
|
||||
#include <ase/awk/StdAwk.hpp>
|
||||
@ -381,7 +381,7 @@ protected:
|
||||
if (fp == NULL) return -1;
|
||||
|
||||
ConTrack* t = (ConTrack*)
|
||||
ase_awk_malloc (awk, ASE_SIZEOF(ConTrack));
|
||||
ase_awk_alloc (awk, ASE_SIZEOF(ConTrack));
|
||||
if (t == ASE_NULL)
|
||||
{
|
||||
if (fp != stdin && fp != stdout) fclose (fp);
|
||||
|
@ -1,12 +1,12 @@
|
||||
/*
|
||||
* $Id: awk.c 337 2008-08-20 09:17:25Z baconevi $
|
||||
* $Id: awk.c 341 2008-08-20 10:58:19Z baconevi $
|
||||
*/
|
||||
|
||||
#include <ase/awk/awk.h>
|
||||
#include <ase/cmn/sll.h>
|
||||
#include <ase/cmn/mem.h>
|
||||
#include <ase/cmn/chr.h>
|
||||
|
||||
#include <ase/utl/helper.h>
|
||||
#include <ase/utl/getopt.h>
|
||||
#include <ase/utl/stdio.h>
|
||||
#include <ase/utl/main.h>
|
||||
@ -1099,7 +1099,7 @@ static void init_extension (ase_awk_t* awk)
|
||||
|
||||
ext->mmgr = *ase_awk_getmmgr(awk);
|
||||
ase_awk_setmmgr (awk, &ext->mmgr);
|
||||
ase_awk_setccls (awk, ASE_GETCCLS());
|
||||
ase_awk_setccls (awk, ASE_CCLS_GETDFL());
|
||||
|
||||
ext->prmfns.pow = custom_awk_pow;
|
||||
ext->prmfns.sprintf = custom_awk_sprintf;
|
||||
|
Reference in New Issue
Block a user