diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-05-12 12:36:30 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-05-12 12:36:30 (GMT) |
commit | 6c00e4db82fb7bd7fda66af0d9652ae2b950cc1f (patch) | |
tree | f5c3d33c8cd0d0940bf12fe39f3008c71bec1735 /win | |
parent | 6d44e5c0f77c03a6daaf47db88c752018d980055 (diff) | |
download | tcl-6c00e4db82fb7bd7fda66af0d9652ae2b950cc1f.zip tcl-6c00e4db82fb7bd7fda66af0d9652ae2b950cc1f.tar.gz tcl-6c00e4db82fb7bd7fda66af0d9652ae2b950cc1f.tar.bz2 |
Remove "testsize time_t" command, it isn't being used
Diffstat (limited to 'win')
-rw-r--r-- | win/tclWinTest.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/win/tclWinTest.c b/win/tclWinTest.c index 8525718..357bbc5 100644 --- a/win/tclWinTest.c +++ b/win/tclWinTest.c @@ -323,18 +323,14 @@ TestSizeCmd( if (objc != 2) { goto syntax; } - if (strcmp(Tcl_GetString(objv[1]), "time_t") == 0) { - Tcl_SetObjResult(interp, Tcl_NewWideIntObj(sizeof(time_t))); - return TCL_OK; - } if (strcmp(Tcl_GetString(objv[1]), "st_mtime") == 0) { - Tcl_StatBuf *statPtr; - Tcl_SetObjResult(interp, Tcl_NewWideIntObj(sizeof(statPtr->st_mtime))); - return TCL_OK; + Tcl_StatBuf *statPtr; + Tcl_SetObjResult(interp, Tcl_NewWideIntObj(sizeof(statPtr->st_mtime))); + return TCL_OK; } syntax: - Tcl_WrongNumArgs(interp, 1, objv, "time_t|st_mtime"); + Tcl_WrongNumArgs(interp, 1, objv, "st_mtime"); return TCL_ERROR; } |