Patched Wrapper Inputs for TclPro 1.3

These files contain patched versions of the TclPro Wrapper
input files (i.e., the Tcl/Tk interpreters suitable for wrapping.)
They have been patched to work under the environment created
by Apache for CGI scripts.
 
If you are experiencing problems with wrapped CGI scripts,
these alternate input files should work for you.  They
replace the similarly named files in the TclPro1.3/<arch>/lib
directories.

The are generated from the demos/sampleApp configure/makefiles.
The patch is in proWrapTclMain.c (and proWrapTkMain.c) to
work around an incorrect return value from TclpFindExecutable.
This code was added right after the call to TclpFindExecutable:

    if (executableName == NULL) {
        /*
         * Apache  CGI environment foils FindExecutable, but it
         * also does a "chdir" to the directory containing
         * the program.
         */
        executableName = argv0;
    }

Note: at this time a similar fix for TclPro 1.2 is *not* available.
