mirror of
https://git.freebsd.org/ports.git
synced 2025-05-01 02:56:39 -04:00
that the maintainer wishes to use to create a shared library for use with other applications such as CDE. It is based on ksh93v (2014-12-24) and is incompatible with the direction that att/ast is taking the official ksh93 implementation. PR: 237332 Requested by: maintainer (saper@saper.info)
20 lines
446 B
C
20 lines
446 B
C
--- src/lib/libast/vmalloc/malloc.c.orig 2016-02-28 17:09:23 UTC
|
|
+++ src/lib/libast/vmalloc/malloc.c
|
|
@@ -906,7 +906,7 @@ union Alloca_u
|
|
{ char* addr;
|
|
Alloca_t* next;
|
|
} head;
|
|
- char array[ALIGN];
|
|
+ char array[MEM_ALIGN];
|
|
};
|
|
struct Alloca_s
|
|
{ union Alloca_u head;
|
|
@@ -914,7 +914,7 @@ struct Alloca_s
|
|
};
|
|
|
|
extern Void_t* alloca(size_t size)
|
|
-{ char array[ALIGN];
|
|
+{ char array[MEM_ALIGN];
|
|
char* file;
|
|
int line;
|
|
Void_t* func;
|