summaryrefslogtreecommitdiffstats
path: root/Modules/resource.c
Commit message (Collapse)AuthorAgeFilesLines
* Typo: RUSAGE_CHILDERN -> RUSAGE_CHILDREN.Guido van Rossum1997-12-091-1/+1
|
* Add #include "mytime.h", needed for SunOS 4.1 (Matthias Klose).Guido van Rossum1997-10-311-0/+1
|
* Apply two changes, systematically:Guido van Rossum1997-10-011-5/+1
| | | | | | | | | | | | | | | | | (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!
* Different strategy regarding whether to declare getrusage() andGuido van Rossum1997-08-171-11/+9
| | | | | | getpagesize() -- #ifdef doesn't work, Linux has conflicting decls in its headers. Choice: only declare the return type, not the argument prototype, and not on Linux.
* Added std copyright notice.Guido van Rossum1997-08-151-0/+31
|
* purported linux portability patch (Oliver Andrich)Guido van Rossum1997-08-051-0/+4
|
* Quieted gcc -Wall by removing unused local variables.Barry Warsaw1997-01-141-2/+0
|
* Added Jeremy's resource module.Guido van Rossum1996-12-181-0/+240