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

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=Hm
OBoCQLLQcqF3vUJyrQbKGJfL7l6a5fNluqHNEqV0F8N3XxsVTKK6DFRu94kQENwx
i0SQNKNl7yzr8KhI4dqTJVwPMEa724ckIoKFcZqnYZPGSmu23LP/z2W/E5stDbAe
bXcKhA3guIUG0xgyJt4qUNnGtGuhSaV3OyiHySh0M=
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=loy8CVYy
SYUwK3nVHV49LtYx77g=; b=eFrqkL2tUr5x8avISD3y5h3nbdS4tXhow6tvpKpg
Gv0siJKgBQ+zWZhCGXVrcBK+6sJ0Lq1+zvLkqHeQ4F6679ZLQ+AgCmpv/Z4Bv83V
zslWH5dCOi6WMHdD8kVzI+MUSS0g/zd0dmzEzU9h4jDvstmEvt6uLyTIrbdOizz6
3ls=
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=-3.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.194.87.100 with SMTP id w4mr2947096wjz.34.1372928822007; Thu, 04 Jul 2013 02:07:02 -0700 (PDT)
In-Reply-To: <20130704085847.GK5118@calimero.vinschen.de>
References: <CABEPuQ+jEFJEQt=MGyn5m7Q+Ccs5A-i7vkk0McM=yyoCOw+Kgw AT mail DOT gmail DOT com> <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>
Date: Thu, 4 Jul 2013 13:07:01 +0400
Message-ID: <CABEPuQ+YxNF6LTAxRTVDQqQsKvGWGuaRxx1JAH62+wZZzgsC9w@mail.gmail.com>
Subject: Re: MSYS mode (continue)
From: Alexey Pavlov <alexpux AT gmail DOT com>
To: cygwin AT cygwin DOT com

2013/7/4 Corinna Vinschen:
> Hi Alexey,
>
> On Jul  4 06:33, Alexey Pavlov wrote:
>> My opinion is to extend Cygwin parser to read msys-like mounts. It's
>> very simple:
>>
>> --- mount.cc 2013-04-24 20:29:29.000000000 +0400
>> +++ Cygwin/winsup/cygwin/mount.cc 2013-06-13 09:35:01.479492100 +0400
>> @@ -1125,8 +1118,17 @@
>>    if (!*c)
>>      return true;
>>    cend = find_ws (c);
>> -  *cend = '\0';
>>    posix_path = conv_fstab_spaces (c);
>> +  if (!*cend)
>> +   {
>> +     unsigned mount_flags = MOUNT_SYSTEM | MOUNT_BINARY |
>> MOUNT_NOPOSIX | MOUNT_NOACL;
>> +
>> +     int res = mount_table->add_item (native_path, posix_path, mount_flags);
>> +     if (res && get_errno () == EMFILE)
>> +       return false;
>> +     return true;
>> +   }
>> +  *cend = '\0';
>>    /* Third field: FS type. */
>>    c = skip_ws (cend + 1);
>>    if (!*c)
>
> This patch is trivial enough to go in (barring discussion) without
> copyright assignment.   Still, the CA is necessary for more complex
> patches.
>
Good.

> Would you mind to send a CA (http://cygwin.com/assign.txt) per snail
> mail to the address given in the form?
>
I will do it in a week I think.

> Apart from that, please provide a ChangeLog entry.  Please read
> http://cygwin.com/contrib.html, especially the last section called
> "When you have finalized your changes".
>
Ok.
>
> Thanks,
> 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

- Raw text -


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