delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/07/03/08:30:33

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:content-transfer-encoding
:in-reply-to; q=dns; s=default; b=uyrYyELEYgDoJjfCsT3HFPGAaqeKgW
0pK/1Lt6/bCzjyquqA+9MzGASdEm8TBuv5VUCzq2CUcPbasBsFIhBqdSc49mcsiR
Z302VDuRCMEhGpt+NsIm8Dpcko+3STHmqkX2j+vbR8Lk8rQSNKdexddxWqpyvyK7
LHKDvCtdtAUiA=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:content-transfer-encoding
:in-reply-to; s=default; bh=V6ZhYNA8g+nVgRtXGyqXMb7seE0=; b=MdB/
npDdhcD06lPM/2Y1p4loV5HGh2x4eUGcreIupQlVnSeEUzZc40M/FAKeLozxMYT2
vs1MzshbKnse8MHEDSdf8Zea0lAv8pSRShsFm/nQjPw1TCRYmNvDGdQeSUaU2M4y
/i5nL+I0FbFiC+OEkqYZd+bCj0fbuVnMKKeUeyk=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.1
Date: Wed, 3 Jul 2013 14:30:10 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: setup ChangeLog win32.h
Message-ID: <20130703123010.GE5118@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20130702161048 DOT 12696 DOT qmail AT sourceware DOT org> <CAKw7uVgUv1OU5h6-uuU=wwaNTuDHLin2WxAwHmFzLAxZoYbUCA AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <CAKw7uVgUv1OU5h6-uuU=wwaNTuDHLin2WxAwHmFzLAxZoYbUCA@mail.gmail.com>
User-Agent: Mutt/1.5.21 (2010-09-15)

On Jul  3 10:42, Václav Zeman wrote:
> On 2 July 2013 18:10,  wrote:
> >
> > CVSROOT:        /cvs/cygwin-apps
> > Module name:    setup
> > Changes by:     XXXX  2013-07-02 16:10:48
> >
> > Modified files:
> >         .              : ChangeLog win32.h
> >
> > Log message:
> >         * win32.h (struct acl_t): Make sure struct is 4 byte aligned.
> >
> > Patches:
> > http://sourceware.org/cgi-bin/cvsweb.cgi/setup/ChangeLog.diff?cvsroot=cygwin-apps&r1=2.807&r2=2.808
> > http://sourceware.org/cgi-bin/cvsweb.cgi/setup/win32.h.diff?cvsroot=cygwin-apps&r1=2.29&r2=2.30
> >
> Why not using the union trick?
> 
>  struct acl_t {
>   union {
>     LONG __align; /* Make sure &acl is 4-byte aligned. */
>     ACL acl;
>   };
>   char aclbuf[TOKEN_ACL_SIZE (7)];
>  };
> 
> Same effect, AFAIK, and no size overhead.

Yep, done.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019