Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: struct heap 64-bit
- X-seq: zsh-workers 9203
- From: Clint Adams <schizo@xxxxxxxxxx>
- To: jarausch@xxxxxxxxxxxxxxxxxxx
- Subject: PATCH: struct heap 64-bit
- Date: Tue, 4 Jan 2000 10:55:36 -0500
- Cc: zsh-workers@xxxxxxxxxxxxxx
- In-reply-to: <200001031201.NAA18846@xxxxxxxxxxxxxxxxxxxxxxxxx>; from jarausch@xxxxxxxxxxxxxxxxxxx on Mon, Jan 03, 2000 at 01:01:13PM +0100
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <200001031011.LAA11708@xxxxxxxxxxxxxxxxxxxxxxxxx> <200001031201.NAA18846@xxxxxxxxxxxxxxxxxxxxxxxxx>
> What's the intent?
Helmut fixed this in 9186 but the patch was reversed.
This just gets rid of the overcompensation altogether.
Incidentally, this solves the bus error problem I was
experiencing on 64-bit SPARC Linux.
Index: Src/zsh.h
===================================================================
RCS file: /cvs/zsh/zsh/Src/zsh.h,v
retrieving revision 1.1.1.39
diff -u -r1.1.1.39 zsh.h
--- Src/zsh.h 1999/12/17 12:18:28 1.1.1.39
+++ Src/zsh.h 2000/01/04 15:51:39
@@ -1559,9 +1559,6 @@
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))
};
Messages sorted by:
Reverse Date,
Date,
Thread,
Author