New passwd/group handling in Cygwin - test results and observations
Corinna Vinschen
corinna-cygwin@cygwin.com
Sun Feb 16 15:52:00 GMT 2014
On Feb 16 16:16, Corinna Vinschen wrote:
> On Feb 16 15:34, Corinna Vinschen wrote:
> > On Feb 16 17:52, Andrey Repin wrote:
> > > > Sorry, I can't provide an easy solution, and afaik this is documented.
> > > [...]
> Maybe I have a simple solution. From your other mails I gather you
> suceeded building your own Cygwin DLL.
>
> If you apply this patch:
>
> Index: dcrt0.cc
> ===================================================================
> RCS file: /cvs/src/src/winsup/cygwin/dcrt0.cc,v
> retrieving revision 1.453
> diff -u -p -r1.453 dcrt0.cc
> --- dcrt0.cc 10 Feb 2014 10:45:50 -0000 1.453
> +++ dcrt0.cc 16 Feb 2014 15:15:44 -0000
> @@ -929,14 +929,14 @@ dll_crt0_1 (void *)
> /* Allocate cygheap->fdtab */
> dtable_init ();
>
> + /* Set internal locale to the environment settings. */
> + initial_setlocale ();
> +
> uinfo_init (); /* initialize user info */
>
> /* Connect to tty. */
> tty::init_session ();
>
> - /* Set internal locale to the environment settings. */
> - initial_setlocale ();
> -
> if (!__argc)
> {
> PWCHAR wline = GetCommandLineW ();
>
> and rebuild your Cygwin DLL, does it make a difference? In theory
> it should work as expected now even with ru_RU.CP866.
It works for me when using german umlauts with LANG=de_DE.cp1252, while
it didn't work before, so I applied this path to CVS.
HTH,
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20140216/0b3f99ea/attachment.sig>
More information about the Cygwin
mailing list