summaryrefslogtreecommitdiffstats
path: root/Modules/fpectlmodule.c
Commit message (Collapse)AuthorAgeFilesLines
* Got rid of a few more NeXT ifdefs. The last, I think.Jack Jansen2002-02-011-6/+0
|
* Patch #477750: Use METH_ constants in Modules.Martin v. Löwis2002-01-171-2/+2
|
* Define sunmath prototypes if sunmath.h was not included.Martin v. Löwis2001-03-071-0/+6
|
* Patch #103012: Update fpectlmodule for current glibc;Andrew M. Kuchling2001-01-041-0/+7
| | | | | The _setfpucw() function/macro doesn't seem to exist any more; instead there's an _FPU_SETCW macro.
* Use PyOS_setsig() instead of signal(). Also remove redundant spacesGuido van Rossum2000-09-211-15/+15
| | | | from the FreeBSD code.
* Randall Hopper: Add fpectl functionality patch for FreeBSD.Guido van Rossum2000-09-191-0/+15
|
* Removed all instances of RETSIGTYPE from the source code: signalTim Peters2000-07-231-1/+1
| | | | | | | handlers "return void", according to ANSI C. Removed the new Py_RETURN_FROM_SIGNAL_HANDLER macro. Left RETSIGTYPE in the config stuff, because it's not clear to me that others aren't relying on it (e.g., extension modules).
* Avoid triggering Alpha OSF/1 specific code on Alpha NT or Linux.Guido van Rossum1999-04-191-1/+1
|
* Needed to add DL_EXPORT to (redundant?) extern decl of module init function.Guido van Rossum1998-12-101-1/+1
|
* Add DL_EXPORT() to all modules that could possibly be usedGuido van Rossum1998-12-041-1/+1
| | | | on BeOS or Windows.
* Patch by Oliver Andrich for Lunix using glibc.Guido van Rossum1997-12-151-0/+4
|
* Some patches to Lee Busby's fpectl mods that accidentally didn't make itGuido van Rossum1997-10-201-3/+2
| | | | into 1.5a4.
* Apply two changes, systematically:Guido van Rossum1997-10-011-9/+3
| | | | | | | | | | | | | | | | | (1) Use PyErr_NewException("module.class", NULL, NULL) to create the exception object. (2) Remove all calls to Py_FatalError(); instead, return or ignore the errors -- the import code now checks PyErr_Occurred() after calling a module's init function, so it's no longer a fatal error for the initialization to fail. Also did some small cleanups, e.g. removed unnecessary test for "already initialized" from initfpectl(), and unified initposix()/initnt(). I haven't checked this very thoroughly, so while the changes are pretty trivial -- beware of untested code!
* Keep gcc -Wall happy.Guido van Rossum1997-04-291-2/+2
|
* Include setjmp.h so it compiles if WANT_SIGFPE_HANDLER is undefined.Guido van Rossum1997-03-141-0/+1
|
* Changes for Lee Busby's SIGFPE patch set.Guido van Rossum1997-02-141-0/+244
Two new modules fpectl and fpetest. Surround various and sundry f.p. operations with PyFPE_*_PROTECT macros.