65 const char *rxTraceBuf = getenv(
"RXTRACE");
66 if (rxTraceBuf != NULL)
129 const char *sysPath = getenv(
"PATH");
130 const char *rexxPath = getenv(
"REXX_PATH");
131 size_t sysPathSize = sysPath == NULL ? 0 : strlen(sysPath);
132 size_t rexxPathSize = rexxPath == NULL ? 0 : strlen(rexxPath);
133 size_t parentSize = parentDir == NULL ? 0 : strlen(parentDir);
134 size_t extensionSize = extensionPath == NULL ? 0 : strlen(extensionPath);
140 if (parentDir != NULL)
142 strcpy(
path, parentDir);
149 if (extensionPath != NULL)
151 strcat(
path, extensionPath);
159 if (rexxPath != NULL)
161 strcat(
path, rexxPath);
171 strcat(
path, sysPath);
RexxString * new_string(const char *s, stringsize_t l)
RexxList * searchExtensions
void enableExternalTrace(const char *option)
RexxObject * append(RexxObject *)
RexxObject * hasItem(RexxObject *)
InterpreterInstance * instance
void addSearchExtension(const char *name)
char * externalTraceOption
void initialize(InterpreterInstance *i, RexxOption *options)
void setupProgram(RexxActivation *activation)
bool externalTraceEnabled
SysSearchPath(const char *parent, const char *extension)
static void * allocateResultMemory(size_t)
static void releaseResultMemory(void *)