summaryrefslogtreecommitdiffstats
path: root/generic/tclFCmd.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2008-09-24 19:31:22 (GMT)
committerdgp <dgp@users.sourceforge.net>2008-09-24 19:31:22 (GMT)
commit320d7eee6064ca0dd8cb639bd5be69ba1540090e (patch)
treebb9142d1461d158477e06736af87cceca30ed6fc /generic/tclFCmd.c
parentf07ede6c19ad5eed75e1dcbc9ffed8322eed5c3b (diff)
downloadtcl-320d7eee6064ca0dd8cb639bd5be69ba1540090e.zip
tcl-320d7eee6064ca0dd8cb639bd5be69ba1540090e.tar.gz
tcl-320d7eee6064ca0dd8cb639bd5be69ba1540090e.tar.bz2
TIP #323 IMPLEMENTATION (partial)
* doc/file.n: Revise [file delete] and [file mkdir] to * generic/tclCmdAH.c: accept zero "pathname" arguments (the * generic/tclFCmd.c: no-op case). * tests/cmdAH.test: * tests/fCmd.test:
Diffstat (limited to 'generic/tclFCmd.c')
-rw-r--r--generic/tclFCmd.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/generic/tclFCmd.c b/generic/tclFCmd.c
index dc13ef4..d385f8e 100644
--- a/generic/tclFCmd.c
+++ b/generic/tclFCmd.c
@@ -9,7 +9,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclFCmd.c,v 1.46 2008/07/21 14:42:57 patthoyts Exp $
+ * RCS: @(#) $Id: tclFCmd.c,v 1.47 2008/09/24 19:31:29 dgp Exp $
*/
#include "tclInt.h"
@@ -351,12 +351,6 @@ TclFileDeleteCmd(
return TCL_ERROR;
}
i += 2;
- if ((objc - i) < 1) {
- Tcl_AppendResult(interp, "wrong # args: should be \"",
- TclGetString(objv[0]), " ", TclGetString(objv[1]),
- " ?-option value ...? file ?file ...?\"", NULL);
- return TCL_ERROR;
- }
errfile = NULL;
result = TCL_OK;