File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,27 +24,38 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
2424
2525/* Configurable Python configuration file */
2626
27- char version[] = "0.9.3 beta (2)";
27+ #define VERSION "0.9.4 beta"
28+
29+ #ifdef __DATE__
30+ #define DATE __DATE__
31+ #else
32+ #define DATE "Dec 16 1991"
33+ #endif
2834
2935#include <stdio.h>
3036
3137#ifdef USE_STDWIN
3238#include <stdwin.h>
3339#endif
3440
41+ char version[80];
42+
3543/*ARGSUSED*/
3644void
3745initargs(p_argc, p_argv)
3846 int *p_argc;
3947 char ***p_argv;
4048{
49+ sprintf(version, "%s (%s)", VERSION, DATE);
50+
4151#ifdef USE_STDWIN
4252 wargs(p_argc, p_argv);
4353#endif
4454 if (*p_argc < 2 && isatty(0) && isatty(1))
4555 {
4656 printf("Python %s.\n", version);
47- printf("Copyright 1990, 1991 Stichting Mathematisch Centrum, Amsterdam\n");
57+ printf(
58+ "Copyright 1990, 1991, 1992 Stichting Mathematisch Centrum, Amsterdam\n");
4859 }
4960}
5061
You can’t perform that action at this time.
0 commit comments