GetEnvironmentVariable doesn't work

2013-02-26 Thread Алексей Павлов
Hi! I set some environment variable. When I try to get it with GetEnvironmentVariable{A,W} it return empty result. With "getenv" I can get variable value. Also I think GetEnvironmentVariable doesn't work inside Cygwin.dll (maybe I wrong). My example code is: #include #include int main() { c

[ANNOUNCEMENT] Updated: nspr-4.9.5-1, nss-3.14.3-1

2013-02-26 Thread Yaakov (Cygwin/X)
The following packages have been updated in the Cygwin distribution: *** libnspr4-4.9.5-1 *** libnspr-devel-4.9.5-1 *** nss-3.14.3-1 *** libnss3-3.14.3-1 *** libnss-devel-3.14.3-1 Netscape Portable Runtime (NSPR) provides a platform-neutral API for system-level and libc-like functions. Network S

Re: startxwin started bash does not read .bashrc or .bash_profile

2013-02-26 Thread Kevin Layer
Arthur Tu wrote: >> On 2/27/2013 8:08 AM, Kevin Layer wrote: >> > If I put this into .startxwinrc: >> > >> >mintty /usr/bin/bash.exe --login -i >> > >> > the resulting shell does not read .bash_profile. If I put >> > >> >mintty /usr/bin/bash.exe -i >> > >> > it doesn't read .bashrc. >> >

Re: startxwin started bash does not read .bashrc or .bash_profile

2013-02-26 Thread Arthur Tu
On 2/27/2013 8:08 AM, Kevin Layer wrote: If I put this into .startxwinrc: mintty /usr/bin/bash.exe --login -i the resulting shell does not read .bash_profile. If I put mintty /usr/bin/bash.exe -i it doesn't read .bashrc. I've been beating my head against this wall for hours, over a f

startxwin started bash does not read .bashrc or .bash_profile

2013-02-26 Thread Kevin Layer
If I put this into .startxwinrc: mintty /usr/bin/bash.exe --login -i the resulting shell does not read .bash_profile. If I put mintty /usr/bin/bash.exe -i it doesn't read .bashrc. I've been beating my head against this wall for hours, over a few days. I've googled my ass off, but I can

Re: Octave plotting window becomes unresponsive

2013-02-26 Thread Achim Gratz
marco atzeri writes: > I had the impression was always like that, fltk is tighter > integrated in octave than gnuplot, > so if octave is waiting the pager so is doing the fltk plot. Yes, that part is clear (I think the same happens with gnuplot, but isn't as easily visible) and the same happens on

Re: Octave plotting window becomes unresponsive

2013-02-26 Thread marco atzeri
On 2/26/2013 9:26 AM, Achim Gratz wrote: marco atzeri gmail.com> writes: could you send me a test case ? graphics_toolkit "fltk" plot(1:10,rand(10)) After getting the plot window, move the window around, enlarge it or zoom into some part of the plot to check that it is responsive. rand(1000

Re: wrong performance of malloc/free under multi-threading

2013-02-26 Thread Christopher Faylor
On Tue, Feb 26, 2013 at 11:13:24PM +0900, jojelino wrote: >On 2013-02-26 PM 10:25, Corinna Vinschen wrote: >>This is Cygwin only. >> >cygwin malloc is not reentrant according to malloc_wrapper.cc so let's >not expect performance like linux or native windows. until someone >have plenty of time to r

Re: wrong performance of malloc/free under multi-threading

2013-02-26 Thread Reini Urban
ptmalloc3 would be even better. http://www.malloc.de/en/ -- Reini Urban http://cpanel.net/ http://www.perl-compiler.org/ -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info:

Re: SIGINT not passed to java process

2013-02-26 Thread Corinna Vinschen
On Feb 26 12:31, Escay wrote: > Olivier Lefevre yahoo.com> writes: > > > > > Since apparently nobody wants to take ownership of this regression > > I'll point out the workaround, for the benefit of those googling > > and landing on this thread: start Java with -Xrs and use Ctrl-Break > > instead

Re: SIGINT not passed to java process

2013-02-26 Thread Escay
Olivier Lefevre yahoo.com> writes: > > Since apparently nobody wants to take ownership of this regression > I'll point out the workaround, for the benefit of those googling > and landing on this thread: start Java with -Xrs and use Ctrl-Break > instead of Ctrl-C. This will disable thread dump an

Re: wrong performance of malloc/free under multi-threading

2013-02-26 Thread jojelino
On 2013-02-26 PM 10:25, Corinna Vinschen wrote: This is Cygwin only. Corinna cygwin malloc is not reentrant according to malloc_wrapper.cc so let's not expect performance like linux or native windows. until someone have plenty of time to resolve this issue. -- Regards. -- Problem reports

Re: wrong performance of malloc/free under multi-threading

2013-02-26 Thread Corinna Vinschen
On Feb 26 06:22, Chris J. Breisch wrote: > On 2/26/2013 4:14 AM, Corinna Vinschen wrote: > >On Feb 26 15:35, MITSUNARI Shigeo wrote: > >>Hi. > >> > >>I found that the performance of malloc/free is wrong under multi-threading. > >>The following test program reproduces the problem. > >> > >>The progr

Re: wrong performance of malloc/free under multi-threading

2013-02-26 Thread Chris J. Breisch
On 2/26/2013 4:14 AM, Corinna Vinschen wrote: On Feb 26 15:35, MITSUNARI Shigeo wrote: Hi. I found that the performance of malloc/free is wrong under multi-threading. The following test program reproduces the problem. The program repeats malloc and free under multi-thread. I measured the timin

Re: wrong performance of malloc/free under multi-threading

2013-02-26 Thread Corinna Vinschen
On Feb 26 15:35, MITSUNARI Shigeo wrote: > Hi. > > I found that the performance of malloc/free is wrong under multi-threading. > The following test program reproduces the problem. > > The program repeats malloc and free under multi-thread. > I measured the timing on Cygwin and Linux. > > timing(

Re: Octave plotting window becomes unresponsive

2013-02-26 Thread Achim Gratz
marco atzeri gmail.com> writes: > could you send me a test case ? graphics_toolkit "fltk" plot(1:10,rand(10)) After getting the plot window, move the window around, enlarge it or zoom into some part of the plot to check that it is responsive. rand(1000) Try if the plot window is responsive whi