- 22 Agu, 2006 1 kayıt (commit)
-
-
Neal Norwitz yazdı
-
- 21 Agu, 2006 1 kayıt (commit)
-
-
Neal Norwitz yazdı
-
- 13 Agu, 2006 2 kayıt (commit)
-
-
Neal Norwitz yazdı
-
Neal Norwitz yazdı
Fix a bunch of refleaks in the init of the module. This would only be found when running python -v.
-
- 12 Agu, 2006 1 kayıt (commit)
-
-
Neal Norwitz yazdı
I modified this patch some by fixing style, some error checking, and adding XXX comments. This patch requires review and some changes are to be expected. I'm checking in now to get the greatest possible review and establish a baseline for moving forward. I don't want this to hold up release if possible.
-
- 10 Haz, 2006 1 kayıt (commit)
-
-
Martin v. Löwis yazdı
- update header checks, using autoconf - provide dummies for getenv, environ, and GetVersion - adjust MSC_VER check in socketmodule.c
-
- 29 May, 2006 2 kayıt (commit)
-
-
Georg Brandl yazdı
Use Py_UnpackTuple instead of PyArg_ParseTuple where possible.
-
Georg Brandl yazdı
-
- 07 Mar, 2006 1 kayıt (commit)
-
-
Guido van Rossum yazdı
This was mostly written by Travis Oliphant. I've inspected it all; Neal Norwitz and MvL have also looked at it (in an earlier incarnation).
-
- 27 Şub, 2006 1 kayıt (commit)
-
-
Martin v. Löwis yazdı
-
- 18 Şub, 2006 2 kayıt (commit)
-
-
Martin v. Löwis yazdı
-
Martin v. Löwis yazdı
-
- 17 Şub, 2006 4 kayıt (commit)
-
-
Thomas Wouters yazdı
-
Martin v. Löwis yazdı
-
Tim Peters yazdı
mixing signed and unsigned types in comparison.
-
Tim Peters yazdı
in function calls.
-
- 16 Şub, 2006 6 kayıt (commit)
-
-
Tim Peters yazdı
deleted some curlies around one-line blocks.
-
Tim Peters yazdı
-
Tim Peters yazdı
On a box where sizeof(size_t) == 4, C doesn't define what happens when a size_t value is shifted right by 32 bits, and this caused test_mmap to fail on Windows in a debug build. So use different code to break the size apart depending on how large size_t actually is. This looks like an illusion, since lots of code in this module still appears to assume sizes can't be more than 32 bits (e.g., the internal _GetMapSize() still returns an int), but at least test_mmap passes again.
-
Thomas Wouters yazdı
-
Martin v. Löwis yazdı
-
Neal Norwitz yazdı
-
- 15 Şub, 2006 1 kayıt (commit)
-
-
Martin v. Löwis yazdı
-
- 05 Şub, 2006 2 kayıt (commit)
-
-
Neal Norwitz yazdı
on both Unix (SVR4 and BSD) and Windows. Restores behaviour of passing -1 for anonymous memory on Unix. Use MAP_ANONYMOUS instead of _ANON since the latter is deprecated according to Linux (gentoo) man pages. Should we continue to allow mmap.mmap(0, length) to work on Windows? 0 is a valid fd. Will backport bugfix portions.
-
Neal Norwitz yazdı
-
- 19 Ock, 2006 1 kayıt (commit)
-
-
Neal Norwitz yazdı
Probably should be backported.
-
- 11 Ock, 2006 1 kayıt (commit)
-
-
Neal Norwitz yazdı
This didn't crash on Linux, but valgrind complained. I'm not sure if this test is valid on Windows. Will backport.
-
- 18 Ara, 2005 1 kayıt (commit)
-
-
Neal Norwitz yazdı
Fix some 64-bit issues due to mismatch format characters w/actual data types
-
- 10 Ara, 2005 1 kayıt (commit)
-
-
Jeremy Hylton yazdı
In C++, it's an error to pass a string literal to a char* function without a const_cast(). Rather than require every C++ extension module to put a cast around string literals, fix the API to state the const-ness. I focused on parts of the API where people usually pass literals: PyArg_ParseTuple() and friends, Py_BuildValue(), PyMethodDef, the type slots, etc. Predictably, there were a large set of functions that needed to be fixed as a result of these changes. The most pervasive change was to make the keyword args list passed to PyArg_ParseTupleAndKewords() to be a const char *kwlist[]. One cast was required as a result of the changes: A type object mallocs the memory for its tp_doc slot and later frees it. PyTypeObject says that tp_doc is const char *; but if the type was created by type_new(), we know it is safe to cast to char *.
-
- 02 Kas, 2005 2 kayıt (commit)
-
-
Neal Norwitz yazdı
Close the fd in the close method and invalidated it. Don't try to close a second time when deallocating.
-
Neal Norwitz yazdı
-
- 20 Eyl, 2005 1 kayıt (commit)
-
-
Armin Rigo yazdı
-
- 24 Agu, 2005 1 kayıt (commit)
-
-
Georg Brandl yazdı
-
- 03 Mar, 2005 1 kayıt (commit)
-
-
Martin v. Löwis yazdı
file size.
-
- 19 May, 2004 1 kayıt (commit)
-
-
Andrew M. Kuchling yazdı
Set data pointer to NULL after an error; this keeps the mmap_dealloc() function from trying to do msync(-1);munmap(-1). 2.3 bugfix candidate, but this bug isn't critical enough that the fix has to go into 2.3.4
-
- 17 Ock, 2004 1 kayıt (commit)
-
-
Skip Montanaro yazdı
Remove BAD_EXEC_PROTOYPE (leftover from IRIX 4 demolition).
-
- 15 Tem, 2003 1 kayıt (commit)
-
-
Andrew M. Kuchling yazdı
[Patch #708374] Only apply the check for file size if the file is a regular file, not a character or block device.
-
- 03 May, 2003 1 kayıt (commit)
-
-
Martin v. Löwis yazdı
-
- 09 Nis, 2003 1 kayıt (commit)
-
-
Guido van Rossum yazdı
- CHECK_VALID() was checking the wrong value for a closed fd - fseek(&_iob[fileno], ...) doesn't work for fileno >= 20
-
- 07 Şub, 2003 1 kayıt (commit)
-
-
Neal Norwitz yazdı
Make length an int so we get the right value from PyArg_ParseTuple(args, "s#", &str, &length) Will backport.
-