better fix for malloc bug in change#5346 (from Dominic Dunlop)
authorGurusamy Sarathy <gsar@cpan.org>
Tue, 29 Feb 2000 22:52:27 +0000 (22:52 +0000)
committerGurusamy Sarathy <gsar@cpan.org>
Tue, 29 Feb 2000 22:52:27 +0000 (22:52 +0000)
p4raw-link: @5346 on //depot/perl: 0f297bd804f61ea0809c358c647840f86e05b2dc

p4raw-id: //depot/perl@5372

malloc.c

index f27df88..f76a210 100644 (file)
--- a/malloc.c
+++ b/malloc.c
@@ -441,8 +441,8 @@ union       overhead {
        double  strut;                  /* alignment problems */
 #endif
        struct {
-               u_char  ovu_magic;      /* magic number */
                u_char  ovu_index;      /* bucket # */
+               u_char  ovu_magic;      /* magic number */
 #ifdef RCHECK
                u_short ovu_size;       /* actual block size */
                u_int   ovu_rmagic;     /* range magic number */