From 021f9b0f5c29355c48e4b5bdba21aca25a8efa5b Mon Sep 17 00:00:00 2001 From: Keith Bostic Date: Fri, 12 Dec 1986 20:41:55 -0800 Subject: [PATCH] fixed allocation alignment for Power 6. SCCS-vsn: usr.bin/mail/strings.c 5.3 --- usr/src/usr.bin/mail/strings.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usr/src/usr.bin/mail/strings.c b/usr/src/usr.bin/mail/strings.c index cd9e06d9a0..c5b1e3d12c 100644 --- a/usr/src/usr.bin/mail/strings.c +++ b/usr/src/usr.bin/mail/strings.c @@ -5,7 +5,7 @@ */ #ifndef lint -static char *sccsid = "@(#)strings.c 5.2 (Berkeley) %G%"; +static char *sccsid = "@(#)strings.c 5.3 (Berkeley) %G%"; #endif not lint /* @@ -35,8 +35,8 @@ salloc(size) int index; s = size; - s++; - s &= ~01; + s += 3; + s &= ~03; index = 0; for (sp = &stringdope[0]; sp < &stringdope[NSPACE]; sp++) { if (sp->s_topFree == NOSTR && (STRINGSIZE << index) >= s) -- 2.20.1