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:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; q=dns; s=default; b=Xp c2QzJC4W/Pn2GciCvrmqeuBBQe7YlUMDYQIBIUX+6tI6vAaocmz1XkuXHeDQzniQ 9qQi5gCLAyrPHDXzSIVvssOpJp/haTJDdn3aBa0x+gt2QLKjq7gli3NgUlvehyZx f0hed1Z/1eM/KL+fQbqL8sqUlNRfHfHA8IQVO5QHQ= 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:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; s=default; bh=92k+fRX+ +2mkz9yo5bNuuw6PgcE=; b=BlzpEN8BY63za0VWEP0HEyPfkwx9QcouI8Ep30U8 6Ood/+3ueAgKoo5LwDblSPKSUxeZ75Th6IcwOW/A4WnBf0hjuHTNHpfzOJ96hJ6u KSgDlbbu+hVk150Os9KjZmV7eKaJMlTe+hT/p8Uwpfd3YUmutn0RSS1+onq2IscL eCQ= 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=-2.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,SPF_PASS autolearn=ham version=3.3.1 MIME-Version: 1.0 X-Received: by 10.59.0.2 with SMTP id au2mr2500240ved.83.1372934071694; Thu, 04 Jul 2013 03:34:31 -0700 (PDT) In-Reply-To: References: <20130703195020 DOT GC1705 AT calimero DOT vinschen DOT de> <51D49188 DOT 7000708 AT cwilson DOT fastmail DOT fm> <20130703215716 DOT GA1752 AT ednor DOT casa DOT cgf DOT cx> <51D4A7F4 DOT 80507 AT cwilson DOT fastmail DOT fm> <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> Date: Thu, 4 Jul 2013 12:34:31 +0200 Message-ID: Subject: Re: MSYS mode (continue) From: Kai Tietz To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 2013/7/4 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: >>> >> 2013-06-18 Alexey Pavlov >>> >> >>> >> * mount.cc: Allow using a shortened version of mount points in /etc/fstab >>> >> * utsname.h: Increase sysname fiels size. >>> >> * uname.cc: Allow changing OS name by MSYSTEM environment variable. >>> >> [...SNIP...] >>> > >>> > Can we please move patch submissions to the cygwin-patches mailing list? >>> > Thank you. >>> > >>> >> Index: cygwin/include/sys/utsname.h >>> >> =================================================================== >>> >> RCS file: /cvs/src/src/winsup/cygwin/include/sys/utsname.h,v >>> >> retrieving revision 1.3 >>> >> diff -u -p -r1.3 utsname.h >>> >> --- cygwin/include/sys/utsname.h 21 Jan 2013 04:38:31 -0000 1.3 >>> >> +++ cygwin/include/sys/utsname.h 18 Jun 2013 11:39:27 -0000 >>> >> @@ -17,7 +17,7 @@ extern "C" { >>> >> >>> >> 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. Hmm, out of curiousity. Why is the name MINGW_NT-6.1-WOW64\0 not suitable. For what is this 32 good for? > Regards, > Alexey. Sorry, for this stupid question. Kai -- 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