This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: MSYS mode (continue)
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 4 Jul 2013 12:47:13 +0200
- Subject: Re: MSYS mode (continue)
- References: <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> <20130704091632 dot GM5118 at calimero dot vinschen dot de> <CABEPuQKb8ZFvA=5947_JNQ3xZUNi98FTkV=9Q04f8vMY-4q1pg at mail dot gmail dot com> <20130704101046 dot GN5118 at calimero dot vinschen dot de> <CABEPuQJ2S5jUbJDS+XUhrvdLtu6t53QAvsmQ_q5RbvELZxHJhw at mail dot gmail dot com> <CAEwic4b3wsdzfPWiQOx_CuDookbAsXgrw+8FAuFNp6mTffjpjA at mail dot gmail dot com>
- Reply-to: cygwin at cygwin dot com
On Jul 4 12:34, Kai Tietz wrote:
> 2013/7/4 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.
>
> Hmm, out of curiousity. Why is the name MINGW_NT-6.1-WOW64\0 not
> suitable. For what is this 32 good for?
>
> > Regards,
> > Alexey.
>
> Sorry, for this stupid question.
No sorry here, it's not stupid. I agree, why not just drop the "32"?
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