Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-Id: <4.3.1.2.20010122104737.021f58b8@pop.ma.ultranet.com> X-Sender: lhall AT pop DOT ma DOT ultranet DOT com X-Mailer: QUALCOMM Windows Eudora Version 4.3.1 Date: Mon, 22 Jan 2001 10:51:34 -0500 To: Maria , cygwin AT cygwin DOT com From: "Larry Hall (RFK Partners, Inc)" Subject: Re: Compiling with -fpack-struct yields wrong results In-Reply-To: <3A6C5439.35462E9@kls-logistic.fr> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 10:39 AM 1/22/2001, Maria wrote: >Hello, > >When compiling my program with -fpack-struct, fstat returns the wrong >result !!! > >I suggest redefining "struct stat" with the packed attribute in the >corresponding include file. Or at least to add something about it in the >FAQ. > >I think the problem is common to all non-aligned structures. Thanks for the suggestion. If this is an important feature to you, you can submit a patch to accomplish this yourself, thus ensuring that the change occurs and does so quickly. Often things like this end up on someone's "to do" list and since that someone is a volunteer, it may not reach the top of the list for sometime. If its top on your list and you'd like to help get it into Cygwin ASAP, visit http://www.cygwin.com/contrib.html to find out how you can help out. Larry Hall lhall AT rfk DOT com RFK Partners, Inc. http://www.rfk.com 118 Washington Street (508) 893-9779 - RFK Office Holliston, MA 01746 (508) 893-9889 - FAX -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple