patchDotGNU Portable.NET - Patches: patch #2968, Implements process spawning on...

 
 

You are not allowed to post comments on this tracker with your current authentification level.

patch #2968: Implements process spawning on MinGW/Windows native

Submitted by:  Maciek Plewa <maciekpl>
Submitted on:  Sat 24 Apr 2004 05:22:10 PM UTC  
 
Category: NonePriority: 6
Status: NonePrivacy: Public
Assigned to: NoneOpen/Closed: Open

Mon 14 Jun 2004 03:04:51 PM UTC, comment #3:

A few problems:

I get an "Invalid Argument" error when using cscc (the argument has a space so a temp command file is used and windwos doesn't seem to recognise the @C:\Temp\CMD as a command file).

You shouldn't hard code C:\Windows\Temp -- use GetWindowsDirectory.

Some arguments include quotes, so sometimes we can end up with arguments with quotes inside quotes like:

"-D__VERSION__="0.6.7 (cscc)""

PS. Are you sure command files are necessary?

Thanks.

Thong Nguyen <tum>
Project Member
Wed 02 Jun 2004 09:54:14 AM UTC, comment #2:

I've made quite a lot of changes, and this time also tested on Debian 3.0, FreeBSD 4.9, Cygwin, and MinGW (cscctest and built pnetlib).

I was waiting for 0.6.6 release to save time on building it on Cygwin.

Maciek Plewa <maciekpl>
Sun 25 Apr 2004 09:58:36 AM UTC, comment #1:

Sorry, it does not build on Linux (needs a configure.in check for errno.h to include it).

But even after that, I couldnt' find where UNIX_PIPES were detected and defined in the code ?.

Please recheck that part.

Gopal.V <t3rmin4t0r>
Project Administrator
Sat 24 Apr 2004 05:22:10 PM UTC, original submission:
  • support/spawn.c: Add process spawning and pipe redirection

support for Windows native (MinGW). Add utility functions
build_command, winerror, checknt

  • cscc/common/cc_main.c: Renamed LoadLibrary to

LoadLibraryCodeGen to prevent name conflict with Windows API;
modified SpawnOnPipe and ClosePipe to wrap around
ILSpawnProcessWithPipe and ILSpawnProcessWaitForExit
(support/spawn.c)

Maciek Plewa <maciekpl>

 

Attached Files
file #7526:  Maciek-040602-MinGW.patch added by maciekpl (29kB - application/octet-stream - Updated patch id 2968)
file #7321:  Maciek-040425.patch added by maciekpl (18kB - application/octet-stream - Patch file for Changelog, cscc/common/cc_main.c, support/spawn.c)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 4 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Wed 02 Jun 2004 09:54:14 AM UTCmaciekplAttached File-=>Added Maciek-040602-MinGW.patch, #3333
  Carbon-Copy-=>Added tum
Sat 24 Apr 2004 05:22:11 PM UTCmaciekplCarbon-Copy-=>Added t3rmin4t0r
Sat 24 Apr 2004 05:22:10 PM UTCmaciekplAttached File-=>Added Maciek-040425.patch, #3141

Back to the top


Powered by Savane 3.1-cleanup