summaryrefslogtreecommitdiffstats
path: root/Modules/posixmodule.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix SF bug #1072182, problems with signed characters.Neal Norwitz2005-12-191-1/+1
| | | | Most of these can be backported.
* Bug #869197: setgroups rejects long integer argumentGeorg Brandl2005-11-221-6/+31
|
* Commit memory leaking fix.Georg Brandl2005-09-251-2/+6
|
* Remove unnecessary/extra parens when returning a value.Neal Norwitz2005-09-191-6/+6
|
* Forward port fixes for problems reported by valgrindNeal Norwitz2005-09-191-1/+2
|
* bug [ 1007046 ] os.startfile() doesn't accept Unicode filenamesGeorg Brandl2005-09-141-1/+2
|
* Correct definition of ST_GEN_IDX.Martin v. Löwis2005-08-141-2/+2
|
* Patch #1180695: Implement nanosecond stat resolution on FreeBSD,Martin v. Löwis2005-08-091-0/+47
| | | | add st_gen, st_birthtime.
* Fix bugMichael W. Hudson2005-07-051-0/+2
| | | | | | | | | | | [ 1232517 ] OverflowError in time.utime() causes strange traceback A needed error check was missing. (Actually, this error check may only have become necessary in fairly recent Python, not sure). Backport candidate.
* Patch #1212117: Add optional attribute st_flags to os.stat_resultHye-Shik Chang2005-06-021-2/+15
| | | | | when the member is available on the platform. (Contributed by Diego Petteno)
* Add O_SHLOCK & O_EXLOCK. Closes patch #1103951.Skip Montanaro2005-05-161-0/+6
|
* Convert file names of posix.access according to the file system encoding.Martin v. Löwis2005-03-081-1/+2
|
* FixMichael W. Hudson2005-01-311-0/+4
| | | | | | | [ 1077106 ] Negative numbers to os.read() cause segfault Sorry for sitting on this for so long! Is there a chance it could make 2.3.5?
* Default stat_float_times to true.Martin v. Löwis2005-01-161-1/+1
|
* fix unterminated commentAndrew MacIntyre2004-12-181-1/+1
|
* OS/2 specific fixes related to SF bug # 1003471.Andrew MacIntyre2004-12-121-68/+67
| | | | | Also revise a related function to minimise file handle/pipe leakage and improve reliability.
* Patch 977343, Solaris likes sys/loadavg.h. Added support for sys/loadavg.hAnthony Baxter2004-10-131-0/+4
| | | | detection to configure &c.
* Patch #975056 - fixes for restartable signals on *BSD. In addition,Anthony Baxter2004-10-131-4/+4
| | | | a few remaining calls to signal() were converted to PyOS_setsig().
* Patch #1009075, bug #952953: allow execve with empty 2nd argumentArmin Rigo2004-09-271-12/+0
|
* win32_urandom(): There's no need to copy the generated byte string, soTim Peters2004-08-301-17/+11
| | | | don't.
* win32_urandom(): pass the function name to PyArg_ParseTuple, for betterTim Peters2004-08-301-1/+1
| | | | error msgs.
* win32_urandom(): Raise ValueError if the argument is negative.Tim Peters2004-08-301-0/+3
|
* win32_urandom(): Rewrite to Python C standards (hard tabs, function nameTim Peters2004-08-301-52/+59
| | | | in first column, no parens around return value).
* Patch #934711: Expose platform-specific entropy.Martin v. Löwis2004-08-291-1/+72
|
* Return unicode strings from _getfullpathname even on W9X. Fixes #924703 .Martin v. Löwis2004-06-151-0/+4
|
* Ensure path is initialized to prevent freeing random memoryNeal Norwitz2004-06-091-4/+2
| | | | | (reported by Thomas Heller). If have_unicode_filename is set, path looks like it will not be used, so there's no need to free it.
* Plug a few memory leaks in utime(). path is allocated from withinNeal Norwitz2004-06-061-4/+12
| | | | | | | PyArg_ParseTuple() since the format is "et" This change should be reviewed carefully. Bugfix candidate.
* Patch #954115: Fix os.stat handling of UNC roots.Martin v. Löwis2004-06-021-18/+94
| | | | Will backport to 2.3.
* Fix [ 947405 ] os.utime() raises bad exception for unicode filenamesMark Hammond2004-05-041-1/+6
|
* OS/2 has support for spawnvp() and spawnvpe() in the C libraries suppliedAndrew MacIntyre2004-04-041-0/+229
| | | | | | | with major C compilers (VACPP, EMX+gcc and [Open]Watcom). Also tidy up the export of spawn*() symbols in the os module to match what is found/implemented.
* OS/2 VACPP build updates/fixesAndrew MacIntyre2004-03-291-1/+1
|
* Fix docstrings to mention the correct functionNeal Norwitz2004-02-161-2/+2
|
* remove support for missing ANSI C header files (limits.h, stddef.h, etc).Skip Montanaro2004-02-101-2/+0
|
* Remove support for SunOS 4.Skip Montanaro2004-01-171-19/+0
| | | | Remove BAD_EXEC_PROTOYPE (leftover from IRIX 4 demolition).
* Make parameter names in docstring more mnemonicAndrew M. Kuchling2004-01-161-1/+1
|
* FIx unicodefilename support of posix.uname(). This fixes test_unicode_fileHye-Shik Chang2004-01-041-1/+2
| | | | failure on FreeBSD.
* Fix [ 846133 ] os.chmod/os.utime/shutil do not work with unicode filenamesMark Hammond2003-12-031-3/+50
|
* Patch #839038: Add getsid(2).Martin v. Löwis2003-11-101-0/+22
|
* Patch #788404: ignore "b" and "t" mode modifiers in posix_popen.Martin v. Löwis2003-10-311-0/+5
| | | | Fixes #703198. Backported to 2.3.
* Fix a bunch of typos in documentation, docstrings and comments.Walter Dörwald2003-10-201-1/+1
| | | | (From SF patch #810751)
* Simplify and speedup uses of Py_BuildValue():Raymond Hettinger2003-10-121-4/+4
| | | | | | * Py_BuildValue("(OOO)",a,b,c) --> PyTuple_Pack(3,a,b,c) * Py_BuildValue("()",a) --> PyTuple_New(0) * Py_BuildValue("O", a) --> Py_INCREF(a)
* Patch #730597: Disable POPEN for RTEMS.Martin v. Löwis2003-09-201-0/+2
|
* Patch #790000: Allow os.access to handle Unicode file name.Martin v. Löwis2003-09-121-0/+16
|
* SF patch #798534: Windows os.popen needlessly gets a reference to tuple ()Raymond Hettinger2003-09-011-3/+1
| | | | | | (Contributed by Andrew Gaul.) Fixes a minor leak.
* Demonstrate and fix [ 783882 ] os.lstat crashes with Unicode filename.Mark Hammond2003-08-061-1/+1
| | | | Will also check in on the 2.3 branch.
* Clarify docstring for symlink.Brett Cannon2003-06-111-1/+1
|
* Patch #708495: Port more stuff to OpenVMS.Martin v. Löwis2003-05-031-82/+2
|
* Enable os.fsync() for Windows, mapping it to MS's _commit() there. TheTim Peters2003-04-231-16/+18
| | | | | | docs here are best-guess: the MS docs I could find weren't clear, and some even claimed _commit() has no effect on Win32 systems (which is easily shown to be false just by trying it).
* apply Mark Hammond's PEP 311 changes to the EMX ripoff of the WindowsAndrew MacIntyre2003-04-211-51/+6
| | | | popen[234]() code
* - DosSetExtLIBPATH objects to a NULL pointer, but a pointer to a NULLAndrew MacIntyre2003-04-211-7/+1
| | | | | | | string does what is expected (ie unset [BEGIN|END]LIBPATH) - set the size of the DosQuerySysInfo buffer correctly; it was safe, but incorrect (allowing a 1 element overrun)