Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | The symbols P_* (for spawn*(), MS specific) should not have a leading | Guido van Rossum | 1999-02-16 | 1 | -5/+5 |
| | | | | underscore after all, for consistency with the O_* symnbols. | ||||
* | Fixed totally bogus conversion factors used in the Win32 version of | Guido van Rossum | 1999-02-16 | 1 | -3/+10 |
| | | | | os.times(). | ||||
* | Got rid of the file-global PosixError. This was redundant since it | Barry Warsaw | 1999-02-09 | 1 | -8/+4 |
| | | | | | | was just an alias for PyExc_OSError and the way we were doing it was causing a (small) memory leak anyway. Just use PyExc_OSError everywhere. | ||||
* | Portability fix for [f]statvfs() return tuple: no longer return the | Guido van Rossum | 1999-02-03 | 1 | -12/+8 |
| | | | | | | f_fsid field, since it's not a scalar on all systems supporting this call (in particular, it's a tuple of two longs on AIX). Since it's not particularly useful, just nuke it. Adapted the doc strings too. | ||||
* | Added documentation to the docstrings for the W*() functions that take | Fred Drake | 1999-02-02 | 1 | -6/+8 |
| | | | | a process exit status as a parameter. | ||||
* | Add _P_WAIT etc. for NT. | Guido van Rossum | 1999-02-01 | 1 | -0/+12 |
| | |||||
* | spawnv, spawnve docstrings: added mode parameter; this is required! | Fred Drake | 1999-02-01 | 1 | -2/+4 |
| | |||||
* | Oops, the patch for NeXT always replaced waitpid() with wait4() -- | Guido van Rossum | 1999-02-01 | 1 | -0/+4 |
| | | | | this doesn't exist everywhere, so go back to using #ifdef NeXT. | ||||
* | Patches by William Lewis for Nextstep descendants. | Guido van Rossum | 1999-01-27 | 1 | -25/+94 |
| | |||||
* | Add spawnv and spawnve functions for Win32 platforms. | Guido van Rossum | 1999-01-25 | 1 | -0/+178 |
| | |||||
* | Only do ttyname() when HAVE_TTYNAME is defined. | Guido van Rossum | 1999-01-25 | 1 | -0/+18 |
| | | | | Also define F_OK etc. when not already defined, when doing access(). | ||||
* | Need extern decl. for fdatasync() in case it exists but isn't declared | Guido van Rossum | 1999-01-08 | 1 | -2/+2 |
| | | | | | anywhere (or, more likely, the declaration requires a magical combination of _POSIX defines). | ||||
* | Added fsync() and fdatasync(). Patches by Scott Cotton. Requires | Guido van Rossum | 1999-01-08 | 1 | -0/+57 |
| | | | | HAVE_* macros set by configure script. | ||||
* | Change the access() code to return 1 if granted, 0 if not granted. | Guido van Rossum | 1999-01-06 | 1 | -4/+11 |
| | | | | Patch (again) by Sean Reifschneider. | ||||
* | Changes for long file support by Steve Clift. | Guido van Rossum | 1999-01-06 | 1 | -14/+231 |
| | | | | Also added access() and ttyname() by Sean Reifschneider. | ||||
* | Add DL_EXPORT() to all modules that could possibly be used | Guido van Rossum | 1998-12-04 | 1 | -1/+1 |
| | | | | on BeOS or Windows. | ||||
* | Use the t# format where appropriate. Greg Stein. | Guido van Rossum | 1998-10-08 | 1 | -3/+3 |
| | |||||
* | Removed some OS/2 #defines (now in the OS/2 specific config.h). | Guido van Rossum | 1998-09-28 | 1 | -15/+0 |
| | | | | Patch by Jeff Rush. | ||||
* | In Win32 version of listdir(), when FindFirstFile() returns | Guido van Rossum | 1998-08-06 | 1 | -0/+2 |
| | | | | | ERROR_FILE_NOT_FOUND, return an empty list instead of raising an exception. | ||||
* | Changes for BeOS, QNX and long long, by Chris Herborth. | Guido van Rossum | 1998-08-04 | 1 | -0/+5 |
| | |||||
* | Patch by Jody Winston (with my changes) to add some of the "wait | Guido van Rossum | 1998-08-04 | 1 | -0/+151 |
| | | | | | status inspection" macros as functions: WEXITSTATUS(), WIFEXITED(), WIFSIGNALED(), WIFSTOPPED(), WSTOPSIG(), WTERMSIG(). | ||||
* | Several changes to support inclusion of filename in relevent | Barry Warsaw | 1998-07-23 | 1 | -13/+21 |
| | | | | | | | | | | | | | | | | | | | | | exceptions: posix_error_with_filename(): New function which calls PyErr_SetFromErrnoWithFilename() The following methods have been changed to call posix_error_with_filename(): posix_1str() posix_strint() posix_strintint() posix_do_stat() posix_mkdir() posix_utime() posix_readlink() posix_open() INITFUNC(): os.error (nee PosixError) is PyExc_OSError | ||||
* | On Windows, make the pipe() call return Unix file descriptors instead | Guido van Rossum | 1998-06-12 | 1 | -2/+5 |
| | | | | | of Windows file handles. Now it is at least compatible with itself on Unix! | ||||
* | Moved some #ifdefs around that got put in the wrong place by the | Guido van Rossum | 1997-12-29 | 1 | -16/+22 |
| | | | | latest OS/2 patch set. | ||||
* | Another large batch of patches from Jeff Rush for OS/2. | Guido van Rossum | 1997-12-05 | 1 | -15/+243 |
| | | | | I hope this time I've taken out all // comments and indended #ifdefs. | ||||
* | Patch for QNX, by Chris Herborth. Also left-aligned preprocessor | Guido van Rossum | 1997-12-02 | 1 | -58/+58 |
| | | | | directives and changed C++ comments to C comments. | ||||
* | os2 patch by Jeff Rush | Guido van Rossum | 1997-11-22 | 1 | -5/+252 |
| | |||||
* | This fix (across 4 files in 3 directories) solves a subtle problem with | Guido van Rossum | 1997-11-14 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | signal handlers in a fork()ed child process when Python is compiled with thread support. The bug was reported by Scott <scott@chronis.icgroup.com>. What happens is that after a fork(), the variables used by the signal module to determine whether this is the main thread or not are bogus, and it decides that no thread is the main thread, so no signals will be delivered. The solution is the addition of PyOS_AfterFork(), which fixes the signal module's variables. A dummy version of the function is present in the intrcheck.c source file which is linked when the signal module is not used. | ||||
* | Apply two changes, systematically: | Guido van Rossum | 1997-10-01 | 1 | -52/+16 |
| | | | | | | | | | | | | | | | | | (1) Use PyErr_NewException("module.class", NULL, NULL) to create the exception object. (2) Remove all calls to Py_FatalError(); instead, return or ignore the errors -- the import code now checks PyErr_Occurred() after calling a module's init function, so it's no longer a fatal error for the initialization to fail. Also did some small cleanups, e.g. removed unnecessary test for "already initialized" from initfpectl(), and unified initposix()/initnt(). I haven't checked this very thoroughly, so while the changes are pretty trivial -- beware of untested code! | ||||
* | Add strerror() interface. | Guido van Rossum | 1997-09-15 | 1 | -2/+30 |
| | |||||
* | Added /**/ around #end tags | Guido van Rossum | 1997-08-21 | 1 | -1/+1 |
| | |||||
* | Added a bunch of XXX comments about things I'd like to see changed... | Guido van Rossum | 1997-08-14 | 1 | -1/+8 |
| | |||||
* | Added O_BINARY and O_TEXT (for Windows). | Guido van Rossum | 1997-08-08 | 1 | -0/+6 |
| | |||||
* | Moved the definition of posix_times__doc__ to outside of #ifdef HAVE_TIMES | Roger E. Masse | 1997-06-05 | 1 | -3/+3 |
| | | | | so that MSVC 4.2 doesn't complain under NT. | ||||
* | Added doc strings (Neil Schemenauer). | Guido van Rossum | 1997-06-02 | 1 | -59/+364 |
| | |||||
* | Enable putenv and waitpid (== wait4) for NeXT. | Guido van Rossum | 1997-05-22 | 1 | -0/+87 |
| | |||||
* | Change the exception objects to have the string value "os.error" | Guido van Rossum | 1997-04-29 | 1 | -2/+2 |
| | | | | instead "posix.error" or "nt.error". | ||||
* | posix_execve(): Accept any mapping protocol object for the env | Barry Warsaw | 1997-01-29 | 1 | -7/+18 |
| | | | | argument, not hardwired to a dictionary. | ||||
* | 1. Export open(2) flag constants for every defined constant | Barry Warsaw | 1996-12-19 | 1 | -16/+88 |
| | | | | 2. Reworked error checking in initposix() and initnt(). | ||||
* | Minor formatting changes. | Barry Warsaw | 1996-12-19 | 1 | -31/+33 |
| | |||||
* | Renamed. | Barry Warsaw | 1996-12-10 | 1 | -504/+503 |
| | | | | | Note that there is no test suite for this module, and I don't plan to write one just now. | ||||
* | Keep gcc -Wall happy. | Guido van Rossum | 1996-12-05 | 1 | -3/+6 |
| | |||||
* | New permission notice, includes CNRI. | Guido van Rossum | 1996-10-25 | 1 | -13/+20 |
| | |||||
* | Use #ifdef MS_WIN32 instead of _MSC_VER > 850. | Guido van Rossum | 1996-09-07 | 1 | -1/+1 |
| | |||||
* | Added simple-minded (i.e. leaking :-) putenv() interface, if os has it. | Guido van Rossum | 1996-07-23 | 1 | -0/+27 |
| | |||||
* | Added plock() system call. | Guido van Rossum | 1996-06-28 | 1 | -1/+25 |
| | | | | Changed test for Windows times() emulation. | ||||
* | changed windows test symbols; removed debug printf from sockets | Guido van Rossum | 1996-06-26 | 1 | -16/+17 |
| | |||||
* | Clear waitpid() status arg in case there's no process to report with | Guido van Rossum | 1996-06-19 | 1 | -1/+1 |
| | | | | WNOHANG set. | ||||
* | Avoid core dump in resizestring() on read() with 0 bytes. | Guido van Rossum | 1996-06-11 | 1 | -4/+5 |
| | |||||
* | Changed NT -> MSC or WATCOM | Guido van Rossum | 1996-05-28 | 1 | -1/+1 |
| |