summaryrefslogtreecommitdiffstats
path: root/Modules/posixmodule.c
Commit message (Collapse)AuthorAgeFilesLines
* all_ins(): EX_OK and friends, constants from sysexits.hBarry Warsaw2003-01-071-0/+57
|
* Expose I_ constants. Auto-detect stropts.h. Properly configure the slave ↵Martin v. Löwis2003-01-011-2/+2
| | | | terminal.
* Fix compilation errors on HPUX11Neal Norwitz2002-12-311-3/+3
|
* Restore signalhandler in case of error. Fix type of signal handler.Martin v. Löwis2002-12-311-3/+9
|
* Patch #656590: /dev/ptmx support for ptys.Martin v. Löwis2002-12-311-7/+39
|
* Patch #657889: Implement posix.getloadavg.Martin v. Löwis2002-12-271-0/+25
|
* execve(), spawnve(): add some extra sanity checking to env;Guido van Rossum2002-12-131-18/+50
| | | | | | | | | PyMapping_Check() doesn't guarantee that PyMapping_Size() won't raise an exception, nor that keys and values are lists. Also folded some long lines and did a little whitespace normalization. Probably a 2.2 backport candidate.
* Patch #614055: Support OpenVMS.Martin v. Löwis2002-12-061-2/+264
|
* Fix --disable-unicode compilation problems.Martin v. Löwis2002-11-211-0/+5
|
* Comment out the getcwdu implementation for --disable-unicode buildsWalter Dörwald2002-11-211-0/+4
|
* Enforce valid filemode. Fixes SF Bug #623464.Thomas Heller2002-11-071-0/+6
|
* Remove extra argument in mknod. Fixes #632628.Martin v. Löwis2002-11-021-1/+1
|
* Patch #623780: Replace obsolete struct macros.Martin v. Löwis2002-10-161-9/+9
|
* Add PyStructSequence_UnnamedField. Add stat_float_times.Martin v. Löwis2002-10-161-5/+75
| | | | Use integers in stat tuple, optionally floats in named fields.
* posix_execve(): add missing argument for "et" format in PyArg_Parse()Guido van Rossum2002-10-161-0/+1
| | | | | call. This caused mysterious crashes (hard to debug because it was happening in a child process).
* Fix a few docstrings, remove extra commasNeal Norwitz2002-10-111-3/+3
|
* Patch #569139: Implementation of major, minor and makedev.Martin v. Löwis2002-10-101-8/+59
|
* Apply file system default encoding to exec and spawn path and arguments.Martin v. Löwis2002-10-071-23/+68
|
* s/_alloca/alloca/g; Windows doesn't need the former, at least not unlessTim Peters2002-10-051-3/+3
| | | | __STDC__ is defined (or something like that ...).
* Trivial fix to the pep277 checkin: ensure that exceptions always have a ↵Mark Hammond2002-10-031-1/+1
| | | | filename attribute (previously did only when string filenames were passed, but not when unicode)
* Patch 594001: PEP 277 - Unicode file name support for Windows NT.Mark Hammond2002-10-031-19/+372
|
* Patch #608999: Fix portability problems with MIPSPro 7.xMartin v. Löwis2002-09-191-0/+6
|
* I think it makes more sense that the pseudo filename used by fdopen()Guido van Rossum2002-09-151-1/+1
| | | | be "<fdopen>" rather than "(fdopen)".
* extract_time(): Squash compiler warning about possibly information-Tim Peters2002-09-101-1/+1
| | | | losing implicit double->long cast.
* Add missing return statement.Martin v. Löwis2002-09-101-0/+1
|
* Use utimes(2) where available to support microsecond timestamps.Martin v. Löwis2002-09-101-5/+48
|
* Always generate floats for stat_result; fix configure test.Martin v. Löwis2002-09-091-9/+1
|
* Patch #606592: Subsecond timestamps in stat_result.Martin v. Löwis2002-09-091-10/+26
|
* SF bug 601775 - some int results that should be bool.Guido van Rossum2002-09-011-1/+1
|
* SF bug 595919: popenN return only text mode pipesTim Peters2002-08-191-2/+2
| | | | | popen2() and popen3() created text-mode pipes even when binary mode was asked for. This was specific to Windows.
* Excise DL_EXPORT/DL_IMPORT from Modules/*. Required adding a prototypeMark Hammond2002-08-021-2/+13
| | | | | | for Py_Main(). Thanks to Kalle Svensson and Skip Montanaro for the patches.
* - Get _environ through the NSEnviron call in a MacOSX framework. This allowsJack Jansen2002-08-011-2/+11
| | | | | | | | | us to completely decouple the framework from the executable, so we can use a two-level namespace. - Do framework builds with a twolevel namespace. - Reorganized the code that creates the minimal framework in the build directory, to make it more robust against incomplete frameworks (from earlier aborted builds, or builds of previous Python versions).
* Revert changes to use PyArg_Parse(), so any sequence will continue to work ↵Neal Norwitz2002-07-301-1/+1
| | | | -- Spotted by Just van Rossum
* Use PyArg_ParseTuple() instead of PyArg_Parse() which is deprecatedNeal Norwitz2002-07-301-1/+1
|
* Fix docstring to be consistent with parameter name (prefix)Neal Norwitz2002-07-301-1/+1
|
* SF patch #584245, get python to link on OSF1 (Dec Unix)Neal Norwitz2002-07-301-2/+2
|
* Patch #573770: Implement lchown.Martin v. Löwis2002-07-281-0/+30
|
* /F revealed that ShellExecute() only requires shellapi.h, not theTim Peters2002-07-151-1/+2
| | | | full-blown windows.h, so changed accordingly.
* Fix bug 231273 - [windows] os.popen doens't kill subprocess when interruptedMark Hammond2002-07-141-1/+1
| | | | Don't pass CREATE_NEW_CONSOLE to CreateProcess(), meaning our child process is in the same "console group" and therefore interrupted by the same Ctrl+C that interrupts the parent.
* WINDOWS_LEAN_AND_MEAN: There is no such symbol, although a very fewTim Peters2002-07-141-1/+1
| | | | | | | MSDN sample programs use it, apparently in error. The correct name is WIN32_LEAN_AND_MEAN. After switching to the correct name, in two cases more was needed because the code actually relied on things that disappear when WIN32_LEAN_AND_MEAN is defined.
* Patch #569753: Remove support for WIN16.Martin v. Löwis2002-06-301-91/+22
| | | | Rename all occurrences of MS_WIN32 to MS_WINDOWS.
* Clean up docstrings:Fred Drake2002-06-201-110/+105
| | | | | | | - Include a blank line between the signature line and the description (Guido sez). - Don't include "-> None" for API functions that always return None because they don't have a meaningful return value.
* Corect speling and add \n\ to line ends in new docstring for access().Guido van Rossum2002-06-181-5/+5
|
* Clarified documentation for os.access().Fred Drake2002-06-181-1/+5
| | | | | Patch contributed by Sean Reifschneider. Closes SF patch #570618.
* Use new PyDoc_STRVAR macroNeal Norwitz2002-06-131-2/+2
|
* Patch #568235: Add posix.setpgid.Martin v. Löwis2002-06-131-0/+22
|
* Patch #568124: Add doc string macros.Martin v. Löwis2002-06-131-222/+228
|
* SF bug 563750 (Alex Martelli): posix_tmpfile():Guido van Rossum2002-06-101-1/+1
| | | | | | | The file returned by tmpfile() has mode w+b, so use that in the call to PyFile_FromFile(). Bugfix candidate.
* Rename posix_WCONTINUED to posix_WIFCONTINUED, call WIFCONTINUED inside,Martin v. Löwis2002-05-041-2/+5
| | | | add it to the posix_methods.
* WCOREDUMP(), WIFCONTINUED(), WCONTINUED, WUNTRACED: New.Fred Drake2002-04-231-11/+75
| | | | | isatty(), WIFEXITED(), WIFSIGNALED(), WIFSTOPPED(): Changed to return bools instead of ints.