asmNoStackFrame -> stackTrace:off
This commit is contained in:
parent
8d19b09959
commit
0a0b74bc24
3 changed files with 7 additions and 3 deletions
|
|
@ -800,8 +800,8 @@ elif not defined(useNimRtl):
|
|||
|
||||
proc startProcessAfterFork(data: ptr TStartProcessData) =
|
||||
# Warning: no GC here!
|
||||
# Or anythink that touches global structures - all called nimrod procs
|
||||
# must be marked with asmNoStackFrame. Inspect C code after making changes.
|
||||
# Or anything that touches global structures - all called nimrod procs
|
||||
# must be marked with stackTrace:off. Inspect C code after making changes.
|
||||
if not data.optionPoParentStreams:
|
||||
discard close(data.pStdin[writeIdx])
|
||||
if dup2(data.pStdin[readIdx], readIdx) < 0:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue