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=Cj CoNXSgNEKkiKuB/nPbXQU/OGBXSQP+PDzgPpSuJLva0aEyBrE7F8urZUN09XiiYa uaRHJaSc/kq7JZutrkLfW2VtgZS3XyDem+G5cRtFKX4W/m0zX/4gaq6HIAkIkxpV j6/IVW2i+/vTw3fNmLX5Kawpc+kE5Y46jjFefoRtU= 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=ekmwjz6U VTaf88kby6CjdmOPYZo=; b=BQH4Be16SJM/pa3Wg7BfC8AkRqDJNdUPG/FBYCdO Bb1GPkph43WDrCyla2mlZKwTiibYxYVXfZdRqrPxk+SX/VC4JMPzZ4FVIo3u8KqO S+aGtih/XI0ZQYl9GxEaCKUX11xvTwv+OBdcsrZ1s4yY0igeCDeHuytckyXTzLRT XLQ= 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.3 required=5.0 tests=AWL,BAYES_00,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.180.126.10 with SMTP id mu10mr2936829wib.64.1372934750438; Thu, 04 Jul 2013 03:45:50 -0700 (PDT) In-Reply-To: <20130704103708.GA12995@calimero.vinschen.de> References: <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> <20130704103708 DOT GA12995 AT calimero DOT vinschen DOT de> Date: Thu, 4 Jul 2013 13:45:50 +0300 Message-ID: Subject: Re: MSYS mode (continue) From: Alexey Pavlov To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 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: >> >> >> 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. > > 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! > > 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 > -- 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