Errors in handling of boost::asio errors ('boost' was compiled with wrong std::string representation?)

2015-11-20 Thread Роман
Following program: --- begin of code #include #include int main() { std::string s = boost::system::generic_category().message(22); printf("size=%lu, c_str=\"%s\".\n", s.size(), s.c_str()); return 0; } --- end of code Give out fol

Re: Mintty Crash on Exit after SSH on Windows 10

2015-11-20 Thread Bryan Tong
Hello, I wanted to do one last follow up here. This issue has cleared up on all of my computers. The only environmental change was Windows update. Thus, my conclusion is that this was a Microsoft bug rather than a Mintty / Cygwin one and it has been cleared up with the latest updates. Thanks for

[ANNOUNCEMENT] Updated: dos2unix 7.3.2-1

2015-11-20 Thread Erwin Waterlander
CHANGES SINCE LAST RELEASE: === New upstream release. * New: Swedish translation of messages and manual. * Updated: Danish and Brazilian Portuguese translations. * Fix: The -iso option was misinterpreted as a corrupted -i option. * Fix: Compilation for MSYS 1.

RE: Can MKS Toolkit and Cygwin safely co-exist on Windows servers?

2015-11-20 Thread Peter A. Castro
On Wed, 18 Nov 2015, Buchbinder, Barry (NIH/NIAID) [E] wrote: Date: Wed, 18 Nov 2015 21:29:30 + From: "Buchbinder, Barry (NIH/NIAID) [E]" Subject: RE: Can MKS Toolkit and Cygwin safely co-exist on Windows servers? Peter A. Castro sent the following at Monday, November 16, 2015 9:17 PM Oh!

[ANNOUNCEMENT] Updated: xorg-server-1.18.0-1 (TEST)

2015-11-20 Thread Jon Turney
The following packages have been updated in the Cygwin distribution: *** xorg-server-*1.18.0-1 These packages contain XWin and the other X.Org X11 servers. This is the first release of the xserver 1.18 series. It is currently available as a test release, and will be made stable in approximat

Re: Cygwin multithreading performance

2015-11-20 Thread Kacper Michajlow
2015-11-19 21:24 GMT+01:00 Mark Geisert : > Kacper Michajlow wrote: >> >> I recently noticed that Cygwin multithreading is very inefficient. I >> was repacking few git repositories and with Cygwin's git, it spawns >> threads but they are so badly synchronized that there is no speed gain >> over one

Re: Problem with nm in binutils-2.25-2 on x86

2015-11-20 Thread JonY
On 11/20/2015 18:53, Marco Atzeri wrote: > > I catched the same issue on x86_64 > > nm -l liboctave/.libs/cygoctave-3.dll > > > 0004c0aa6530 T zseri_ > /pub/devel/octave/octave-4.0.0-2.x86_64/src/octave-4.0.0/liboctave/cruft/amos/zseri.f:1 > > 0004c0aa7090 T zshch_ > /pub/devel/octave/

Re: Windows locks up when pressing Ctrl+S while native process writes to terminal

2015-11-20 Thread Aaron Digulla
Am Freitag, 13. November 2015 11:08 CET, "Aaron Digulla" schrieb: It seems I'm the only one with this problem. Any ideas what I could do next? To add insult to injury, I have a RAID-1 array in my computer and when Cygwin kills it, I have to wait 2 hours before I can use it again. So it's a pr

Re: ssh ControlMaster re-broken

2015-11-20 Thread Andrew Schulman
> On Nov 19 11:45, Andrew Schulman wrote: > > > On Nov 17 12:46, Zhu, Binbin (Nokia - CN/Hangzhou) wrote: > > > > Hi, > > > > > > > > It worked month ago, but it failed after reinstall. > > > > > > Are you really sure it ever worked? To the best of my knowledge the > > > control master stuff alw

Re: incorrectly define macro "howmany"

2015-11-20 Thread Corinna Vinschen
On Nov 20 03:25, Keith Thompson wrote: > The header file /usr/include/sys/types.h defines a macro called "howmany". Incidentally, this is currently under discussion on the newlib list: https://sourceware.org/ml/newlib/2015/msg00789.html . The RTEMS guys are testing my patch suggestion soon, hopefu

incorrectly define macro "howmany"

2015-11-20 Thread Keith Thompson
The header file /usr/include/sys/types.h defines a macro called "howmany". As a result, this strictly conforming program: #include int howmany(void) { return 42; } int main(void) { printf("%d\n", howmany()); } fails to compile with "gcc -std=c11 -pedantic"

Re: Problem with nm in binutils-2.25-2 on x86

2015-11-20 Thread Marco Atzeri
On 11/10/2015 15:52, Ken Brown wrote: On 10/11/2015 12:25 AM, JonY wrote: On 10/10/2015 23:04, JonY wrote: On 10/10/2015 07:55, JonY wrote: I'll be rebuilding the CRT and cygwin gcc soon to give this a try. Nope, rebuilding the crt and Cygwin dll did not help at all. Updating binutils a

Re: ssh ControlMaster re-broken

2015-11-20 Thread Corinna Vinschen
On Nov 19 11:45, Andrew Schulman wrote: > > On Nov 17 12:46, Zhu, Binbin (Nokia - CN/Hangzhou) wrote: > > > Hi, > > > > > > It worked month ago, but it failed after reinstall. > > > > Are you really sure it ever worked? To the best of my knowledge the > > control master stuff always required des

Re: Symlink targets dereferenced when winsymlinks:native

2015-11-20 Thread Corinna Vinschen
On Nov 19 19:53, David Macek wrote: > On 18. 11. 2015 20:48, Corinna Vinschen wrote: > > On Nov 18 19:13, David Macek wrote: > >> On 18. 11. 2015 18:55, Corinna Vinschen wrote: > >>> On Nov 17 23:28, David Macek wrote: > I went through the UG looking for differences between regular Cygwin > >>

Re: Symlink targets dereferenced when winsymlinks:native

2015-11-20 Thread Corinna Vinschen
On Nov 19 22:17, David Macek wrote: > On 19. 11. 2015 20:36, Nellis, Kenneth wrote: > > FWIW, my results are different: > > > > $ printenv CYGWIN > > winsymlinks:nativestrict > > $ touch XXX > > $ ln -s XXX YYY > > $ ln -s YYY ZZZ > > $ ls -l > > total 0 > > -rw-r- 1 knellis Domain Users 0 Nov