Re: [h-e-w] cygwin-64 2.3.1. bash fails when running under FSF emacs 24.5

2015-11-27 Thread Dominique de Waleffe
Thanks, I'll look in that direction... Next question is where can I find an official Emacs 64-bit build? Went to the FAQ, read it at (https://www.gnu.org/software/emacs/manual/html_node/efaq-w32/Downloading.html) it says it should be on the ftp site and there would be both a 32 and 64 bit versio

Re: Argument parsing with gcc compiled program

2015-11-27 Thread Jan Nijtmans
2015-11-26 21:30 GMT+01:00 Gluszczak, Glenn : > Sorry I should have specified, this is not bash as this happens with the gcc > compiled > program within a Command Prompt session. > > > K:\>a.exe -s something "something d\:\\hello" > > Command-line arguments: > argv[0] a > argv[1] -s > ar

Re: [h-e-w] cygwin-64 2.3.1. bash fails when running under FSF emacs 24.5

2015-11-27 Thread Eli Zaretskii
> Date: Fri, 27 Nov 2015 10:00:11 +0100 > From: Dominique de Waleffe > Cc: cygwin@cygwin.com, help-emacs-wind...@gnu.org > > Next question is where can I find an official Emacs 64-bit build? There is none. -- Problem reports: http://cygwin.com/problems.html FAQ: http://c

Incorrect Python errors when using os.remove to delete a directory

2015-11-27 Thread Adam Dinwoodie
If I use os.remove in Python to remove a directory, I expect it to fail with an OSError on Python2 or a IsADirectoryError on Python3. On Python2, I get OSError, but with the wrong error code, whereas on Python3 I get completely the wrong exception. Simple testcases: $ rm -rf testdir && mkdir

Re: 64bit cygwin 2.4.0-0.4 hangs when pinging unresponsive host

2015-11-27 Thread Corinna Vinschen
On Nov 26 21:15, Corinna Vinschen wrote: > On Nov 25 22:01, Marco Atzeri wrote: > > > > > > On 25/11/2015 12:03, Marco Atzeri wrote: > > >On 25/11/2015 08:06, Thomas Wolff wrote: > > >>Am 24.11.2015 um 23:29 schrieb Marco Atzeri: > > >>> > > > > > >>>... > > >>>I assume it is an interaction with

Re: Incorrect Python errors when using os.remove to delete a directory

2015-11-27 Thread Michael Wild
On Fri, Nov 27, 2015 at 3:51 PM, Adam Dinwoodie wrote: > If I use os.remove in Python to remove a directory, I expect it to fail > with an OSError on Python2 or a IsADirectoryError on Python3. On > Python2, I get OSError, but with the wrong error code, whereas on > Python3 I get completely the wr

[ANNOUNCEMENT] TEST RELEASE: Cygwin 2.4.0-0.5

2015-11-27 Thread Corinna Vinschen
Hi Cygwin friends and users, I released a new TEST version of Cygwin, 2.4.0-0.5. There are three bugfixes compared to 2.4.0-0.4: - Fix handling of relative paths in native symlinks if the target is in a drive's root dir or one level below. Addresses: https://cygwin.com/ml/cygwin/2015-11/msg

Re: 64bit cygwin 2.4.0-0.4 hangs when pinging unresponsive host

2015-11-27 Thread Marco Atzeri
On 27/11/2015 16:07, Corinna Vinschen wrote: 64 $ ping 2.2.2.2 PING 2.2.2.2 (2.2.2.2): 56 data bytes 2.2.2.2 PING Statistics 2 packets transmitted, 0 packets received, 100.0% packet loss the problem seems restricted to the 64bit test version of cygwin. I think this is pure coincid

RE: Argument parsing with gcc compiled program

2015-11-27 Thread Gluszczak, Glenn
>-Original Message- >From: Jan Nijtmans [mailto:jan.nijtm...@gmail.com] >Sent: Friday, November 27, 2015 4:30 AM >To: cygwin@cygwin.com >Subject: Re: Argument parsing with gcc compiled program > >2015-11-26 21:30 GMT+01:00 Gluszczak, Glenn : >> Sorry I should have specified, this is not ba

Re: Argument parsing with gcc compiled program

2015-11-27 Thread Csaba Raduly
On Fri, Nov 27, 2015 at 5:03 PM, Gluszczak, Glenn wrote: > Please look at my example again. The same program compiled with Visual > Studio does *not* > strip out the backslash whether run in cmd.exe or bash.exe. Other utilities > like Perl > do not strip out the backslash either. It is only

RE: Argument parsing with gcc compiled program

2015-11-27 Thread Gluszczak, Glenn
>On Fri, Nov 27, 2015 at 5:03 PM, Gluszczak, Glenn wrote: > Please look at my example again. The same program compiled with Visual > Studio does *not* > strip out the backslash whether run in cmd.exe or bash.exe. Other utilities > like Perl > do not strip out the backslash either. It is only

Re: Argument parsing with gcc compiled program

2015-11-27 Thread Marco Atzeri
On 27/11/2015 17:55, Gluszczak, Glenn wrote: On Fri, Nov 27, 2015 at 5:03 PM, Gluszczak, Glenn wrote: Please look at my example again. The same program compiled with Visual Studio does *not* strip out the backslash whether run in cmd.exe or bash.exe. Other utilities like Perl do not str

Re: Argument parsing with gcc compiled program

2015-11-27 Thread Gluszczak, Glenn
>* From: Marco Atzeri >* To: cygwin at cygwin dot com >* Date: Fri, 27 Nov 2015 18:08:44 +0100 >* Subject: Re: Argument parsing with gcc compiled program >* Authentication-results: sourceware.org; auth=none >* References: gmail dot com> <91DCAC3CB99C724EB365BB64677FBE7B01DFDC >at MX204CL04 dot cor

Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.4.0-0.4

2015-11-27 Thread Kacper Michajlow
2015-11-26 14:16 GMT+01:00 Corinna Vinschen : > Hi Kacper, > > On Nov 23 19:09, Kacper Michajlow wrote: >> 2015-11-21 17:24 GMT+01:00 Corinna Vinschen : >> > Hi Cygwin friends and users, >> > >> > >> > I released a new TEST version of Cygwin, 2.4.0-0.4. >> > >> >> With this version I get permission

Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.4.0-0.4

2015-11-27 Thread Kacper Michajlow
2015-11-27 20:02 GMT+01:00 Kacper Michajlow : > 2015-11-26 14:16 GMT+01:00 Corinna Vinschen : >> Hi Kacper, >> >> On Nov 23 19:09, Kacper Michajlow wrote: >>> 2015-11-21 17:24 GMT+01:00 Corinna Vinschen : >>> > Hi Cygwin friends and users, >>> > >>> > >>> > I released a new TEST version of Cygwin,

Re: Argument parsing with gcc compiled program

2015-11-27 Thread Achim Gratz
Gluszczak, Glenn writes: > Thanks for the email reference. Cygwin.dll always strips backslashes > so I'm stuck compiling with VS, ok. You can do a cross-compile from Cygwin to MinGW if you need Windows semantics. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blof