summaryrefslogtreecommitdiffstats
path: root/generic/tclProcess.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-09-17 14:12:55 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-09-17 14:12:55 (GMT)
commitbe275081a1ef4cf0490a07d2e253ca901d932fe8 (patch)
tree6bd1b9d196a5924bc9e00578719d36ef22f2eafd /generic/tclProcess.c
parent0a36b1187dcef39b41d28a5ce319aa7c54f56f66 (diff)
parent733b7a43a45ee6be75ccd99172f66b35b69841c5 (diff)
downloadtcl-be275081a1ef4cf0490a07d2e253ca901d932fe8.zip
tcl-be275081a1ef4cf0490a07d2e253ca901d932fe8.tar.gz
tcl-be275081a1ef4cf0490a07d2e253ca901d932fe8.tar.bz2
Merge 8.7
Diffstat (limited to 'generic/tclProcess.c')
-rw-r--r--generic/tclProcess.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/generic/tclProcess.c b/generic/tclProcess.c
index f3fe6f7..bab2fca 100644
--- a/generic/tclProcess.c
+++ b/generic/tclProcess.c
@@ -222,7 +222,7 @@ WaitProcessStatus(
* Get process status.
*/
- if (pid == (Tcl_Pid) -1) {
+ if (pid == (Tcl_Pid)-1) {
/*
* POSIX errName msg
*/
@@ -371,7 +371,7 @@ BuildProcessStatusObj(
* Normal exit, return TCL_OK.
*/
- return Tcl_NewIntObj(TCL_OK);
+ return Tcl_NewWideIntObj(TCL_OK);
}
/*
@@ -427,7 +427,7 @@ ProcessListObjCmd(
entry != NULL; entry = Tcl_NextHashEntry(&search)) {
info = (ProcessInfo *) Tcl_GetHashValue(entry);
Tcl_ListObjAppendElement(interp, list,
- Tcl_NewIntObj(info->resolvedPid));
+ Tcl_NewWideIntObj(info->resolvedPid));
}
Tcl_MutexUnlock(&infoTablesMutex);
Tcl_SetObjResult(interp, list);
@@ -523,7 +523,7 @@ ProcessStatusObjCmd(
* Add to result.
*/
- Tcl_DictObjPut(interp, dict, Tcl_NewIntObj(info->resolvedPid),
+ Tcl_DictObjPut(interp, dict, Tcl_NewWideIntObj(info->resolvedPid),
BuildProcessStatusObj(info));
}
}
@@ -573,7 +573,7 @@ ProcessStatusObjCmd(
* Add to result.
*/
- Tcl_DictObjPut(interp, dict, Tcl_NewIntObj(info->resolvedPid),
+ Tcl_DictObjPut(interp, dict, Tcl_NewWideIntObj(info->resolvedPid),
BuildProcessStatusObj(info));
}
}
@@ -834,7 +834,7 @@ TclProcessCreated(
* Allocate and initialize info structure.
*/
- info = (ProcessInfo *) Tcl_Alloc(sizeof(ProcessInfo));
+ info = (ProcessInfo *)Tcl_Alloc(sizeof(ProcessInfo));
InitProcessInfo(info, pid, resolvedPid);
/*