diff options
author | das <das@noemail.net> | 2004-03-17 18:14:11 (GMT) |
---|---|---|
committer | das <das@noemail.net> | 2004-03-17 18:14:11 (GMT) |
commit | 730d286978a5d1b23a52ba056f29d9ba456f563e (patch) | |
tree | b40c5ed765d71e7cb68ba178c3f3a098638c9987 /generic/tclIOCmd.c | |
parent | 10d89fde08fae09704162493274a22d3b257ceb8 (diff) | |
download | tcl-730d286978a5d1b23a52ba056f29d9ba456f563e.zip tcl-730d286978a5d1b23a52ba056f29d9ba456f563e.tar.gz tcl-730d286978a5d1b23a52ba056f29d9ba456f563e.tar.bz2 |
Removed support for Mac OS Classic platform [Patch 918142]
FossilOrigin-Name: b6330dbac725e2d527ad089669aa7f4779d19398
Diffstat (limited to 'generic/tclIOCmd.c')
-rw-r--r-- | generic/tclIOCmd.c | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/generic/tclIOCmd.c b/generic/tclIOCmd.c index 2f9e764..c2c0a40 100644 --- a/generic/tclIOCmd.c +++ b/generic/tclIOCmd.c @@ -8,7 +8,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclIOCmd.c,v 1.16 2003/12/24 04:18:20 davygrvy Exp $ + * RCS: @(#) $Id: tclIOCmd.c,v 1.17 2004/03/17 18:14:13 das Exp $ */ #include "tclInt.h" @@ -709,14 +709,6 @@ Tcl_ExecObjCmd(dummy, interp, objc, objv) int objc; /* Number of arguments. */ Tcl_Obj *CONST objv[]; /* Argument objects. */ { -#ifdef MAC_TCL - - Tcl_AppendResult(interp, "exec not implemented under Mac OS", - (char *)NULL); - return TCL_ERROR; - -#else /* !MAC_TCL */ - /* * This procedure generates an argv array for the string arguments. It * starts out with stack-allocated space but uses dynamically-allocated @@ -857,7 +849,6 @@ Tcl_ExecObjCmd(dummy, interp, objc, objv) Tcl_SetObjResult(interp, resultPtr); return result; -#endif /* !MAC_TCL */ } /* @@ -968,12 +959,6 @@ Tcl_OpenObjCmd(notUsed, interp, objc, objv) if (!pipeline) { chan = Tcl_FSOpenFileChannel(interp, objv[1], modeString, prot); } else { -#ifdef MAC_TCL - Tcl_AppendResult(interp, - "command pipelines not supported on Macintosh OS", - (char *)NULL); - return TCL_ERROR; -#else int mode, seekFlag, cmdObjc; CONST char **cmdArgv; @@ -1003,7 +988,6 @@ Tcl_OpenObjCmd(notUsed, interp, objc, objv) chan = Tcl_OpenCommandChannel(interp, cmdObjc, cmdArgv, flags); } ckfree((char *) cmdArgv); -#endif } if (chan == (Tcl_Channel) NULL) { return TCL_ERROR; |