From a73a964e51247ed169d322c725a3a18859f109a3 Mon Sep 17 00:00:00 2001 From: Ori Bernstein Date: Mon, 14 Jun 2021 00:00:37 +0000 Subject: python, hg: tow outside the environment. they've served us well, and can ride off into the sunset. --- sys/src/cmd/python/Modules/python.c | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 sys/src/cmd/python/Modules/python.c (limited to 'sys/src/cmd/python/Modules/python.c') diff --git a/sys/src/cmd/python/Modules/python.c b/sys/src/cmd/python/Modules/python.c deleted file mode 100644 index 2739b8b11..000000000 --- a/sys/src/cmd/python/Modules/python.c +++ /dev/null @@ -1,24 +0,0 @@ -/* Minimal main program -- everything is loaded from the library */ - -#include "Python.h" - -#ifdef __FreeBSD__ -#include -#endif - -int -main(int argc, char **argv) -{ - /* 754 requires that FP exceptions run in "no stop" mode by default, - * and until C vendors implement C99's ways to control FP exceptions, - * Python requires non-stop mode. Alas, some platforms enable FP - * exceptions by default. Here we disable them. - */ -#ifdef __FreeBSD__ - fp_except_t m; - - m = fpgetmask(); - fpsetmask(m & ~FP_X_OFL); -#endif - return Py_Main(argc, argv); -} -- cgit v1.2.3