summaryrefslogtreecommitdiffstats
path: root/Modules/grpmodule.c
Commit message (Collapse)AuthorAgeFilesLines
* Issue #4873: Fix resource leaks in error cases of pwd and grp.Martin v. Löwis2009-05-291-1/+1
|
* This reverts r63675 based on the discussion in this thread:Gregory P. Smith2008-06-091-4/+4
| | | | | | | 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-4/+4
|
* Move over to use of METH_O and METH_NOARGS.Brett Cannon2006-05-251-12/+24
|
* Initialize structseq types only once.Martin v. Löwis2006-04-161-1/+4
|
* Check return result from Py_InitModule*(). This API can fail.Neal Norwitz2006-01-191-0/+2
| | | | Probably should be backported.
* - Changes donated by Elemental Security to make it work on AIX 5.3Guido van Rossum2005-09-141-2/+2
| | | | | with IBM's 64-bit compiler (SF patch #1284289). This also closes SF bug #105470: test_pwd fails on 64bit system (Opteron).
* grp_getgrgid(), grp_getgrnam(): Patch # 868499, improvement to the errorBarry Warsaw2004-01-201-2/+2
| | | | messages.
* Patch #708495: Port more stuff to OpenVMS.Martin v. Löwis2003-05-031-0/+5
|
* Deal with a NULL gr_passwd. Reported by Anders Qvist.Martin v. Löwis2002-09-171-1/+6
|
* 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.
* Patch #568124: Add doc string macros.Martin v. Löwis2002-06-131-4/+4
|
* Patch #523268, #522027: return enhanced tuples.Martin v. Löwis2002-03-011-8/+51
|
* Got rid of a few more NeXT ifdefs. The last, I think.Jack Jansen2002-02-011-6/+0
|
* Make sure we close the group and password databases when we are done withFred Drake2001-03-111-0/+1
| | | | them; this closes SF bug #407504.
* REMOVED all CWI, CNRI and BeOpen copyright markings.Guido van Rossum2000-09-011-9/+0
| | | | This should match the situation in the 1.6b1 tree.
* 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 ;)
* ANSI-fication of the sources, convert to 4-space indents.Fred Drake2000-07-081-70/+97
| | | | | Use PyArg_ParseTuple() to get better error messages. Add docstrings all around.
* Change copyright notice - 2nd try.Guido van Rossum2000-06-301-6/+0
|
* Change copyright notice.Guido van Rossum2000-06-301-21/+6
|
* Add DL_EXPORT() to all modules that could possibly be usedGuido van Rossum1998-12-041-1/+1
| | | | on BeOS or Windows.
* Nailed a couple of memory leaks, caught by Purify.Barry Warsaw1997-01-091-0/+2
|
* Eradicated all references to getintarg and getstrarg and substituded theRoger E. Masse1996-12-181-5/+2
| | | | proper functions as defined in rename2.h. Thanks Barry!
* Opps, left out two defines needed for argument parsing.Roger E. Masse1996-12-181-0/+3
|
* Renamed.Roger E. Masse1996-12-181-28/+27
|
* New permission notice, includes CNRI.Guido van Rossum1996-10-251-12/+19
|
* patches for NeXT weirdnessGuido van Rossum1995-02-071-0/+6
|
* Added 1995 to copyright message.Guido van Rossum1995-01-041-2/+2
| | | | | Setup.in: clarified Tk comments somewhat. structmodule.c: use memcpy() instead of double precision assignment.
* Split pwd in pwd and grp; added imgformat (by Jack)Guido van Rossum1994-06-231-0/+118