34 |
* It does not interact in any way the the Tcl global "env" array. |
* It does not interact in any way the the Tcl global "env" array. |
35 |
*/ |
*/ |
36 |
|
|
37 |
#include "tcl.h" |
#include <tcl.h> |
38 |
#include "utilities/ascConfig.h" |
#include <utilities/ascConfig.h> |
39 |
#include "utilities/ascMalloc.h" |
#include <utilities/ascMalloc.h> |
40 |
#include "utilities/ascEnvVar.h" |
#include <utilities/ascEnvVar.h> |
41 |
#include "interface/HelpProc.h" |
#include "HelpProc.h" |
42 |
#include "interface/EnvVarProc.h" |
#include "EnvVarProc.h" |
43 |
|
|
44 |
#ifndef lint |
#ifndef lint |
45 |
CONST char *EnvVarProcID = "$Id: EnvVarProc.c,v 1.7 2003/08/23 18:43:06 ballan Exp $"; |
CONST char *EnvVarProcID = "$Id: EnvVarProc.c,v 1.7 2003/08/23 18:43:06 ballan Exp $"; |
157 |
ascfree(envargv); |
ascfree(envargv); |
158 |
break; |
break; |
159 |
case 'n': |
case 'n': |
160 |
/* names |
/* names |
161 |
*/ |
*/ |
162 |
if (argc != 2) { |
if (argc != 2) { |
163 |
Tcl_AppendResult(interp,"wrong number of args : ", |
Tcl_AppendResult(interp,"wrong number of args : ", |
192 |
} |
} |
193 |
break; |
break; |
194 |
case 's': |
case 's': |
195 |
/* set var path |
/* set var path |
196 |
*/ |
*/ |
197 |
if (argc != 4) { |
if (argc != 4) { |
198 |
Tcl_AppendResult(interp,"wrong number of args : ", |
Tcl_AppendResult(interp,"wrong number of args : ", |