Re: setsockopt support for SO_RCVTIMEO

2013-08-01 Thread Sean Daley
On Thu, Aug 1, 2013 at 7:41 PM, Balaji Venkataraman wrote: It appears Cygwin setsockopt doesn't do anything with the socket options SO_RCVTIMEO or SO_SNDTIMEO. Then I also found this: http://cygwin.com/ml/cygwin/2003-01/msg00833.html But those options work on Windows (Win7 to be precise).

Re: Cannot pass space arguments to BATs contains spaces.

2012-08-13 Thread Sean Daley
On Mon, Aug 13, 2012 at 8:41 PM, Atry wrote: I execute following command in bash: echo 'echo %1' 'hello world.bat' chmod +x 'hello world.bat' './hello world.bat' 'There are some spaces.' And I got: 'C:\Users\Atry\hello' 不是内部或外部命令,也不是可运行的程序 或批处理文件。 There's a thread from about 8 years

Re: problem using recursive grep (-r option)

2012-08-07 Thread Sean Daley
On Tue, Aug 7, 2012 at 11:08 AM, AngusC wrote: If I use the command: grep -nH -r my pattern *.* I get results back as expected But if the file pattern is like this: grep -nH -r my pattern *.log I get no results back (Even though I have a ton of files with this pattern with .log file

Re: Question about cygwin-1.5.25-11 release notes

2008-09-26 Thread Sean Daley
On Fri, Sep 26, 2008 at 12:33 PM, Matthew Woehlke wrote: Sean Daley wrote: I've got a quick question regarding one of the bullet points on the release of cygwin-1.5.25-11. - Fix a crash when creating stackdumps on Windows XP x64 Edition and Windows 2003 Server x64 Edition. When it says

Re: Question about cygwin-1.5.25-11 release notes

2008-09-26 Thread Sean Daley
On Fri, Sep 26, 2008 at 2:56 PM, Christopher Faylor wrote: On Fri, Sep 26, 2008 at 01:22:47PM -0400, Sean Daley wrote: On Fri, Sep 26, 2008 at 12:33 PM, Matthew Woehlke wrote: Sean Daley wrote: I've got a quick question regarding one of the bullet points on the release of cygwin-1.5.25-11

Question about cygwin-1.5.25-11 release notes

2008-09-25 Thread Sean Daley
I've got a quick question regarding one of the bullet points on the release of cygwin-1.5.25-11. - Fix a crash when creating stackdumps on Windows XP x64 Edition and Windows 2003 Server x64 Edition. When it says crash, does that mean that the 2003x64 OS actually crashes or a cygwin app will

CreateFileMapping/MapViewOfFile and fork

2007-03-06 Thread Sean Daley
As part of an application we're developing, we use CreateFileMapping/MapViewOfFile to be able to share information among processes. I noticed today that if I try to reference the map immediately after calling fork() but before calling exec, that my application will crash. I should be able to

CreateFileMapping/MapViewOfFile and fork

2007-03-06 Thread Sean Daley
As part of an application we're developing, we use CreateFileMapping/MapViewOfFile to be able to share information among processes. I noticed today that if I try to reference the map immediately after calling fork() but before calling exec, that my application will crash. I should be able to

Re: Bash fails to run .bat file with spaces in pathname and argument

2006-10-11 Thread Sean Daley
On 10/11/06, Johnathon Jamison wrote: Respectfully, I think I know how shell quoting works. If you look at the sample run, all spaces are properly escaped with either backslashes or double quotes. The problem only surfaces when BOTH the program AND the argument have spaces, AND the program is

Re: mmap and MAP_FIXED

2005-02-24 Thread Sean Daley
Evgeny Stambulchik wrote: Christopher Faylor wrote: See: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/base/mapviewoffileex.asp Pay particular attention to the description of lpBaseAddress. Thanks! It doesn't explain, though, how mmap manages to avoid this

Re: Argument list too long [FAQ Possibility]

2005-01-06 Thread Sean Daley
I've noticed the 32K limitation for a long time now (few years at least). Never really thought too much about it though because I also assumed that it was because lpCommandLine in CreateProcess() maxed out at 32,000 characters (at least according to the msdn documentation). Of course, that

Problem executing a .bat script in a directory with spaces using bash

2004-09-02 Thread Sean Daley
I'm currently using cygwin 1.5.10 and I'm having a problem trying to run a .bat file in a directory with spaces. Here's an example of what I'm doing. 1) mkdir C:\Space Dir 2) Create a file called test.bat in C:\Space Dir 3) Just add a single line with echo %1 in test.bat 4) Start cygwin $ cd

Re: Re: Problem executing a .bat script in a directory with spaces using bash

2004-09-02 Thread Sean Daley
, GD [EMAIL PROTECTED] wrote: Sean Daley wrote: I'm currently using cygwin 1.5.10 and I'm having a problem trying to run a .bat file in a directory with spaces. Geezus, man! You're not going to get a response from the Cygwin list for shell questions with obvious answers. Windows

Re: Re: Problem executing a .bat script in a directory with spaces using bash

2004-09-02 Thread Sean Daley
The problem is, there's nothing for me to quote here. It's not like the batch script fails to give me the correct information (due to incorrect quoting). The script fails to even LAUNCH when it lives in a directory with spaces and you pass in an argument with a space in it. Mind you, I've