Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Updated to standard Python C coding style, and fixed a few error | Barry Warsaw | 1996-12-17 | 1 | -110/+116 |
| | | | | checking nits. | ||||
* | initsignal(): Added SIGXCPU and SIGXFSZ. Left in the definitions for | Barry Warsaw | 1996-12-16 | 1 | -0/+8 |
| | | | | | | | SIGCPU and SIGFSZ but we're (Jeremy and I) are actually unsure whether these were typos or if there are systems that use these alternate names. We've checked Solaris, SunOS, and IRIX; they contain only the SIGX* names. | ||||
* | list2set(): correct return value (an int, not a PyObject*). | Barry Warsaw | 1996-12-16 | 1 | -1/+1 |
| | |||||
* | Removed a #inlclude <errno.h> since it's implied with "Python.h" | Roger E. Masse | 1996-12-13 | 1 | -2/+0 |
| | |||||
* | list2set(): PyList_GetItem could fail. | Barry Warsaw | 1996-12-13 | 1 | -1/+3 |
| | |||||
* | Renamed. | Roger E. Masse | 1996-12-13 | 1 | -73/+75 |
| | |||||
* | Get rid of it -- use bsddb! | Guido van Rossum | 1996-12-13 | 1 | -387/+0 |
| | |||||
* | Opps, fixed a couple of newly introduced wrapping problems. | Roger E. Masse | 1996-12-13 | 1 | -3/+4 |
| | |||||
* | Reindented via GvR recomendation ala Bwarsaw cppy-style.el | Roger E. Masse | 1996-12-13 | 1 | -69/+69 |
| | |||||
* | Added the example "thin ice" from the extensions manual. | Guido van Rossum | 1996-12-13 | 1 | -0/+24 |
| | |||||
* | Renamed, and scrutinized for missed potential error conditions. | Barry Warsaw | 1996-12-13 | 1 | -341/+411 |
| | | | | Alas, I don't have an Indigo, so I could not even compile this. | ||||
* | Renamed, however there is no test case. I did test some of the module | Barry Warsaw | 1996-12-13 | 1 | -194/+200 |
| | | | | | out manually, and it does compile, but I'm not sure how to write a useful portable test case. Maybe later... | ||||
* | Renamed. | Barry Warsaw | 1996-12-12 | 1 | -82/+88 |
| | |||||
* | Renamed, but *not* tested or compiled. I don't even have the STDWIN | Barry Warsaw | 1996-12-12 | 1 | -786/+791 |
| | | | | library. | ||||
* | Reworked to eliminate all potential memory problems, including | Barry Warsaw | 1996-12-12 | 1 | -74/+111 |
| | | | | deletion of object from list argument during callout to fileno(). | ||||
* | Several changes... Guido *please* take a look! | Barry Warsaw | 1996-12-12 | 1 | -163/+201 |
| | | | | | | | | | | | | | | | | | | 1. Renamed 2. Several coding styles were being used here, owing to the multiple contributors. I tried to convert everything to standard "python" coding style for indentation, paren and brace placement, etc. 3. There were several potential error conditions that were never being checked, and where I saw them, I added checks of return values, etc. I'm pretty sure I got them all. 4. There were some old-style (pre PyArg_ParseTuple) argument extraction and these were converted to use PyArg_ParseTuple. All changes compile and run with the new test_select.py module, at least on my Solaris/Sparc box. | ||||
* | Grandly renamed. | Barry Warsaw | 1996-12-11 | 1 | -50/+52 |
| | | | | | Note that since I have no idea how to test this, I didn't write a test case. It does seem to at least compile on my system though. | ||||
* | Renamed. | Barry Warsaw | 1996-12-11 | 1 | -23/+29 |
| | |||||
* | cat and puste errors | Barry Warsaw | 1996-12-11 | 1 | -2/+5 |
| | |||||
* | nis_maplist(): Use check of yp_get_default_domain() return value | Barry Warsaw | 1996-12-11 | 1 | -1/+5 |
| | | | | | | that's used in other parts of this module. nis_maps(): use PyArg_NoArgs(). | ||||
* | Renamed, and bug fixed: | Barry Warsaw | 1996-12-11 | 1 | -111/+123 |
| | | | | | | | | | | | | | | | | | | | Two interesting problems in nis_maplist(). First, it is possible that clnt_create() will return NULL. This was being caught, but no Python error was being set. I use clnt_spcreateerror() to generate the value of the exception. But why would clnt_create() fail? It's because no server was being found. And why was this? It was because nis_maplist() tried only to get the NIS master for the first map in the aliases list, which is passwd.byname, and guess what? That's the one NIS map CNRI does *not* export! So the yp_master() call was failing to return a valid server. I now cycle through all the map aliases until I find a valid master. If not, a different exception is set. I'm not sure this is the completely correct way to do all this, but short of rewriting the entire nismodule.c (to expose the proper API to Python), it should do the trick. | ||||
* | Renamed. | Barry Warsaw | 1996-12-10 | 1 | -504/+503 |
| | | | | | Note that there is no test suite for this module, and I don't plan to write one just now. | ||||
* | Renamed. | Barry Warsaw | 1996-12-10 | 1 | -81/+84 |
| | |||||
* | Added remaining declarations needed/used in glmodule.c; keeps gcc -Wall happy. | Guido van Rossum | 1996-12-10 | 1 | -5/+28 |
| | |||||
* | Fix operator priority bug found thanks to gcc -Wall. | Guido van Rossum | 1996-12-10 | 1 | -1/+1 |
| | |||||
* | Make gcc -Wall happy; remove dummy variable (can't see where it's needed). | Guido van Rossum | 1996-12-10 | 1 | -2/+8 |
| | |||||
* | Added extern decl for gethostname() to keep gcc -Wall happy. | Guido van Rossum | 1996-12-10 | 1 | -0/+4 |
| | |||||
* | Great renaming. | Guido van Rossum | 1996-12-10 | 1 | -23/+17 |
| | | | | Also got rid of the dummy variable, which was last needed in IRIX 4.x. | ||||
* | Removed redundant inclusion of <errno.h> (sorry, Roj!). | Guido van Rossum | 1996-12-10 | 1 | -2/+0 |
| | |||||
* | renamed in a grand fashion. | Roger E. Masse | 1996-12-10 | 1 | -74/+76 |
| | |||||
* | Renamed a few symbols that were found in comments. | Barry Warsaw | 1996-12-09 | 1 | -6/+6 |
| | |||||
* | Renamed, ungrandly. We don't have the GNU MP library here so we can't | Barry Warsaw | 1996-12-09 | 1 | -278/+291 |
| | | | | | | really test this module, or even compile it without a lot of work. I'll make a note of it that this has not been tested! | ||||
* | renamed grandly. | Roger E. Masse | 1996-12-09 | 1 | -7/+7 |
| | |||||
* | Renamed Grandly | Roger E. Masse | 1996-12-09 | 1 | -19/+19 |
| | |||||
* | Renamed | Barry Warsaw | 1996-12-09 | 2 | -90/+87 |
| | |||||
* | Removed some unneeded header files and reedited with a fixed-width font | Roger E. Masse | 1996-12-09 | 1 | -14/+19 |
| | | | | from emacs as per recomendation from GvR | ||||
* | Renamed Grandly (I think). | Roger E. Masse | 1996-12-09 | 1 | -265/+270 |
| | |||||
* | Changes to keep gcc -Wall happy. | Guido van Rossum | 1996-12-09 | 1 | -3/+13 |
| | |||||
* | Added `void' to declaration of initgl(), to keep gcc -Wall happy. | Guido van Rossum | 1996-12-09 | 1 | -0/+1 |
| | |||||
* | Added a bunch of extern void decls, to keep gcc -Wall happy. | Guido van Rossum | 1996-12-09 | 1 | -0/+7 |
| | |||||
* | Include <sys/ioctl.h>, to keep gcc -Wall happy. | Guido van Rossum | 1996-12-09 | 1 | -0/+1 |
| | |||||
* | Make dummy int public (with _Py_ prefix), to keep gcc -Wall happy. | Guido van Rossum | 1996-12-09 | 1 | -1/+2 |
| | |||||
* | Add ``extern void bzero();'' for SGI, to keep gcc -Wall happy. | Guido van Rossum | 1996-12-09 | 1 | -0/+5 |
| | |||||
* | Include unistd.h to keep gcc -Wall happy. | Guido van Rossum | 1996-12-09 | 1 | -0/+3 |
| | |||||
* | Added ``extern int get_default_domain();'' for SGI, to keep gcc -Wall happy. | Guido van Rossum | 1996-12-09 | 1 | -0/+5 |
| | |||||
* | Added #ifdef around ``extern int ftime();'' for MS WINDOWS (which has | Guido van Rossum | 1996-12-09 | 1 | -2/+4 |
| | | | | | a conflicting definition somewhere). Resolved line wrap for error message in ins(). | ||||
* | Greatly renamed. | Barry Warsaw | 1996-12-09 | 1 | -178/+181 |
| | |||||
* | ins(): missed a renaming in a string: dictinsert => | Barry Warsaw | 1996-12-09 | 1 | -1/+1 |
| | | | | | | PyDict_SetItemString. GvR: note the long line > 80 chars. Wrapping suggestions? | ||||
* | Greatly renamed. | Barry Warsaw | 1996-12-06 | 1 | -86/+88 |
| | |||||
* | Add extern decl of ftime() to make gcc -Wall happy. | Guido van Rossum | 1996-12-06 | 1 | -0/+1 |
| |