summaryrefslogtreecommitdiffstats
path: root/Modules/pwdmodule.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.
* - 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).
* pwd_getpwuid(), pwd_getpwnam(): Patch # 868499, improvement to the errorBarry Warsaw2004-01-201-2/+4
| | | | messages.
* - The pwd module incorrectly advertised its struct type asGuido van Rossum2003-10-231-0/+2
| | | | | struct_pwent; this has been renamed to struct_passwd. (The old name is still supported for backwards compatibility.)
* Patch #614055: Support OpenVMS.Martin v. Löwis2002-12-061-0/+8
|
* Deal with NULL fields in mkpwent.Martin v. Löwis2002-09-171-1/+12
|
* 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-14/+16
|
* Remove unused variable reported by Walter DörwaldNeal Norwitz2002-04-151-1/+1
|
* initpwd(): Clean up initialization, avoid PyModule_GetDict().Fred Drake2002-04-131-4/+4
|
* Remove METH_OLDARGS:Neal Norwitz2002-03-311-4/+4
| | | | | | | Convert METH_OLDARGS -> METH_VARARGS: also PyArg_Parse -> PyArg_ParseTuple Convert METH_OLDARGS -> METH_NOARGS: remove args parameter Please review. All tests pass, but some modules don't have tests. I spot checked various functions to try to make sure nothing broke.
* Add missing typecast.Neil Schemenauer2002-03-291-1/+2
|
* Remove many uses of PyArg_NoArgs macro, change METH_OLDARGS to METH_NOARGS.Neal Norwitz2002-03-251-4/+2
|
* OS/2 EMX port changes (Modules part of patch #450267):Andrew MacIntyre2002-03-031-0/+4
| | | | | | | | | | | | | | | Modules/ _hotshot.c dbmmodule.c fcntlmodule.c main.c pwdmodule.c readline.c selectmodule.c signalmodule.c termios.c timemodule.c unicodedata.c
* Patch #523268, #522027: return enhanced tuples.Martin v. Löwis2002-03-011-12/+59
|
* Got rid of a few more NeXT ifdefs. The last, I think.Jack Jansen2002-02-011-7/+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.
* Chris Herborth <chrish@pobox.com>:Fred Drake2000-08-151-12/+0
| | | | | | | | | Minor updates for BeOS R5. Use of OSError in test.test_fork1 changed to TestSkipped, with corresponding change in BeOS/README (by Fred). This closes SourceForge patch #100978.
* Use METH_OLDARGS instead of numeric constant 0 in method def. tablesAndrew M. Kuchling2000-08-031-3/+3
|
* 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-ficationPeter Schneider-Kamp2000-07-101-11/+4
|
* Change copyright notice - 2nd try.Guido van Rossum2000-06-301-6/+0
|
* Change copyright notice.Guido van Rossum2000-06-301-22/+7
|
* 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/+12
|
* Doc strings added by Mitch Chapman.Guido van Rossum1998-03-031-4/+32
|
* Added configuration tests for presence of alarm(), pause(), and getpwent()Guido van Rossum1997-08-221-0/+4
|
* Nailed a couple of memory leaks, caught by Purify.Barry Warsaw1997-01-091-0/+1
|
* Minor formatting changes.Barry Warsaw1996-12-191-10/+11
|
* Renamed.Barry Warsaw1996-12-111-23/+29
|
* New permission notice, includes CNRI.Guido van Rossum1996-10-251-12/+19
|
* patches for NeXT weirdnessGuido van Rossum1995-02-071-0/+7
|
* 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.
* Merge alpha100 branch back to main trunkGuido van Rossum1994-08-011-98/+2
|
* Makefile, import.c: Lance's alternative module search (allow .pyc fileGuido van Rossum1993-10-151-1/+0
| | | | | | | | | | without .py file); Bill's dynamic loading for SunOS using shared libraries. pwdmodule.c (mkgrent): remove DECREF of uninitialized variable. classobject.c (instance_getattr): Fix case when class lookup returns unbound method instead of function.
* * Changed many files to use mkvalue() instead of newtupleobject().Guido van Rossum1993-03-161-36/+17
| | | | | | | | | | * Fixcprt.py: added [-y file] option, do only files younger than file. * modsupport.[ch]: added vmkvalue(). * intobject.c: use mkvalue(). * stringobject.c: added "formatstring"; renamed string* to string_*; ceval.c: call formatstring for string % value. * longobject.c: close memory leak in divmod. * parsetok.c: set result node to NULL when returning an error.
* Copyright for 1992 addedGuido van Rossum1992-04-051-1/+1
|
* Use getargs() function.Guido van Rossum1992-01-271-4/+4
|
* Raise KeyError instead of RuntimeError when a uid or name (etc) is not found.Guido van Rossum1991-12-241-4/+4
|
* Initial revisionGuido van Rossum1991-04-101-0/+222