X-Recipient: archive-cygwin@delorie.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=B1JY+uYc4cRpm9gUpZV7O/Lv0zSKZT37dKVTRwHYXh9UztCKf6jmG
	9i8Ywoj51WFK3iz1YL+51Ze2x6QjUdY+7+XMqqsK1eFNA7jh2KWvpmco7hYgW5r7
	UcOI1978Gkx0EtdugDmaPD7yzTBcXHjMuVhV2uRrp8sVjm7VMl4VE8=
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=LRvz2invXLGEFg9+hzFsN0iL7ls=; b=Y01QqY5EMKcHIfmHi6sIa5NDKt/l
	op75m/m1N7mwKIXXFdpQ2fNYmIFBl1UEfOXIszjs1EMmilAbD14ztkdyAayyQbcp
	7K40wkXbIXLA49g6Ulu0QDpZAUKBgz8gru4nHHGM8Y11b5pGe5bljgdCtzpYSFxH
	lm9ylIS1/qyoEhc=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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:13:25 +0200
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: MSYS mode (continue)
Message-ID: <20130704091325.GL5118@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <CABEPuQ+jEFJEQt=MGyn5m7Q+Ccs5A-i7vkk0McM=yyoCOw+Kgw@mail.gmail.com> <20130703181504.GA3182@ednor.casa.cgf.cx> <CABEPuQLW+TQ5VUVSYrCOzQ4Y5fdHNp=ymcb9r+xV7ROyYS=OBA@mail.gmail.com> <20130703195020.GC1705@calimero.vinschen.de> <51D49188.7000708@cwilson.fastmail.fm> <20130703215716.GA1752@ednor.casa.cgf.cx> <51D4A7F4.80507@cwilson.fastmail.fm> <CABEPuQJ6V55nLo1hHO=xxAjjxsV5ahAuHj-jfWH-=Hk_hmk-eA@mail.gmail.com> <20130704085847.GK5118@calimero.vinschen.de> <CABEPuQ+YxNF6LTAxRTVDQqQsKvGWGuaRxx1JAH62+wZZzgsC9w@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <CABEPuQ+YxNF6LTAxRTVDQqQsKvGWGuaRxx1JAH62+wZZzgsC9w@mail.gmail.com>
User-Agent: Mutt/1.5.21 (2010-09-15)

On Jul  4 13:07, Alexey Pavlov wrote:
> 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.

Yep, no worries.


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

