From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 5609 invoked from network); 12 Sep 1998 19:00:37 -0000 Received: from mail.redhat.com (199.183.24.239) by mail2.redhat.com with SMTP; 12 Sep 1998 19:00:37 -0000 Received: from ellpspace.math.ualberta.ca (michal@ellpspace.math.ualberta.ca [129.128.88.19]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id PAA32017 for ; Sat, 12 Sep 1998 15:01:17 -0400 Received: (from michal@localhost) by ellpspace.math.ualberta.ca (8.8.8/8.8.8) id NAA00553 for axp-list@redhat.com; Sat, 12 Sep 1998 13:00:35 -0600 From: Michal Jaegermann Message-Id: <199809121900.NAA00553@ellpspace.math.ualberta.ca> Subject: Re: my X server crashes To: axp-list@redhat.com Date: Sat, 12 Sep 1998 13:00:35 -0600 (MDT) In-Reply-To: <35F9D7D0.32F7E719@paralleldata.com> from "Wes Bauske" at Sep 11, 98 09:09:20 pm Content-Type: text Wes Bauske wrote: > > Doesn't that get_unaligned() routine work for places other than the > kernel?? >From a recent posting by Richard Henderson get_unaligned() is an "abominable casting hack" (or something close) and it should not work at all with current compilers. That it still happens to work is a small miracle and/or a compiler bug. In the case I was interested (kernel and fdisk throwing "unaligned" tantrums when checking partition data) a cure consisted from adding 'packed' attribute to 'partition' structure. Michal