Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Patch #1492356: Port to Windows CE (patch set 1). | Martin v. Löwis | 2006-05-22 | 1 | -10/+10 |
| | |||||
* | Fix typo in os.utime docstring (patch #1490189) | Georg Brandl | 2006-05-17 | 1 | -1/+1 |
| | |||||
* | - Test for sys/statvfs.h before including it, as statvfs is present | Martin v. Löwis | 2006-05-16 | 1 | -5/+5 |
| | | | | | on some OSX installation, but its header file is not. Will backport to 2.4 | ||||
* | Fix memory leak. | Martin v. Löwis | 2006-05-15 | 1 | -0/+1 |
| | |||||
* | Fix alignment error on Itanium. | Martin v. Löwis | 2006-05-12 | 1 | -3/+6 |
| | |||||
* | Dynamically allocate path name buffer for Unicode | Martin v. Löwis | 2006-05-12 | 1 | -17/+28 |
| | | | | | | path name in listdir. Fixes #1431582. Stop overallocating MAX_PATH characters for ANSI path names. Stop assigning to errno. | ||||
* | Add missing PyMem_Free. | Martin v. Löwis | 2006-05-08 | 1 | -0/+1 |
| | |||||
* | Port access, chmod, parts of getcwdu, mkdir, and utime to direct Win32 API. | Martin v. Löwis | 2006-05-06 | 1 | -52/+193 |
| | |||||
* | Drop now-unnecessary arguments to posix_2str. | Martin v. Löwis | 2006-05-04 | 1 | -3/+3 |
| | |||||
* | Implement os.{chdir,rename,rmdir,remove} using Win32 directly. | Martin v. Löwis | 2006-05-04 | 1 | -93/+156 |
| | |||||
* | Define MAXPATHLEN to be at least PATH_MAX, if that's defined. Python uses | Thomas Wouters | 2006-04-25 | 1 | -0/+4 |
| | | | | | | | | | MAXPATHLEN-sized buffers for various output-buffers (like to realpath()), and that's correct on BSD platforms, but not Linux (which uses PATH_MAX, and does not define MAXPATHLEN.) Cursory googling suggests Linux is following a newer standard than BSD, but in cases like this, who knows. Using the greater of PATH_MAX and 1024 as a fallback for MAXPATHLEN seems to be the most portable solution. | ||||
* | Patch 1471925 - Weak linking support for OSX | Ronald Oussoren | 2006-04-23 | 1 | -0/+51 |
| | | | | | | This patch causes several symbols in the socket and posix module to be weakly linked on OSX and disables usage of ftime on OSX. These changes make it possible to use a binary build on OSX 10.4 on a 10.3 system. | ||||
* | Fix more ssize_t problems. | Martin v. Löwis | 2006-04-22 | 1 | -5/+7 |
| | |||||
* | Address issues brought up by MvL on python-checkins. | Neal Norwitz | 2006-04-20 | 1 | -4/+4 |
| | | | | | | | | | I tested this with valgrind on amd64. The man pages I found for diff architectures are inconsistent on this. I'm not entirely sure this change is correct for all architectures either. Perhaps we should just over-allocate and not worry about it? | ||||
* | Whitespace, fix indentation | Neal Norwitz | 2006-04-20 | 1 | -2/+1 |
| | |||||
* | Correct implementation and documentation of os.confstr. Add a simple test | Skip Montanaro | 2006-04-20 | 1 | -6/+9 |
| | | | | case. I've yet to figure out how to provoke a None return I can test. | ||||
* | reset errno before calling confstr - use confstr() doc to simplify checks ↵ | Skip Montanaro | 2006-04-18 | 1 | -7/+9 |
| | | | | afterwards | ||||
* | Initialize structseq types only once. | Martin v. Löwis | 2006-04-16 | 1 | -10/+14 |
| | |||||
* | spread the extern "C" { } magic pixie dust around. Python itself builds now | Anthony Baxter | 2006-04-13 | 1 | -0/+9 |
| | | | | | using a C++ compiler. Still lots and lots of errors in the modules built by setup.py, and a bunch of warnings from g++ in the core. | ||||
* | Some more changes to make code compile under a C++ compiler. | Anthony Baxter | 2006-04-11 | 1 | -4/+4 |
| | |||||
* | Clear errno before calling opendir() and readdir(). | Georg Brandl | 2006-04-11 | 1 | -0/+1 |
| | |||||
* | Bug #1467952: os.listdir() now correctly raises an error if readdir() | Georg Brandl | 2006-04-11 | 1 | -0/+6 |
| | | | | fails with an error condition. | ||||
* | Fix warning about ptsname not being a prototype on Solaris. Is this ↵ | Neal Norwitz | 2006-04-10 | 1 | -1/+1 |
| | | | | prototype even necessary anymore? | ||||
* | Properly support empty woperation in win32_startfile; | Martin v. Löwis | 2006-04-03 | 1 | -9/+12 |
| | | | | correct arguments to ShellExecuteW. | ||||
* | Bug #1451503: allow unicode filenames in os.startfile(). | Georg Brandl | 2006-04-03 | 1 | -0/+35 |
| | |||||
* | In the fdopen(fd, 'a') case on UNIX, don't try to set fd's flags to -1 if | Thomas Wouters | 2006-03-31 | 1 | -1/+1 |
| | | | | fcntl() and fdopen() both fail. Will backport. | ||||
* | Add guards against fcntl() not being available on Windows. | Georg Brandl | 2006-03-31 | 1 | -0/+4 |
| | |||||
* | bug #1461855: make os.fdopen() add the O_APPEND flag if using "a" mode. | Georg Brandl | 2006-03-31 | 1 | -2/+13 |
| | | | | | | glibc, for example, does this already on its own, but it seems that the solaris libc doesn't. This leads to Python code being able to over- write file contents even though having specified "a" mode. | ||||
* | Try to fix broken compile on openbsd. | Neal Norwitz | 2006-03-26 | 1 | -4/+4 |
| | |||||
* | Damn Coverity. I can't even sneak in a leak any more. :-) | Neal Norwitz | 2006-03-20 | 1 | -1/+1 |
| | |||||
* | The helper is only necessary for wait3/4. | Neal Norwitz | 2006-03-20 | 1 | -0/+2 |
| | |||||
* | Try to cleanup a lot of boilerplate #ifdef wrt wait types and make the code | Neal Norwitz | 2006-03-20 | 1 | -143/+47 |
| | | | | more consistent (and smaller by 85 lines or so). | ||||
* | Patch #1309579: wait3 and wait4 were added to the posix module by Chad J. ↵ | Neal Norwitz | 2006-03-20 | 1 | -0/+128 |
| | | | | | | | | Schroeder. This was a fair amount of rework of the patch. Refactored test_fork1 so it could be reused by the new tests for wait3/4. Also made them into new style unittests (derive from unittest.TestCase). | ||||
* | SF #1445431, fix some leaks in error conditions. | Neal Norwitz | 2006-03-20 | 1 | -4/+5 |
| | |||||
* | Reformulate 42903 using an if statement. | Martin v. Löwis | 2006-03-07 | 1 | -35/+31 |
| | |||||
* | Fix bug introduced in rev. 42884. | Georg Brandl | 2006-03-07 | 1 | -3/+5 |
| | |||||
* | Bug #1432525: os.listdir now releases the GIL while calling | Georg Brandl | 2006-03-07 | 1 | -3/+15 |
| | | | | readdir(). | ||||
* | Change int to Py_ssize_t in several places. | Martin v. Löwis | 2006-03-07 | 1 | -4/+4 |
| | | | | | Add (int) casts to silence compiler warnings. Raise Python exceptions for overflows. | ||||
* | Repair mangled code in the Windows flavor of | Tim Peters | 2006-03-01 | 1 | -2/+1 |
| | | | | | | | | | | | posix__getfullpathname(). In partial answer to the now-deleted XXX comment: /* XXX(twouters) Why use 'et#' here at all? insize isn't used */ `insize` is an input parameter too, and it was left uninitialized, leading to seemingly random failures. | ||||
* | Py_ssize_t-ify. | Thomas Wouters | 2006-03-01 | 1 | -5/+10 |
| | |||||
* | Fix a build problem introduced by r42230. | Hye-Shik Chang | 2006-02-19 | 1 | -1/+1 |
| | |||||
* | Patch #1393157: os.startfile() now has an optional argument to specify | Georg Brandl | 2006-02-18 | 1 | -7/+14 |
| | | | | a "command verb" to invoke on the file. | ||||
* | Merge ssize_t branch. | Martin v. Löwis | 2006-02-15 | 1 | -20/+21 |
| | |||||
* | Drop C library for stat/fstat on Windows. | Martin v. Löwis | 2006-02-03 | 1 | -117/+246 |
| | |||||
* | Check return result from Py_InitModule*(). This API can fail. | Neal Norwitz | 2006-01-19 | 1 | -0/+2 |
| | | | | Probably should be backported. | ||||
* | Fix SF bug #1072182, problems with signed characters. | Neal Norwitz | 2005-12-19 | 1 | -1/+1 |
| | | | | Most of these can be backported. | ||||
* | Bug #869197: setgroups rejects long integer argument | Georg Brandl | 2005-11-22 | 1 | -6/+31 |
| | |||||
* | Commit memory leaking fix. | Georg Brandl | 2005-09-25 | 1 | -2/+6 |
| | |||||
* | Remove unnecessary/extra parens when returning a value. | Neal Norwitz | 2005-09-19 | 1 | -6/+6 |
| | |||||
* | Forward port fixes for problems reported by valgrind | Neal Norwitz | 2005-09-19 | 1 | -1/+2 |
| |