projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Keep the posix module buildable, and add some CVS sugar for easier scanning.
[reactos.git]
/
posix
/
lib
/
psxdll
/
misc
/
spawn.c
diff --git
a/posix/lib/psxdll/misc/spawn.c
b/posix/lib/psxdll/misc/spawn.c
index
87e45c6
..
4ac8e6c
100644
(file)
--- a/
posix/lib/psxdll/misc/spawn.c
+++ b/
posix/lib/psxdll/misc/spawn.c
@@
-1,4
+1,4
@@
-/* $Id: spawn.c,v 1.
8 2002/10/29 04:45:35 rex
Exp $
+/* $Id: spawn.c,v 1.
9 2002/12/26 18:14:36 robd
Exp $
*/
/*
* COPYRIGHT: See COPYING in the top level directory
*/
/*
* COPYRIGHT: See COPYING in the top level directory
@@
-222,7
+222,7
@@
NTSTATUS STDCALL __PdxSpawnPosixProcess
}
/* 3.3.2: process parameters */
}
/* 3.3.2: process parameters */
- nDestBufferSize = pppProcessParameters->
Length
;
+ nDestBufferSize = pppProcessParameters->
Size
;
nErrCode = NtAllocateVirtualMemory
(
nErrCode = NtAllocateVirtualMemory
(
@@
-317,7
+317,7
@@
NTSTATUS STDCALL __PdxSpawnPosixProcess
hProcess,
pParamsBuffer,
pppProcessParameters,
hProcess,
pParamsBuffer,
pppProcessParameters,
- pppProcessParameters->
Length
,
+ pppProcessParameters->
Size
,
NULL
);
NULL
);
@@
-417,7
+417,7
@@
undoPData:
NtCurrentProcess(),
ProcessData->FdTable.Descriptors[i].FileHandle,
hProcess,
NtCurrentProcess(),
ProcessData->FdTable.Descriptors[i].FileHandle,
hProcess,
- (PHANDLE)((ULONG)pParamsBuffer + offsetof(RTL_USER_PROCESS_PARAMETERS,
InputHandle
)),
+ (PHANDLE)((ULONG)pParamsBuffer + offsetof(RTL_USER_PROCESS_PARAMETERS,
hStdInput
)),
0,
0,
DUPLICATE_SAME_ACCESS | 4 /* | DUPLICATE_SAME_ATTRIBUTES */ /* FIXME */
0,
0,
DUPLICATE_SAME_ACCESS | 4 /* | DUPLICATE_SAME_ATTRIBUTES */ /* FIXME */
@@
-438,7
+438,7
@@
undoPData:
NtCurrentProcess(),
ProcessData->FdTable.Descriptors[i].FileHandle,
hProcess,
NtCurrentProcess(),
ProcessData->FdTable.Descriptors[i].FileHandle,
hProcess,
- (PHANDLE)((ULONG)pParamsBuffer + offsetof(RTL_USER_PROCESS_PARAMETERS,
OutputHandle
)),
+ (PHANDLE)((ULONG)pParamsBuffer + offsetof(RTL_USER_PROCESS_PARAMETERS,
hStdOutput
)),
0,
0,
DUPLICATE_SAME_ACCESS | 4 /* | DUPLICATE_SAME_ATTRIBUTES */ /* FIXME */
0,
0,
DUPLICATE_SAME_ACCESS | 4 /* | DUPLICATE_SAME_ATTRIBUTES */ /* FIXME */
@@
-459,7
+459,7
@@
undoPData:
NtCurrentProcess(),
ProcessData->FdTable.Descriptors[i].FileHandle,
hProcess,
NtCurrentProcess(),
ProcessData->FdTable.Descriptors[i].FileHandle,
hProcess,
- (PHANDLE)((ULONG)pParamsBuffer + offsetof(RTL_USER_PROCESS_PARAMETERS,
ErrorHandle
)),
+ (PHANDLE)((ULONG)pParamsBuffer + offsetof(RTL_USER_PROCESS_PARAMETERS,
hStdError
)),
0,
0,
DUPLICATE_SAME_ACCESS | 4 /* | DUPLICATE_SAME_ATTRIBUTES */ /* FIXME */
0,
0,
DUPLICATE_SAME_ACCESS | 4 /* | DUPLICATE_SAME_ATTRIBUTES */ /* FIXME */