* patch [zsh-3.1.6-pws-13] zsh.h
@ 2000-01-03 13:44 jarausch
0 siblings, 0 replies; only message in thread
From: jarausch @ 2000-01-03 13:44 UTC (permalink / raw)
To: zsh-workers
The 64bit logic in zsh-3.1.6-pws-13 is broken since an additional
member has been added to struct heap.
Here is a patch
*** zsh-3.1.6-pws-13/Src/zsh.h Mon Dec 20 22:55:00 1999
--- zsh-3.1.6-pws-13_OLD/Src/zsh.h Mon Dec 20 22:55:19 1999
***************
*** 1556,1573 ****
struct heap {
struct heap *next; /* next one */
size_t size; /* size of heap */
size_t used; /* bytes used from the heap */
struct heapstack *sp; /* used by pushheap() to save the value used */
-
- /* Make sure sizeof(heap) is a multiple of 8
#ifdef PAD_64_BIT
! size_t dummy;
#endif
- */
#define arena(X) ((char *) (X) + sizeof(struct heap))
};
#ifndef DEBUG
# define HEAPALLOC do { int nonlocal_useheap = global_heapalloc(); do
--- 1556,1570 ----
struct heap {
struct heap *next; /* next one */
size_t size; /* size of heap */
size_t used; /* bytes used from the heap */
struct heapstack *sp; /* used by pushheap() to save the value used */
#ifdef PAD_64_BIT
! size_t dummy; /* Make sure sizeof(heap) is a multiple of 8 */
#endif
#define arena(X) ((char *) (X) + sizeof(struct heap))
};
#ifndef DEBUG
# define HEAPALLOC do { int nonlocal_useheap = global_heapalloc(); do
--
Helmut Jarausch
Lehrstuhl fuer Numerische Mathematik
Institute of Technology, RWTH Aachen
D 52056 Aachen, Germany
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2000-01-03 13:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-01-03 13:44 patch [zsh-3.1.6-pws-13] zsh.h jarausch
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).