*** empty log message ***
This commit is contained in:
parent
f5239147ce
commit
af4938b221
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: pack.h,v 1.3 2007-02-18 16:49:03 bacon Exp $
|
* $Id: pack.h,v 1.4 2007-02-19 06:13:03 bacon Exp $
|
||||||
*
|
*
|
||||||
* {License}
|
* {License}
|
||||||
*/
|
*/
|
||||||
@ -10,4 +10,6 @@
|
|||||||
#pragma PACK 1
|
#pragma PACK 1
|
||||||
#elif defined(_MSC_VER) || defined(__BORLANDC__)
|
#elif defined(_MSC_VER) || defined(__BORLANDC__)
|
||||||
#pragma pack(push,1)
|
#pragma pack(push,1)
|
||||||
|
#elif defined(__DECC)
|
||||||
|
#pragma pack(push,1)
|
||||||
#endif
|
#endif
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: unpack.h,v 1.3 2007-02-18 16:49:03 bacon Exp $
|
* $Id: unpack.h,v 1.4 2007-02-19 06:13:03 bacon Exp $
|
||||||
*
|
*
|
||||||
* {License}
|
* {License}
|
||||||
*/
|
*/
|
||||||
@ -10,4 +10,6 @@
|
|||||||
#pragma PACK
|
#pragma PACK
|
||||||
#elif defined(__MSC_VER) || defined(__BORLANDC__)
|
#elif defined(__MSC_VER) || defined(__BORLANDC__)
|
||||||
#pragma pack(pop)
|
#pragma pack(pop)
|
||||||
|
#elif defined(__DECC)
|
||||||
|
#pragma pack(pop)
|
||||||
#endif
|
#endif
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: main.c,v 1.8 2007-02-03 10:52:36 bacon Exp $
|
* $Id: main.c,v 1.9 2007-02-19 06:13:03 bacon Exp $
|
||||||
*
|
*
|
||||||
* {License}
|
* {License}
|
||||||
*/
|
*/
|
||||||
@ -68,8 +68,11 @@ int main (int argc, char* argv[]/*, char** envp*/)
|
|||||||
p += x; rem -= x; len++;
|
p += x; rem -= x; len++;
|
||||||
}
|
}
|
||||||
|
|
||||||
v[i] = (ase_char_t*) malloc (
|
#if (defined(vms) || defined(__vms)) && (ASE_SIZEOF_VOID_P >= 8)
|
||||||
(len + 1) * ASE_SIZEOF(ase_char_t));
|
v[i] = (ase_char_t*) _malloc32 ((len+1)*ASE_SIZEOF(ase_char_t));
|
||||||
|
#else
|
||||||
|
v[i] = (ase_char_t*) malloc ((len+1)*ASE_SIZEOF(ase_char_t));
|
||||||
|
#endif
|
||||||
if (v[i] == NULL)
|
if (v[i] == NULL)
|
||||||
{
|
{
|
||||||
ret = -1;
|
ret = -1;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: printf.c,v 1.10 2007-02-07 05:43:37 bacon Exp $
|
* $Id: printf.c,v 1.11 2007-02-19 06:13:03 bacon Exp $
|
||||||
*
|
*
|
||||||
* {License}
|
* {License}
|
||||||
*/
|
*/
|
||||||
@ -172,7 +172,11 @@ static ase_char_t* __adjust_format (const ase_char_t* format)
|
|||||||
|
|
||||||
buf.len = 0;
|
buf.len = 0;
|
||||||
buf.cap = 256;
|
buf.cap = 256;
|
||||||
|
#if (defined(vms) || defined(__vms)) && (ASE_SIZEOF_VOID_P >= 8)
|
||||||
|
buf.ptr = (ase_char_t*) _malloc32 (sizeof(ase_char_t)*(buf.cap+1));
|
||||||
|
#else
|
||||||
buf.ptr = (ase_char_t*) malloc (sizeof(ase_char_t)*(buf.cap+1));
|
buf.ptr = (ase_char_t*) malloc (sizeof(ase_char_t)*(buf.cap+1));
|
||||||
|
#endif
|
||||||
if (buf.ptr == NULL) return NULL;
|
if (buf.ptr == NULL) return NULL;
|
||||||
|
|
||||||
while (*fp != ASE_T('\0'))
|
while (*fp != ASE_T('\0'))
|
||||||
|
Loading…
Reference in New Issue
Block a user