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=nK Uvdzsx6kIPFKVF5cfvgkSQ6/RLBPVtsEQh9MTV+6Qfsjmp1TR6bghSLoOJzXwvMc 6H7ubbE7DgXxumAhOT+UG0HARB2eY3aFIkcnOurzQcRNhWZZWgKx93XxT9wdnBG4 1XIo4lTNsDM5djDVvlhlAWse3QNpR8f32zb4FOMpA= 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=6LtzWCQn CjxCPpBHrgwyyuYPlMA=; b=okwxmZ/cFmPkagu2ozswa9rtAHRr+URuTLy7uE/R IH4biehKvz9pYmHoK3mYKXGqIDuTq9NwDWsuE5Cek8LUJ8qUPACxNO8ZncOhXS9O tW2bZVKVDFfypTdwuWxXPj9d4l9w7tDFG5JV9+bt8PdXnkpmYjDj/WkrdhSbc1oX wP8= 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=-0.9 required=5.0 tests=AWL,BAYES_05,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.182.241.71 with SMTP id wg7mr23624791obc.50.1373366357917; Tue, 09 Jul 2013 03:39:17 -0700 (PDT) In-Reply-To: <20130704163612.GA4729@ednor.casa.cgf.cx> References: <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> <20130704121617 DOT GC12995 AT calimero DOT vinschen DOT de> <20130704163612 DOT GA4729 AT ednor DOT casa DOT cgf DOT cx> Date: Tue, 9 Jul 2013 12:39:17 +0200 Message-ID: Subject: Re: MSYS mode (continue) From: BGINFO4X To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 Hello, Regarding to the fstab format, I don't know if it is supported, but it would be nice to support Environment Variables. For example, Instead of: C:/Users /desktop Use: %USERPROFILE% /desktop It is only a suggestion/example. Regards. ############## >>> >> >> >> { >>> >> >> >> - 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! >> >>I'm ok with that, but I think we should drop the "32" from MINGW in >>the first place. >> >>Does anybody rely on the "WOW64" in uname -s output? I just checked >>the scripts in /bin in my installation and none of it seems to check >>for that info. >> >>And then again, it *is* redundant, given the uname -m output... > > Can we back up a moment and discuss whether, regardless of string > length, this is the right approach? This isn't what I'd envisioned > when I said "hooks". > > Also can we please discuss this in the cygwin-developers and > cygwin-patches mailing lists? That's what they are for. > > -- > 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