From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28222 invoked by alias); 4 Jul 2013 10:34:34 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 28186 invoked by uid 89); 4 Jul 2013 10:34:34 -0000 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 Received: from mail-vb0-f50.google.com (HELO mail-vb0-f50.google.com) (209.85.212.50) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Thu, 04 Jul 2013 10:34:33 +0000 Received: by mail-vb0-f50.google.com with SMTP id w16so842730vbb.23 for ; Thu, 04 Jul 2013 03:34:31 -0700 (PDT) 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) Received: by 10.58.228.70 with HTTP; Thu, 4 Jul 2013 03:34:31 -0700 (PDT) In-Reply-To: References: <20130703195020.GC1705@calimero.vinschen.de> <51D49188.7000708@cwilson.fastmail.fm> <20130703215716.GA1752@ednor.casa.cgf.cx> <51D4A7F4.80507@cwilson.fastmail.fm> <20130704085847.GK5118@calimero.vinschen.de> <20130704091632.GM5118@calimero.vinschen.de> <20130704101046.GN5118@calimero.vinschen.de> Date: Thu, 04 Jul 2013 10:34:00 -0000 Message-ID: Subject: Re: MSYS mode (continue) From: Kai Tietz To: cygwin@cygwin.com Content-Type: text/plain; charset=ISO-8859-1 X-SW-Source: 2013-07/txt/msg00091.txt.bz2 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