Re: [1.7] Updated: cygwin-1.7.0-63

View: New views
13 Messages — Rating Filter:   Alert me  

Parent Message unknown Re: [1.7] Updated: cygwin-1.7.0-63

by Jim Reisert AD1C :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Unfortunately, once I installed this version, I couldn't get the
Cygwin/X server to start (using 1.7.1).  I had to roll back to
1.7.0-62

I can provide debug info if someone tells me what is needed.

- Jim

On Tue, Nov 3, 2009 at 7:54 AM, Corinna Vinschen
<corinna-cygwin@...> wrote:

> Hi folks,
>
>
> I just uploaded a new Cygwin 1.7 test release, 1.7.0-63.
>
>
> Changes in relation to 1.7.0-62:
> ================================
>
> - Add a bigger patch which allows by default to run multiple Cygwin
>  installations in parallel without interferring and without interaction
>  between processes running within these installations.  This is done by
>  computing a key value from the installation path of the Cygwin DLL
>  which is used when creating shared objects used for interprocess
>  communication and synchronization.  This means, you can have multiple
>  concurrent Cygwin 1.7 installations in parallel running alongside
>  without knowing of each other.  However, this also implies that you
>  should not try to have one process in installation A interacting with
>  any process running in installation B.  The results might not be what
>  you expect.  Keep different Cygwin installations separate.  This
>  change comes along with a change to the cygcheck tool, see
>  http://cygwin.com/1.7/cygwin-ug-net/using-utils.html#cygcheck,
>  options --enable-unique-object-names, --disable-unique-object-names,
>  and --show-unique-object-names.
>
> - For better debugging of multiple Cygwin installations, every Cygwin
>  DLL now generates a registry entry with its installation path and the
>  key value computed from this path.
>  This change is accompanied by another change in cygcheck, see
>  http://cygwin.com/1.7/cygwin-ug-net/using-utils.html#cygcheck,
>  and its new option --delete-orphaned-installation-keys.
>
> - Start supporting v2 pseudo-relocs.  This is very technical stuff, see
>  http://sourceware.org/ml/binutils/2008-11/msg00004.html
>
> - Set default locale to "C.UTF-8".
>
> - Allow ASCII control chars in filenames by mapping them to the
>  UNICODE prvate use area U+F0xx.
>
> - Allow setuid/seteuid calls to switch to a restricted token of the
>  same user.  A tool using this functionality is not yet available.
>
>
> Bugfixes:
> =========
>
> - The kill tool now accepts negative PIDs.
>
> - Fix cygpath to generate special folder names in correct charset.
>
> - nl_langinfo now returns more correct charset info.
>
> - Make the fflush function handle devices better.
>
> - Fix return value of tcgetpgrp if tty is not controlling tty.
>
> - Fix a potential administrator permission problem in setuid/seteuid calls.
>
> - Fix a handle leak in utimens.
>
> - Don't return from a function caught by an unhandled signal.
>
> - Always return a size of 0 when calling stat(2) on sockets.
>
> - Do not add .lnk suffix if hardlinking a device.
>
> - Fix utimes family of functions to avoid time warp.
>
> - Allow to execute executable files even if they are non-readable by the
>  current user.
>
> - Don't crash on startup if $PATH is empty.
>
> - Handle a certain error condition in readdir when accessing shares running
>  under older (or crippled) Samba versions.
>
> - Fix bug in ACL inheritance when creating files and directories.
>
> - Improve the roundtrip capability when converting singlebyte chars to
>  the UNICODE prvate use area U+F0xx and vice versa.
>
> - A couple of header file corrections.
>
>
> FAQ:
> ====
>
> - Q: How do I know that I'm running Cygwin 1.7.0-63?
>
>  A: The `uname -v' command prints "2009-11-03 15:06"
>
>
> Have fun,
> Corinna




--
Jim Reisert AD1C, <jjreisert@...>, http://www.ad1c.us

--
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


Re: [1.7] Updated: cygwin-1.7.0-63

by Jon TURNEY :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 03/11/2009 19:13, Jim Reisert AD1C wrote:
> Unfortunately, once I installed this version, I couldn't get the
> Cygwin/X server to start (using 1.7.1).  I had to roll back to
> 1.7.0-62

This is quite probably the same problem as [1], a consequence of the change in
default locale to C.UTF-8 (and some daft code in the Xserver)

[1] http://cygwin.com/ml/cygwin-xfree/2009-10/msg00106.html

--
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


Re: [1.7] Updated: cygwin-1.7.0-63

by Christopher Faylor-8 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, Nov 03, 2009 at 07:50:41PM +0000, Jon TURNEY wrote:
>On 03/11/2009 19:13, Jim Reisert AD1C wrote:
>>Unfortunately, once I installed this version, I couldn't get the
>>Cygwin/X server to start (using 1.7.1).  I had to roll back to 1.7.0-62
>
>This is quite probably the same problem as [1], a consequence of the
>change in default locale to C.UTF-8 (and some daft code in the Xserver)
>
>[1] http://cygwin.com/ml/cygwin-xfree/2009-10/msg00106.html

That sounds like a good bet to me.  Setting LANG=en_US.UTF-8 allows X to
run correctly for me.

cgf

--
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


Re: [1.7] Updated: cygwin-1.7.0-63

by Jim Reisert AD1C :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm up and running again, thanks!

On Tue, Nov 3, 2009 at 12:54 PM, Christopher Faylor
<cgf-use-the-mailinglist-please@...> wrote:

> On Tue, Nov 03, 2009 at 07:50:41PM +0000, Jon TURNEY wrote:
>>On 03/11/2009 19:13, Jim Reisert AD1C wrote:
>>>Unfortunately, once I installed this version, I couldn't get the
>>>Cygwin/X server to start (using 1.7.1).  I had to roll back to 1.7.0-62
>>
>>This is quite probably the same problem as [1], a consequence of the
>>change in default locale to C.UTF-8 (and some daft code in the Xserver)
>>
>>[1] http://cygwin.com/ml/cygwin-xfree/2009-10/msg00106.html
>
> That sounds like a good bet to me.  Setting LANG=en_US.UTF-8 allows X to
> run correctly for me.
>
> cgf



--
Jim Reisert AD1C, <jjreisert@...>, http://www.ad1c.us

--
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


Re: [1.7] Updated: cygwin-1.7.0-63

by Jim Reisert AD1C :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, Nov 3, 2009 at 12:54 PM, Christopher Faylor
<cgf-use-the-mailinglist-please@...> wrote:

> That sounds like a good bet to me.  Setting LANG=en_US.UTF-8 allows X to
> run correctly for me.

The only "funny" thing about that setting is that the date in my "ls"
output is a little different.  Is there any way to get the old date
format back?

Red Hat Linux:

-rw-rw-r--  1 reisert mpg-wgm   6270 Nov  5 12:12 register.log

Cygwin:

-rwx------+ 1 reisert Domain Users      46 2006-07-28 13:56 vk.sed

- Jim

--
Jim Reisert AD1C, <jjreisert@...>, http://www.ad1c.us

--
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


Re: [1.7] Updated: cygwin-1.7.0-63

by Eric Blake :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Jim Reisert AD1C on 11/5/2009 1:19 PM:
> On Tue, Nov 3, 2009 at 12:54 PM, Christopher Faylor
> <cgf-use-the-mailinglist-please@...> wrote:
>
>> That sounds like a good bet to me.  Setting LANG=en_US.UTF-8 allows X to
>> run correctly for me.
>
> The only "funny" thing about that setting is that the date in my "ls"
> output is a little different.  Is there any way to get the old date
> format back?

Yes.  Read the manual:

$ info ls 'formatting file timestamps'

In particular, --time-style in an alias, or TIME_STYLE in your
environment, is your friend.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             ebb9@...
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkrzln0ACgkQ84KuGfSFAYCicQCg2ZhDu4z/N1oMNaf1DhAaiqf0
MhoAnRiCs41AApiYEECFrSB4LnlS9C+m
=+p/+
-----END PGP SIGNATURE-----

--
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


Re: [1.7] Updated: cygwin-1.7.0-63

by Jim Reisert AD1C :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, Nov 5, 2009 at 8:22 PM, Eric Blake <ebb9@...> wrote:

> Yes.  Read the manual:
>
> $ info ls 'formatting file timestamps'
>
> In particular, --time-style in an alias, or TIME_STYLE in your
> environment, is your friend.

Thanks, Eric.  I tried this but could not get what I wanted:

LTDENA-REISERT:c/Home> ls -al --time-style="posix-long-iso"

-rwx------  1 reisert        Domain Users    3326 2009-10-30 12:51 .XWinrc
-rwx------  1 reisert        Users            663 2009-02-26 10:37 .Xdefaults

From the info link you sent me, it says:

    `posix-STYLE'
          List POSIX-locale timestamps if the `LC_TIME' locale category
          is POSIX, STYLE timestamps otherwise.  For example, the
          `posix-long-iso' style lists timestamps like `Mar 30  2002'
          and `Mar 30 23:45' when in the POSIX locale, and like
          `2002-03-30 23:45' otherwise.

I must not be in a POSIX LOCALE, then.  LC_TIME isn't defined,  nor is LOCALE.

How do I make this work, while maintaining:

    LANG=en_US.UTF-8

- Jim

--
Jim Reisert AD1C, <jjreisert@...>, http://www.ad1c.us

--
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


Re: [1.7] Updated: cygwin-1.7.0-63

by Eric Backus-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Jim Reisert AD1C <jjreisert <at> alum.mit.edu> writes:

> Thanks, Eric.  I tried this but could not get what I wanted:
>
> LTDENA-REISERT:c/Home> ls -al --time-style="posix-long-iso"
>
> -rwx------  1 reisert        Domain Users    3326 2009-10-30 12:51 .XWinrc
> -rwx------  1 reisert        Users            663 2009-02-26 10:37 .Xdefaults
>
> From the info link you sent me, it says:
>
>     `posix-STYLE'
>           List POSIX-locale timestamps if the `LC_TIME' locale category
>           is POSIX, STYLE timestamps otherwise.  For example, the
>           `posix-long-iso' style lists timestamps like `Mar 30  2002'
>           and `Mar 30 23:45' when in the POSIX locale, and like
>           `2002-03-30 23:45' otherwise.
>
> I must not be in a POSIX LOCALE, then.  LC_TIME isn't defined,  nor is
LOCALE.
>
> How do I make this work, while maintaining:
>
>     LANG=en_US.UTF-8
>
> - Jim

You might try "LANG=en_us.UTF-8" (Note the lower-case "us").  It seems to
change the time formatting used by ls.  But I don't understand how or why, nor
do I know if it will break whatever else you're using LANG for.
--
Eric Backus




--
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


Re: [1.7] Updated: cygwin-1.7.0-63

by Corinna Vinschen-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Nov  7 20:38, Eric Backus wrote:

> Jim Reisert AD1C <jjreisert <at> alum.mit.edu> writes:
>
> > Thanks, Eric.  I tried this but could not get what I wanted:
> >
> > LTDENA-REISERT:c/Home> ls -al --time-style="posix-long-iso"
> >
> > -rwx------  1 reisert        Domain Users    3326 2009-10-30 12:51 .XWinrc
> > -rwx------  1 reisert        Users            663 2009-02-26 10:37 .Xdefaults
> >
> > From the info link you sent me, it says:
> >
> >     `posix-STYLE'
> >           List POSIX-locale timestamps if the `LC_TIME' locale category
> >           is POSIX, STYLE timestamps otherwise.  For example, the
> >           `posix-long-iso' style lists timestamps like `Mar 30  2002'
> >           and `Mar 30 23:45' when in the POSIX locale, and like
> >           `2002-03-30 23:45' otherwise.
> >
> > I must not be in a POSIX LOCALE, then.  LC_TIME isn't defined,  nor is
> LOCALE.
> >
> > How do I make this work, while maintaining:
> >
> >     LANG=en_US.UTF-8
> >
> > - Jim
>
> You might try "LANG=en_us.UTF-8" (Note the lower-case "us").  It seems to

That's not correct.  The result is that the locale will still be "C".
The above LANG setting will be refused since the territory part of the
locale specifier must be uppercase.  See
http://cygwin.com/1.7/cygwin-ug-net/setup-locale.html#setup-locale-ov


Corinna

--
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          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


Re: [1.7] Updated: cygwin-1.7.0-63

by Eric Backus-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Corinna Vinschen <corinna-cygwin <at> cygwin.com> writes:

> On Nov  7 20:38, Eric Backus wrote:
> > Jim Reisert AD1C <jjreisert <at> alum.mit.edu> writes:
> >
> > > How do I make this work, while maintaining:
> > >
> > >     LANG=en_US.UTF-8
> > >
> > > - Jim
> >
> > You might try "LANG=en_us.UTF-8" (Note the lower-case "us").  It seems to
>
> That's not correct.  The result is that the locale will still be "C".
> The above LANG setting will be refused since the territory part of the
> locale specifier must be uppercase.  See
> http://cygwin.com/1.7/cygwin-ug-net/setup-locale.html#setup-locale-ov
>
> Corinna

OK, my bad.  Sorry.


I must say I find the ls behavior quite confusing.  It appears that *any*
valid setting of LANG other than "C" results in the iso time style, and --time-
style=locale never has any effect regardless of the setting of LANG.  Feature?
or defect?

--
Eric


--
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


Re: [1.7] Updated: cygwin-1.7.0-63

by Corinna Vinschen-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Nov  8 19:12, Eric Backus wrote:

> Corinna Vinschen <corinna-cygwin <at> cygwin.com> writes:
>
> > On Nov  7 20:38, Eric Backus wrote:
> > > Jim Reisert AD1C <jjreisert <at> alum.mit.edu> writes:
> > >
> > > > How do I make this work, while maintaining:
> > > >
> > > >     LANG=en_US.UTF-8
> > > >
> > > > - Jim
> > >
> > > You might try "LANG=en_us.UTF-8" (Note the lower-case "us").  It seems to
> >
> > That's not correct.  The result is that the locale will still be "C".
> > The above LANG setting will be refused since the territory part of the
> > locale specifier must be uppercase.  See
> > http://cygwin.com/1.7/cygwin-ug-net/setup-locale.html#setup-locale-ov
> >
> > Corinna
>
> OK, my bad.  Sorry.
>
>
> I must say I find the ls behavior quite confusing.  It appears that *any*
> valid setting of LANG other than "C" results in the iso time style, and --time-
> style=locale never has any effect regardless of the setting of LANG.  Feature?
> or defect?

Dunno, but I admit that I like the ISO date much better anyway.  It's
more clear and independent of locale specific differences to express a
date.


Corinna

--
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          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


Re: [1.7] Updated: cygwin-1.7.0-63

by Eric Blake :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Jim Reisert AD1C on 11/6/2009 11:38 AM:

>> In particular, --time-style in an alias, or TIME_STYLE in your
>> environment, is your friend.
>
> Thanks, Eric.  I tried this but could not get what I wanted:
>
> LTDENA-REISERT:c/Home> ls -al --time-style="posix-long-iso"
>
> -rwx------  1 reisert        Domain Users    3326 2009-10-30 12:51 .XWinrc
> -rwx------  1 reisert        Users            663 2009-02-26 10:37 .Xdefaults
>
> From the info link you sent me, it says:
>
>     `posix-STYLE'
>           List POSIX-locale timestamps if the `LC_TIME' locale category
>           is POSIX, STYLE timestamps otherwise.  For example, the
>           `posix-long-iso' style lists timestamps like `Mar 30  2002'
>           and `Mar 30 23:45' when in the POSIX locale, and like
>           `2002-03-30 23:45' otherwise.
>
> I must not be in a POSIX LOCALE, then.  LC_TIME isn't defined,  nor is LOCALE.

Correct - if LC_ALL, LC_TIME, and LANG are all undefined, then you are in
the C.UTF-8 locale (cygwin's default), which, since it is not "C", is not
_the_ POSIX locale.  Likewise, if LANG is en_US.UTF-8, but LC_ALL and
LC_TIME are unset, then you are in the en_US.UTF-8 locale, which is not
the POSIX locale.

>
> How do I make this work, while maintaining:
>
>     LANG=en_US.UTF-8

Well, did you try setting LC_TIME=C?  That would mean that LC_TIME is then
POSIX, overriding LANG; and as long as LC_ALL is unset, then that would
make the difference.

Or, you could use

TIME_STYLE='+%b %e  %Y
%b %e %H:%M'

to force the POSIX interpretation regardless of locale.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             ebb9@...
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkr4EkUACgkQ84KuGfSFAYDlzQCfWQMdyvD0q0+GPgsc4dDY7lH9
v2EAn0Gf5ydK3EXSdRuwxcDk6TA6AM3P
=kWjz
-----END PGP SIGNATURE-----

--
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


Re: [1.7] Updated: cygwin-1.7.0-63

by Jim Reisert AD1C :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, Nov 9, 2009 at 5:59 AM, Eric Blake <ebb9@...> wrote:

> Well, did you try setting LC_TIME=C?  That would mean that LC_TIME is then
> POSIX, overriding LANG; and as long as LC_ALL is unset, then that would
> make the difference.

That worked fine, thanks.

The real fix will be when I can eliminate LANG=en_US.UTF-8 and still
have the Cygwin/X server start....

- Jim

--
Jim Reisert AD1C, <jjreisert@...>, http://www.ad1c.us

--
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