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:in-reply-to; q=dns; s= default; b=XsFFel4kA7oAbk3FvKCwXxlmkNRyJiTjTiq7cdzkHf7UgGrSUnHc0 sypqkgRW41e5MYml7bHFplqrZXMLFXMOK59ONk0fNi28y4S6nAcdlnjAwO+T3E7g NVT21SKX3phPh/HPdb/M3IGjflnjpe/NtwjGwpZZI7kOtB5SMQ0Eug= 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:in-reply-to; s=default; bh=MXM75oF16EHJn7h1PTzkl64rO0o=; b=MKX84nH9MnXSjILDVDo7dSYFHBfZ UGsV3dZFi3RPYOWHhe0e6EBSoLmsIZvt0JTDk/Uh0OFWnwbKCCbTq2BI4opMNzL0 ZPeHLC02PaZN5qq1leXkTyGp2xN5eVOFwZ3R819uk7gDltIe4GqmMutcffRL1Er4 ehJkGW+qppJL/WM= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE autolearn=ham version=3.3.1 X-Mail-Handler: Dyn Standard SMTP by Dyn X-Report-Abuse-To: abuse AT dyndns DOT com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX18aJP9q98wb23zF8fbGRWQA Date: Thu, 4 Jul 2013 12:36:12 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: MSYS mode (continue) Message-ID: <20130704163612.GA4729@ednor.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20130704085847 DOT GK5118 AT calimero DOT vinschen DOT de> <20130704091632 DOT GM5118 AT calimero DOT vinschen DOT de> <20130704101046 DOT GN5118 AT calimero DOT vinschen DOT de> <20130704103708 DOT GA12995 AT calimero DOT vinschen DOT de> <20130704121617 DOT GC12995 AT calimero DOT vinschen DOT de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130704121617.GC12995@calimero.vinschen.de> User-Agent: Mutt/1.5.20 (2009-06-14) On Thu, Jul 04, 2013 at 02:16:17PM +0200, Corinna Vinschen wrote: >On Jul 4 13:45, Alexey Pavlov wrote: >> 2013/7/4 Corinna Vinschen: >> > On Jul 4 14:23, Alexey Pavlov wrote: >> >> 2013/7/4 Corinna Vinschen: >> >> > On Jul 4 12:37, Alexey Pavlov wrote: >> >> >> 2013/7/4 Corinna Vinschen: >> >> >> > On Jul 4 13:09, Alexey Pavlov wrote: >> >> >> >> struct utsname >> >> >> >> { >> >> >> >> - char sysname[20]; >> >> >> >> + char sysname[21]; >> >> >> > >> >> >> > We can't do that. struct utsname is a publically facing structure. >> >> >> > If you change the size, you're breaking compatibility with existing >> >> >> > applications. >> >> >> > >> >> >> > You should better drop some character from the string you want to enter >> >> >> > here. >> >> >> > >> >> >> >> >> >> I can't drop any symbol from "MINGW32" word :) >> >> > >> >> > That's not 20 chars long. >> >> > >> >> Yes. But not only this need to be in 20 symbols. On cygwin 20 symbols is: >> >> >> >> CYGWIN_NT-6.1-WOW64\0 >> >> >> >> But >> >> >> >> MINGW32_NT-6.1-WOW64\0 >> >> >> >> is 21 symbol. >> > >> > Then drop the dash between "NT" and "6.1". Or let's drop the WOW64 >> > since it's redundant anyway, given the content of "machine". >> > >> >> Let's drop it! > >I'm ok with that, but I think we should drop the "32" from MINGW in >the first place. > >Does anybody rely on the "WOW64" in uname -s output? I just checked >the scripts in /bin in my installation and none of it seems to check >for that info. > >And then again, it *is* redundant, given the uname -m output... Can we back up a moment and discuss whether, regardless of string length, this is the right approach? This isn't what I'd envisioned when I said "hooks". Also can we please discuss this in the cygwin-developers and cygwin-patches mailing lists? That's what they are for. -- 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