diff options
| author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-11-16 23:21:20 (GMT) |
|---|---|---|
| committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-11-16 23:21:20 (GMT) |
| commit | 61862789a20edc7649464d1cee5fac35b9995849 (patch) | |
| tree | 52cba60bacedffb3570138e2bd4a6096981d8c37 /unix/tclUnixFCmd.c | |
| parent | 23ef4b9219d9a38e633ea4a33d3d24446a6d6623 (diff) | |
| download | tcl-61862789a20edc7649464d1cee5fac35b9995849.zip tcl-61862789a20edc7649464d1cee5fac35b9995849.tar.gz tcl-61862789a20edc7649464d1cee5fac35b9995849.tar.bz2 | |
Revise macro usage
Diffstat (limited to 'unix/tclUnixFCmd.c')
| -rw-r--r-- | unix/tclUnixFCmd.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/unix/tclUnixFCmd.c b/unix/tclUnixFCmd.c index ec936e0..48023b1 100644 --- a/unix/tclUnixFCmd.c +++ b/unix/tclUnixFCmd.c @@ -1510,7 +1510,7 @@ SetGroupAttribute( int result; const char *native; - if (Tcl_GetWideIntFromObj(NULL, attributePtr, &gid) != TCL_OK) { + if (TclGetWideIntFromObj(NULL, attributePtr, &gid) != TCL_OK) { Tcl_DString ds; struct group *groupPtr = NULL; const char *string; @@ -1581,7 +1581,7 @@ SetOwnerAttribute( int result; const char *native; - if (Tcl_GetWideIntFromObj(NULL, attributePtr, &uid) != TCL_OK) { + if (TclGetWideIntFromObj(NULL, attributePtr, &uid) != TCL_OK) { Tcl_DString ds; struct passwd *pwPtr = NULL; const char *string; @@ -1667,11 +1667,11 @@ SetPermissionsAttribute( TclNewLiteralStringObj(modeObj, "0o"); Tcl_AppendToObj(modeObj, modeStringPtr+scanned+1, TCL_INDEX_NONE); - result = Tcl_GetWideIntFromObj(NULL, modeObj, &mode); + result = TclGetWideIntFromObj(NULL, modeObj, &mode); Tcl_DecrRefCount(modeObj); } if (result == TCL_OK - || Tcl_GetWideIntFromObj(NULL, attributePtr, &mode) == TCL_OK) { + || TclGetWideIntFromObj(NULL, attributePtr, &mode) == TCL_OK) { newMode = (mode_t) (mode & 0x00007FFF); } else { Tcl_StatBuf buf; |
