[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnet/engine process.c,1.40,1.41
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnet/engine process.c,1.40,1.41 |
Date: |
Sun, 02 Feb 2003 04:15:48 -0500 |
Update of /cvsroot/dotgnu-pnet/pnet/engine
In directory subversions:/tmp/cvs-serv4068/engine
Modified Files:
process.c
Log Message:
ILExecProcessSetCommandLine: return the full pathname for argv[0]
from "Environment.GetCommandLineArgs()".
Index: process.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/engine/process.c,v
retrieving revision 1.40
retrieving revision 1.41
diff -C2 -r1.40 -r1.41
*** process.c 27 Nov 2002 00:24:49 -0000 1.40
--- process.c 2 Feb 2003 09:15:45 -0000 1.41
***************
*** 432,435 ****
--- 432,436 ----
int opt;
int argc;
+ char *expanded;
/* Cound the number of arguments in the "args" array */
***************
*** 458,462 ****
/* Populate the argument arrays */
! argString = ILStringCreate(thread, progName);
if(!argString || ILExecThreadHasException(thread))
{
--- 459,470 ----
/* Populate the argument arrays */
! expanded = ILExpandFilename(progName, (char *)0);
! if(!expanded)
! {
! ILExecThreadThrowOutOfMemory(thread);
! return 0;
! }
! argString = ILStringCreate(thread, expanded);
! ILFree(expanded);
if(!argString || ILExecThreadHasException(thread))
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnet/engine process.c,1.40,1.41,
Rhys Weatherley <address@hidden> <=