summaryrefslogtreecommitdiffstats
path: root/Modules/syslogmodule.c
Commit message (Collapse)AuthorAgeFilesLines
* Check return result from Py_InitModule*(). This API can fail.Neal Norwitz2006-01-191-0/+2
| | | | Probably should be backported.
* SF bug #1086555: refcount problem in syslogRaymond Hettinger2004-12-161-3/+4
|
* Excise DL_EXPORT/DL_IMPORT from Modules/*. Required adding a prototypeMark Hammond2002-08-021-1/+1
| | | | | | for Py_Main(). Thanks to Kalle Svensson and Skip Montanaro for the patches.
* Use the PyModule_Add*() APIs instead of manipulating the module dictFred Drake2002-04-011-45/+32
| | | | directly.
* Do the absolute minimal amount of modifications to eradicateBarry Warsaw2000-09-011-4/+0
| | | | | | | | | | | | | | | Py_FatalError() from module initialization functions. The importing mechanism already checks for PyErr_Occurred() after module importation and it Does The Right Thing. Unfortunately, the following either were not compiled or tested by the regression suite, due to issues with my development platform: almodule.c cdmodule.c mpzmodule.c puremodule.c timingmodule.c
* Bunch of minor ANSIfications: 'void initfunc()' -> 'void initfunc(void)',Thomas Wouters2000-07-211-1/+1
| | | | | | | | | | | | | | | | | | and a couple of functions that were missed in the previous batches. Not terribly tested, but very carefully scrutinized, three times. All these were found by the little findkrc.py that I posted to python-dev, which means there might be more lurking. Cases such as this: long func(a, b) long a; long b; /* flagword */ { and other cases where the last ; in the argument list isn't followed by a newline and an opening curly bracket. Regexps to catch all are welcome, of course ;)
* Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in eitherThomas Wouters2000-07-161-1/+1
| | | | | | | | | | comments, docstrings or error messages. I fixed two minor things in test_winreg.py ("didn't" -> "Didn't" and "Didnt" -> "Didn't"). There is a minor style issue involved: Guido seems to have preferred English grammar (behaviour, honour) in a couple places. This patch changes that to American, which is the more prominent style in the source. I prefer English myself, so if English is preferred, I'd be happy to supply a patch myself ;)
* ANSI-ficationPeter Schneider-Kamp2000-07-101-22/+7
|
* Massive patch by Skip Montanaro to add ":name" to as manyGuido van Rossum2000-02-291-3/+3
| | | | PyArg_ParseTuple() format string arguments as possible.
* Add DL_EXPORT() to all modules that could possibly be usedGuido van Rossum1998-12-041-1/+1
| | | | on BeOS or Windows.
* Changes for BeOS, QNX and long long, by Chris Herborth.Guido van Rossum1998-08-041-0/+2
|
* Fix by Sean Reifschneider:Guido van Rossum1998-05-081-25/+38
| | | | | | | - When facility not specified to syslog() method, use default from openlog() (This is how it was claimed to work in the documentation) - Potential resource leak of o_ident, now cleaned up in closelog() - Minor comment accuracy fix.
* Add LOG_SYSLOG if defined.Guido van Rossum1998-01-191-0/+3
|
* (puremodule.c): New module which exports the Purify and Quantify C APIBarry Warsaw1997-01-171-4/+7
| | | | | | | | | | | to Python. Minimal documentation is included in comments at the top of the file, and in the Misc/PURIFY.README file. Note that this module must be statically linked since Pure doesn't provide shared stubs libraries. (Setup.in): Added commented template for pure module (syslogmodule.c): ins() function wasn't declared static.
* Formatting changes, plus memory management in initsyslog()Barry Warsaw1997-01-091-90/+102
|
* Keep gcc -Wall happy.Guido van Rossum1996-12-051-1/+1
|
* Some NeXT changes (default certain symbols to others)Guido van Rossum1996-07-301-0/+12
|
* changes by Steve CliftGuido van Rossum1995-10-111-80/+92
|
* cosmetic changes so these modules will work with the strict new naming schemeGuido van Rossum1995-01-101-4/+1
|
* Lance has converted his modules to the new naming conventions, andGuido van Rossum1994-08-301-114/+115
| | | | | contributed a curses interface. Setup.in uses .c instead of .o now.
* Added some names to Setup.in, and added syslogmodule.c.Guido van Rossum1994-07-141-0/+199
posixmodule.c: use pclose, not fclose! selectmodule.c: trap negative fileno's, change some error messages. stropmodule.c: change semantics of rindex to match string.py.