diff options
author | dgp <dgp@users.sourceforge.net> | 2008-09-24 19:31:22 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2008-09-24 19:31:22 (GMT) |
commit | 320d7eee6064ca0dd8cb639bd5be69ba1540090e (patch) | |
tree | bb9142d1461d158477e06736af87cceca30ed6fc /generic/tclCmdAH.c | |
parent | f07ede6c19ad5eed75e1dcbc9ffed8322eed5c3b (diff) | |
download | tcl-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/tclCmdAH.c')
-rw-r--r-- | generic/tclCmdAH.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/generic/tclCmdAH.c b/generic/tclCmdAH.c index 80aadeb..19a743b 100644 --- a/generic/tclCmdAH.c +++ b/generic/tclCmdAH.c @@ -10,7 +10,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclCmdAH.c,v 1.104 2008/09/01 12:28:08 msofer Exp $ + * RCS: @(#) $Id: tclCmdAH.c,v 1.105 2008/09/24 19:31:28 dgp Exp $ */ #include "tclInt.h" @@ -1239,10 +1239,6 @@ Tcl_FileObjCmd( GetTypeFromMode((unsigned short) buf.st_mode), -1)); return TCL_OK; case FCMD_MKDIR: - if (objc < 3) { - Tcl_WrongNumArgs(interp, 2, objv, "name ?name ...?"); - return TCL_ERROR; - } return TclFileMakeDirsCmd(interp, objc, objv); case FCMD_NATIVENAME: { const char *fileName; |