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

 
 

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

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

Submitter:  Maciek Plewa <maciekpl>
Submitted:  Sat 24 Apr 2004 05:22:10 PM UTC
   
 
Category:  None Priority:  6
Status:  None Privacy:  Public
Assigned to:  None Open/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>
Group 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>
Group 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>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #7526:  Maciek-040602-MinGW.patch added by maciekpl (29KiB - application/octet-stream - Updated patch id 2968)
file #7321:  Maciek-040425.patch added by maciekpl (18KiB - 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

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follow 4 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2004-06-02 maciekpl Attached File- Added Maciek-040602-MinGW.patch, #3333
    Carbon-Copy- Added tum
2004-04-24 maciekpl Carbon-Copy- Added t3rmin4t0r
2004-04-24 maciekpl Attached File- Added Maciek-040425.patch, #3141

Back to the top

Powered by Savane 3.14-f13d.
Corresponding source code