summaryrefslogtreecommitdiffstats
path: root/Modules/syslogmodule.c
Commit message (Collapse)AuthorAgeFilesLines
* Untabify C files. Will watch buildbots.Antoine Pitrou2010-05-091-189/+189
|
* Fixing obscure syslog corner-case when sys.argv = None, syslog() would callSean Reifscheider2010-04-251-5/+10
| | | | openlog() for every logged message.
* Small comment documentation change to clarify "ident" selection.Sean Reifscheider2010-04-231-1/+2
|
* issue8451: Making syslog module use sys.argv[0] for "ident".Sean Reifscheider2010-04-231-11/+86
|
* This reverts r63675 based on the discussion in this thread:Gregory P. Smith2008-06-091-1/+1
| | | | | | | http://mail.python.org/pipermail/python-dev/2008-June/079988.html Python 2.6 should stick with PyString_* in its codebase. The PyBytes_* names in the spirit of 3.0 are available via a #define only. See the email thread.
* Renamed PyString to PyBytesChristian Heimes2008-05-261-1/+1
|
* Patch #1957: syslogmodule: Release GIL when calling syslog(3)Christian Heimes2008-02-231-0/+2
|
* Make use of METH_O and METH_NOARGS where possible.Georg Brandl2006-05-291-4/+2
| | | | Use Py_UnpackTuple instead of PyArg_ParseTuple where possible.
* 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.