delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/07/04/05:17:13

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=MmlVmocP7qi9HBLYnllizTPouV5vwfx0UnN/u7nnm0SByk8UM4CSy
Q7+E2vlurBlw5HkjHcKU+vrt0eJb0BrYkJ/vP3twT0DVADOBrh328kGo+wLRyvdh
68cav2m5DIiI0rKewde3ieOOJF3tyFJ6nNIvpETx2AC/TpBHKUJKFc=
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=TCH9AaYiPjDuuXSZmOE1sjl0f+c=; b=AmARFl0Q7MKlPc2U46tWBz8bq7Q1
dBMUDJYXmynZW4gQE4AcjV2WyclNqAvVzha2vUbHs3TSGFYeWzM3TFsEZspRHXXO
Oi44vUK67VLBrJMT8FoTqbtbvaLypkCs7kfCXe++3k92+z196Di3rJTSkk7puEzP
CxHL39DNherlopo=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.1
Date: Thu, 4 Jul 2013 11:16:32 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: MSYS mode (continue)
Message-ID: <20130704091632.GM5118@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20130703181504 DOT GA3182 AT ednor DOT casa DOT cgf DOT cx> <CABEPuQLW+TQ5VUVSYrCOzQ4Y5fdHNp=ymcb9r+xV7ROyYS=OBA AT mail DOT gmail DOT com> <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> <CABEPuQJ6V55nLo1hHO=xxAjjxsV5ahAuHj-jfWH-=Hk_hmk-eA AT mail DOT gmail DOT com> <20130704085847 DOT GK5118 AT calimero DOT vinschen DOT de> <CABEPuQ+YxNF6LTAxRTVDQqQsKvGWGuaRxx1JAH62+wZZzgsC9w AT mail DOT gmail DOT com> <CABEPuQKRz2kamtrbBF5MjxPiSRMxwJ7NhG6wRrtRXMoBm+quNg AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <CABEPuQKRz2kamtrbBF5MjxPiSRMxwJ7NhG6wRrtRXMoBm+quNg@mail.gmail.com>
User-Agent: Mutt/1.5.21 (2010-09-15)

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.


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019