Re: env var or mount option for multibyte<->unicode filenames conversion

2011-08-21 Thread Ilya Basin
Corinna Vinschen cygwin.com> writes: > > On Aug 18 14:19, Ilya Basin wrote: > > Hi. Currently, the code page for internal convertion of file names to > > unicode depends on programs's locale. > > I want to keep UTF-8 as current locale, but use CP1251 for this > > conversion. Is it possible? > >

Re: 1.7.9: static const std::string initialization lost in child process when using fork, dlopen

2011-08-21 Thread Thomas D. Dean
Thanks, I just built a DLL I am interested in - it works. tomdean -- 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.9: static const std::string initialization lost in child process when using fork, dlopen

2011-08-21 Thread Christopher Faylor
On Sun, Aug 21, 2011 at 08:57:08PM -0700, Thomas D. Dean wrote: >On Sun, 2011-08-21 at 21:44 -0400, Christopher Faylor wrote: >You are confusing me with the original poster. I just attempted to >duplicate either of your results. You're right. I was confusing you with the original poster. The se

[ANNOUNCEMENT] Updated: mingw-runtime-3.19-1

2011-08-21 Thread Chris Sutcliffe
I've made a new version of the mingw runtime available for download. A list of what has changed can be found here: http://cygwin.com/cgi-bin/cvsweb.cgi/src/winsup/mingw/ChangeLog?rev=1.482&cvsroot=src To update your installation, click on the "Install Cygwin now" link on the http://cygwin.c

Re: 1.7.9: static const std::string initialization lost in child process when using fork, dlopen

2011-08-21 Thread Thomas D. Dean
On Sun, 2011-08-21 at 21:44 -0400, Christopher Faylor wrote: > On Sun, Aug 21, 2011 at 04:56:31PM -0700, Thomas D. Dean wrote: > >On Sun, 2011-08-21 at 18:19 -0400, Christopher Faylor wrote: > >> 're reporting. > >> > >> If you don't want to try a snapshot for some reason then you could also > >>

Re: 1.7.9: static const std::string initialization lost in child process when using fork, dlopen

2011-08-21 Thread Christopher Faylor
On Sun, Aug 21, 2011 at 04:56:31PM -0700, Thomas D. Dean wrote: >On Sun, 2011-08-21 at 18:19 -0400, Christopher Faylor wrote: >> 're reporting. >> >> If you don't want to try a snapshot for some reason then you could also >> try setting the base address of the DLL by using the --auto-image-base >>

Re: i686-w64-mingw32-gcc & ntifs.h

2011-08-21 Thread Sam Steingold
> * Kai Tietz [2011-08-20 > 09:31:47 +0200]: > 2011/8/20 JonY : >>> /usr/i686-w64-mingw32/sys-root/mingw/include/ddk/ntddk.h:2922:26: >>> error: redeclaration of enumerator `WinRestrictedCodeSid' >>> /usr/i686-w64-mingw32/sys-root/mingw/include/winnt.h:2681:413: note: >>> previous definition of `

Re: 1.7.9: static const std::string initialization lost in child process when using fork, dlopen

2011-08-21 Thread Thomas D. Dean
On Sun, 2011-08-21 at 18:19 -0400, Christopher Faylor wrote: > 're reporting. > > If you don't want to try a snapshot for some reason then you could also > try setting the base address of the DLL by using the --auto-image-base > option when linking the DLL. I used g++ -Wall -I. -shared -g -c dl

Re: 1.7.9: static const std::string initialization lost in child process when using fork, dlopen

2011-08-21 Thread Thomas D. Dean
On Sun, 2011-08-21 at 18:19 -0400, Christopher Faylor wrote: > On Sun, Aug 21, 2011 at 02:15:16PM -0700, Thomas D. Dean wrote: > >On Sun, 2011-08-21 at 14:38 -0400, Christopher Faylor wrote: > > > >I get the stack dump - I retyped the examples to be sure no strange > >chars. > > Did you try the sn

Re: 1.7.9: static const std::string initialization lost in child process when using fork, dlopen

2011-08-21 Thread Christopher Faylor
On Sun, Aug 21, 2011 at 02:15:16PM -0700, Thomas D. Dean wrote: >On Sun, 2011-08-21 at 14:38 -0400, Christopher Faylor wrote: > >I get the stack dump - I retyped the examples to be sure no strange >chars. Did you try the snapshot as I suggested? >And, I see no strange characters in the emails - e

Re: 1.7.9: static const std::string initialization lost in child process when using fork, dlopen

2011-08-21 Thread Thomas D. Dean
On Sun, 2011-08-21 at 14:38 -0400, Christopher Faylor wrote: I get the stack dump - I retyped the examples to be sure no strange chars. And, I see no strange characters in the emails - evolution Ubuntu 10.04 tomdean -- Problem reports: http://cygwin.com/problems.html FAQ:

[ANNOUNCEMENT] Updated: gdb-7.3.50-2

2011-08-21 Thread Christopher Faylor
I've made a new version of the gdb debugger available for installation. This version is a refresh from the main branch of the CVS repository on sourceware.org. It now also reinstates a local mod that I've been carrying around for years which allows gdb to properly deal with "__stdcall" functions.

[ANNOUNCEMENT] Updated: binutils-2.21.53-2

2011-08-21 Thread Christopher Faylor
I've made a new version of binutils available for installation. There is only one change in this release: the previously missing /usr/include directory is now correctly populated with the right header files. *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO *** If you want to unsubscribe from t

Re: [ANNOUNCEMENT] Updated: binutils-2.21.53-1

2011-08-21 Thread Christopher Faylor
On Thu, Aug 18, 2011 at 05:25:29PM -0400, Christopher Faylor wrote: >On Thu, Aug 18, 2011 at 12:37:56PM -0500, Yaakov (Cygwin/X) wrote: >>On Fri, 2011-08-05 at 13:35 +0200, Denis Excoffier wrote: >>> Hello, >>> >>> On Sun, Jul 31, 2011 at 02:22:51PM -0400, Christopher Faylor wrote: >>> >> I've mad

dash incompatibility in /etc/profile

2011-08-21 Thread Charles Wilson
Running 'dash -l' flags an error in /etc/profile: if [[ -n ${BASH_VERSION} ]]; then HOSTNAME=$(/usr/bin/hostname) profile_d sh [[ -f "/etc/bash.bashrc" ]] && . "/etc/bash.bashrc" elif [[ -n ${KSH_VERSION} ]]; then typeset -l HOSTNAME=$(/usr/bin/hostname) profile_d sh PS1=$(print '\033]

Re: 1.7.9: static const std::string initialization lost in child process when using fork, dlopen

2011-08-21 Thread Christopher Faylor
On Sun, Aug 21, 2011 at 06:10:12PM +0100, Cliff Hones wrote: >On 21/08/2011 17:50, Christopher Faylor wrote: >> On Sun, Aug 21, 2011 at 01:48:21PM +0200, wh...@web.de wrote: >>> Hello, >>> ?? >>> it seems that a child process does not see the initialization of a >>> static const std::string variabl

Re: 1.7.9: static const std::string initialization lost in child process when using fork, dlopen

2011-08-21 Thread Cliff Hones
On 21/08/2011 17:50, Christopher Faylor wrote: > On Sun, Aug 21, 2011 at 01:48:21PM +0200, wh...@web.de wrote: >> Hello, >> ?? >> it seems that a child process does not see the initialization of a >> static const std::string variable if it is defined in a dll. Instead this >> corrupt variable >> l

Re: 1.7.9: static const std::string initialization lost in child process when using fork, dlopen

2011-08-21 Thread Christopher Faylor
On Sun, Aug 21, 2011 at 01:48:21PM +0200, wh...@web.de wrote: >./test.exe prints only 'parent:Test' - parent works as expected - and gives a >test.exe.stackdump - after 30 seconds. > > >an example gdb session looks like: >attach >b load >c(needs up to 30 seconds for return) >n

Re: 1.7.9: static const std::string initialization lost in child process when using fork, dlopen

2011-08-21 Thread Christopher Faylor
On Sun, Aug 21, 2011 at 01:48:21PM +0200, wh...@web.de wrote: >Hello, >?? >it seems that a child process does not see the initialization of a >static const std::string variable if it is defined in a dll. Instead this >corrupt variable >lead to a STATUS_ACCESS_VIOLATION. >?? >The following 4 exampl

Re: Compiling cdrkit-1.1.7.1-1 --> cygcmake??

2011-08-21 Thread Marco atzeri
On 8/20/2011 9:48 AM, Davor Josipovic wrote: I have installed all the build/runtime requirements and I get the following output while trying to compile cdrkit: --- $ cygport ./

1.7.9: static const std::string initialization lost in child process when using fork, dlopen

2011-08-21 Thread whans
Hello,   it seems that a child process does not see the initialization of a static const std::string variable if it is defined in a dll. Instead this corrupt variable lead to a STATUS_ACCESS_VIOLATION.   The following 4 example files demonstrate this behaviour:   1) dllif.h:      (define the dll's

Re: Typical Cygwin fork problem

2011-08-21 Thread Christopher Faylor
On Sat, Aug 20, 2011 at 05:03:16AM -0700, big glass wrote: > >$ /bin/peflagsall/ >/usr/bin/ash: Can't open /bin/peflagsall/ > >:( Why are you putting slashes on the end of the command? You wouldn't do that on Windows or Linux. -- Problem reports: http://cygwin.com/problems.html FAQ:

Re: install on win7 enterprise, can't modify bash start up shortcut

2011-08-21 Thread Csaba Raduly
On Sun, Aug 21, 2011 at 7:49 AM, Christopher Faylor wrote: > On Sat, Aug 20, 2011 at 07:48:50PM +0200, Csaba Raduly wrote: >>On Sat, Aug 20, 2011 at 7:10 PM, LMH  wrote: >>> Well key shortcut copy and past would be very nice. How do I go about >>> setting up bash to run with the mintty terminal an

Re: install on win7 enterprise, can't modify bash start up shortcut

2011-08-21 Thread Christopher Faylor
On Sat, Aug 20, 2011 at 07:48:50PM +0200, Csaba Raduly wrote: >On Sat, Aug 20, 2011 at 7:10 PM, LMH wrote: >> Well key shortcut copy and past would be very nice. How do I go about >> setting up bash to run with the mintty terminal and not cmd? Can you link me >> to something? > >I have a shortcut