History log of /external/python/cpython2/Modules/posixmodule.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
9ea8fafd6ab45bd5dd4171e68440e62f26b728d1 03-Dec-2016 Benjamin Peterson <benjamin@python.org> fix function name
/external/python/cpython2/Modules/posixmodule.c
e95048e8bb05ed23e7bf281ad445ef4c27b28433 03-Dec-2016 Benjamin Peterson <benjamin@python.org> also do not leak the mode string if creating the file fails
/external/python/cpython2/Modules/posixmodule.c
d3035d5d3da11b464580ee2a49c6fcf0d23f0252 03-Dec-2016 Benjamin Peterson <benjamin@python.org> do not leak the FILE * pointer in error cases of fdopen()
/external/python/cpython2/Modules/posixmodule.c
ada7d9291783b8df9d49ca3cf722dd7537f9358f 03-Dec-2016 Benjamin Peterson <benjamin@python.org> fix refleak in file handle creation error case
/external/python/cpython2/Modules/posixmodule.c
3c9ce74c218703ed75a11f71ed215559fa0c4257 01-Jul-2016 Serhiy Storchaka <storchaka@gmail.com> Issue #23908: os functions, open() and the io.FileIO constructor now reject
unicode paths with embedded null character on Windows instead of silently
truncate them.
/external/python/cpython2/Modules/posixmodule.c
be8c6ae56e1e80d2e0525aa413ba33d03f958117 12-Jul-2015 Serhiy Storchaka <storchaka@gmail.com> Issue #24611: Fixed compiling the posix module on non-Windows platforms
without mknod() or makedev() (e.g. on Unixware).
/external/python/cpython2/Modules/posixmodule.c
9aa16d93c9570771bdb8f0819e4b17f4284c952e 20-Apr-2015 Serhiy Storchaka <storchaka@gmail.com> Issue #23842: os.major(), os.minor() and os.makedev() now support ints again.
/external/python/cpython2/Modules/posixmodule.c
2098d61aab657657af245ed974339eb3cbd65d76 18-Jan-2015 Serhiy Storchaka <storchaka@gmail.com> Issue #23098: 64-bit dev_t is now supported in the os module.
/external/python/cpython2/Modules/posixmodule.c
0f8f784a77a51dc3ceac8c812177bff33bced830 01-Dec-2014 Serhiy Storchaka <storchaka@gmail.com> Removed duplicated words in in comments and docs.
/external/python/cpython2/Modules/posixmodule.c
e37375405657413ef9b83b935bb4ed17cd745ce6 24-Aug-2014 Benjamin Peterson <benjamin@python.org> don't segfault when trying to fdopen() a fd for a dir (closes #22259)

Patch from Brian Kearns.
/external/python/cpython2/Modules/posixmodule.c
7fc8a105777fc7899cb6de15fe2d392bf4c361f5 15-Apr-2014 Benjamin Peterson <benjamin@python.org> add missing NULL check
/external/python/cpython2/Modules/posixmodule.c
5c863bf93809cefeb4469512eadac291b7046051 15-Apr-2014 Benjamin Peterson <benjamin@python.org> when an exception is raised in fdopen, never close the fd (changing on my mind on #21191)
/external/python/cpython2/Modules/posixmodule.c
02ab7a84ef86cfe043bbfbbd2912dcc8c8c67793 09-Apr-2014 Benjamin Peterson <benjamin@python.org> make sure fdopen always closes the fd in error cases (closes #21191)
/external/python/cpython2/Modules/posixmodule.c
6d07641fce428abf826a0d90ce0aeaf0e3450587 11-Mar-2014 Georg Brandl <georg@python.org> #13530: port to 2.7 branch (document what os.lseek returns).
/external/python/cpython2/Modules/posixmodule.c
2748c5c1060dfc6fa69dcb6bec0fa000e89ed1b4 11-Feb-2014 Benjamin Peterson <benjamin@python.org> avoid name clash with posix_close (closes #20594)
/external/python/cpython2/Modules/posixmodule.c
8074364f7abb648ac60ba8f78bae7d41a906aead 02-Aug-2013 Ned Deily <nad@acm.org> Issue #17557: Fix os.getgroups() to work with the modified behavior of
getgroups(2) on OS X 10.8. Original patch by Mateusz Lenik.
/external/python/cpython2/Modules/posixmodule.c
d6138c426ed83a0d6726b4a8f406b7a8722ac345 23-Mar-2013 Benjamin Peterson <benjamin@python.org> always allow -1 as a uid
/external/python/cpython2/Modules/posixmodule.c
4d7fc3c5ac0d09a83a02cc35788ea1b806866ad9 23-Mar-2013 Benjamin Peterson <benjamin@python.org> undo PyInt -> PyLong change; that was wrong
/external/python/cpython2/Modules/posixmodule.c
31289230e2244c1cd0483547e2a4c60c79cfab9d 23-Mar-2013 Benjamin Peterson <benjamin@python.org> return int instead long when possible (#17531)
/external/python/cpython2/Modules/posixmodule.c
da5c2a064699c657b69e11aaab0eca8d743dd7ed 12-Feb-2013 Serhiy Storchaka <storchaka@gmail.com> Issue #4591: Uid and gid values larger than 2**31 are supported now.
/external/python/cpython2/Modules/posixmodule.c
46f5b35bc0d680501629f75a86e40ee4b5798ed7 28-Jan-2013 Serhiy Storchaka <storchaka@gmail.com> Issue #17051: Fix a memory leak in os.path.isdir() on Windows. Patch by Robert Xiao.
/external/python/cpython2/Modules/posixmodule.c
1c60c7ac4cba9b947696f795dc16c8761f6bce38 25-Jan-2013 Ronald Oussoren <ronaldoussoren@mac.com> Issue #1602133: 'environ' is not really available with shared libraries on OSX

There already was a workaround for this for framework builds on OSX,
this changeset enables the same workaround for shared libraries.

Closes #1602133
/external/python/cpython2/Modules/posixmodule.c
4bb142b1b712d8e67c81687d396685fba55abf77 18-Dec-2012 Andrew Svetlov <andrew.svetlov@gmail.com> Issue #16714: use 'raise' exceptions, don't 'throw'.

Patch by Serhiy Storchaka.
/external/python/cpython2/Modules/posixmodule.c
da4277a739bab61e79dc4d064b1e1648ddd59150 29-Aug-2012 Trent Nelson <trent@trent.me> Issue #15765: Fix quirky NetBSD getcwd() behaviour.

This is done by extending a previous fix for issue #9185 that was made for
Solaris and OpenBSD to NetBSD as well.
/external/python/cpython2/Modules/posixmodule.c
aee9dfba4a9230f2832dd69d67e92f8e0490a163 21-Feb-2012 Benjamin Peterson <benjamin@python.org> merge 2.6 with hash randomization fix
1e13eb084f72d5993cbb726e45b36bdb69c83a24 21-Feb-2012 Barry Warsaw <barry@python.org> - Issue #13703: oCERT-2011-003: add -R command-line option and PYTHONHASHSEED
environment variable, to provide an opt-in way to protect against denial of
service attacks due to hash collisions within the dict and set types. Patch
by David Malcolm, based on work by Victor Stinner.
/external/python/cpython2/Modules/posixmodule.c
d7664dee0c35c01e71fc0ea65d0b7547dfb0212a 18-Jan-2012 Nadeem Vawda <nadeem.vawda@gmail.com> Issue #13781: Fix GzipFile to work with os.fdopen()'d file objects.
/external/python/cpython2/Modules/posixmodule.c
93a1175bacd415061ac61107e58f24fe9ced82ff 27-Nov-2011 Charles-François Natali <neologix@free.fr> Issue #13415: Test in configure if unsetenv() has a return value or not.
/external/python/cpython2/Modules/posixmodule.c
42d96dc07d74eeda01b852b8f47c7f998782e783 23-Nov-2011 Benjamin Peterson <benjamin@python.org> no python objects to manage here
/external/python/cpython2/Modules/posixmodule.c
fde82169e116251ae7c6fe63f32ad9945c5803c5 23-Nov-2011 Benjamin Peterson <benjamin@python.org> plug refleak
/external/python/cpython2/Modules/posixmodule.c
53853c3fa960c34359c2721a28fdfae288b6cb0d 22-Nov-2011 Victor Stinner <victor.stinner@haypocalc.com> Issue #13415: os.unsetenv() doesn't ignore errors anymore.
/external/python/cpython2/Modules/posixmodule.c
0f8acebd532645f888ce4cca83a45a2136b30ced 04-Aug-2011 Benjamin Peterson <benjamin@python.org> dosmodule is, thankfully, no more
/external/python/cpython2/Modules/posixmodule.c
59729ff609aeaf4ca6d8f5009ec5ec93c61187a1 05-Jul-2011 Victor Stinner <victor.stinner@haypocalc.com> Issue #9611, #9015: FileIO.read(), FileIO.readinto(), FileIO.write() and
os.write() clamp the length to INT_MAX on Windows.
/external/python/cpython2/Modules/posixmodule.c
ff48c0a89b501df92c78873352956348d5cb0690 01-Jul-2011 Antoine Pitrou <solipsis@pitrou.net> Really fix issue #10898: posixmodule.c redefines FSTAT
/external/python/cpython2/Modules/posixmodule.c
5446f08c608d8e0041c8bb27b74be713db050177 09-Jun-2011 Brian Curtin <brian@python.org> Correction to f1509fc75435 - Issue #11583

Rather than wrapping the C _isdir function in a Python function,
just import the C _isdir function directly. Additionally, add in the
docstring which was left out.
/external/python/cpython2/Modules/posixmodule.c
caea7e8d231bb78a32636890edfd8c350a70ea4b 09-Jun-2011 Brian Curtin <brian@python.org> Merge
/external/python/cpython2/Modules/posixmodule.c
63a3f151556e331a8b8608d2f8646b3ecc5d8b0a 19-Jan-2011 Antoine Pitrou <solipsis@pitrou.net> Merged revisions 88111 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
r88111 | antoine.pitrou | 2011-01-19 16:21:35 +0100 (mer., 19 janv. 2011) | 4 lines

Issue #10898: Allow compiling the posix module when the C library defines
a symbol named FSTAT.
........
/external/python/cpython2/Modules/posixmodule.c
1f1613f0ccecaa8b87310caec39fc2b274205f73 06-Jan-2011 Antoine Pitrou <solipsis@pitrou.net> Merged revisions 87802 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
r87802 | antoine.pitrou | 2011-01-06 19:25:55 +0100 (jeu., 06 janv. 2011) | 6 lines

Issue #7858: Raise an error properly when os.utime() fails under Windows
on an existing file.

(this does not seem to be easily testable)
........
/external/python/cpython2/Modules/posixmodule.c
ac514c895c5586e7f9880a189203c6da3733b905 03-Jan-2011 Amaury Forgeot d'Arc <amauryfa@gmail.com> Merged revisions 87666 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
r87666 | amaury.forgeotdarc | 2011-01-03 01:19:11 +0100 (lun., 03 janv. 2011) | 4 lines

#8278: In the Windows implementation of stat() and utime(),
use time_t instead of int. This gives support for dates after 2038,
at least when compiled with VS2003 or later, where time_t is 64bit.
........
/external/python/cpython2/Modules/posixmodule.c
da4a5f0b3770bed0f463e325326d9689710596d9 02-Jan-2011 Antoine Pitrou <solipsis@pitrou.net> Fix indentation
/external/python/cpython2/Modules/posixmodule.c
b06146159600b5d9daaf1caf49db43b627ff759f 02-Jan-2011 Antoine Pitrou <solipsis@pitrou.net> Issue #4662: os.tempnam(), os.tmpfile() and os.tmpnam() now raise a py3k
DeprecationWarning.
/external/python/cpython2/Modules/posixmodule.c
93f7a321e708ba082965a8a72997f269b1ff5e15 26-Nov-2010 Stefan Krah <stefan@bytereef.org> Merged revisions 86808 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
r86808 | stefan.krah | 2010-11-26 17:16:47 +0100 (Fri, 26 Nov 2010) | 1 line

Further indentation cleanup.
........
/external/python/cpython2/Modules/posixmodule.c
acaab2ae1c87299e10a82038764952ebcf5d1000 26-Nov-2010 Stefan Krah <stefan@bytereef.org> Merged revisions 86804 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
r86804 | stefan.krah | 2010-11-26 13:58:05 +0100 (Fri, 26 Nov 2010) | 1 line

Issue #10383: Fix two leaks.
........
/external/python/cpython2/Modules/posixmodule.c
21946afe3f2d21ac6b50021802e503686abb9347 06-Oct-2010 Georg Brandl <georg@python.org> Merged revisions 82798,82805,83659,83977,84015,84018,84141,84264,84326-84327,84480,84482,84484,84530-84531,84553,84619,84915-84916 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
r82798 | georg.brandl | 2010-07-11 11:23:11 +0200 (So, 11 Jul 2010) | 1 line

#6774: explain shutdown() behavior varying with platform.
........
r82805 | georg.brandl | 2010-07-11 11:42:10 +0200 (So, 11 Jul 2010) | 1 line

#7935: cross-reference to ast.literal_eval() from eval() docs.
........
r83659 | georg.brandl | 2010-08-03 14:06:29 +0200 (Di, 03 Aug 2010) | 1 line

Terminology fix: exceptions are raised, except in generator.throw().
........
r83977 | georg.brandl | 2010-08-13 17:10:49 +0200 (Fr, 13 Aug 2010) | 1 line

Fix copy-paste error.
........
r84015 | georg.brandl | 2010-08-14 17:44:34 +0200 (Sa, 14 Aug 2010) | 1 line

Add some maintainers.
........
r84018 | georg.brandl | 2010-08-14 17:48:49 +0200 (Sa, 14 Aug 2010) | 1 line

Typo fix.
........
r84141 | georg.brandl | 2010-08-17 16:11:59 +0200 (Di, 17 Aug 2010) | 1 line

Markup nits.
........
r84264 | georg.brandl | 2010-08-22 22:23:38 +0200 (So, 22 Aug 2010) | 1 line

#9649: fix default value description.
........
r84326 | georg.brandl | 2010-08-26 16:30:15 +0200 (Do, 26 Aug 2010) | 1 line

#9689: add links from overview to in-depth class API descriptions.
........
r84327 | georg.brandl | 2010-08-26 16:30:56 +0200 (Do, 26 Aug 2010) | 1 line

#9681: typo.
........
r84480 | georg.brandl | 2010-09-04 00:33:27 +0200 (Sa, 04 Sep 2010) | 1 line

More inclusive title.
........
r84482 | georg.brandl | 2010-09-04 00:40:02 +0200 (Sa, 04 Sep 2010) | 1 line

#9760: clarify what context expression is.
........
r84484 | georg.brandl | 2010-09-04 00:49:27 +0200 (Sa, 04 Sep 2010) | 1 line

Fix missing word.
........
r84530 | georg.brandl | 2010-09-05 19:07:12 +0200 (So, 05 Sep 2010) | 1 line

#9747: fix copy-paste error in getresgid() doc.
........
r84531 | georg.brandl | 2010-09-05 19:09:18 +0200 (So, 05 Sep 2010) | 1 line

#9776: fix some spacing.
........
r84553 | georg.brandl | 2010-09-06 08:49:07 +0200 (Mo, 06 Sep 2010) | 1 line

#9780: both { and } are not valid fill characters.
........
r84619 | georg.brandl | 2010-09-08 12:43:45 +0200 (Mi, 08 Sep 2010) | 1 line

Add Lukasz.
........
r84915 | georg.brandl | 2010-09-20 08:27:02 +0200 (Mo, 20 Sep 2010) | 1 line

Fix typo.
........
r84916 | georg.brandl | 2010-09-20 08:29:01 +0200 (Mo, 20 Sep 2010) | 1 line

Mention % as string formatting.
........
/external/python/cpython2/Modules/posixmodule.c
247e2fd035c0b8becfec3609330405195adf4bb2 04-Sep-2010 Antoine Pitrou <solipsis@pitrou.net> Merged revisions 84489 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
r84489 | antoine.pitrou | 2010-09-04 19:21:57 +0200 (sam., 04 sept. 2010) | 4 lines

Issue #7736: Release the GIL around calls to opendir() and closedir()
in the posix module. Patch by Marcin Bachry.
........
/external/python/cpython2/Modules/posixmodule.c
8cdede46128ea1b9c196c7aa6265d20e0a5f72ec 10-Aug-2010 Antoine Pitrou <solipsis@pitrou.net> Merged revisions 83921 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
r83921 | antoine.pitrou | 2010-08-10 01:39:31 +0200 (mar., 10 août 2010) | 4 lines

Issue #6915: Under Windows, os.listdir() didn't release the Global
Interpreter Lock around all system calls. Original patch by Ryan Kelly.
........
/external/python/cpython2/Modules/posixmodule.c
ac08e302de73e6562787a0f3a1b2f6bdb3a3181b 24-Jul-2010 Ronald Oussoren <ronaldoussoren@mac.com> Merged revisions 83124 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/release27-maint

................
r83124 | ronald.oussoren | 2010-07-24 10:46:41 +0100 (Sat, 24 Jul 2010) | 15 lines

Merged revisions 83088 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
r83088 | ronald.oussoren | 2010-07-23 14:53:51 +0100 (Fri, 23 Jul 2010) | 8 lines

This fixes issue7900 by adding code that deals
with the fact that getgroups(2) might return
more that MAX_GROUPS on OSX.

See the issue (and python-dev archives) for the
gory details. Summarized: OSX behaves rather oddly
and Apple says this is intentional.
........
................
/external/python/cpython2/Modules/posixmodule.c
9e7ffae537c72c361725ab7c6c8adede4eb9a8e0 24-Jul-2010 Ronald Oussoren <ronaldoussoren@mac.com> Merged revisions 83088 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
r83088 | ronald.oussoren | 2010-07-23 14:53:51 +0100 (Fri, 23 Jul 2010) | 8 lines

This fixes issue7900 by adding code that deals
with the fact that getgroups(2) might return
more that MAX_GROUPS on OSX.

See the issue (and python-dev archives) for the
gory details. Summarized: OSX behaves rather oddly
and Apple says this is intentional.
........
/external/python/cpython2/Modules/posixmodule.c
36db84d3db862bfe8d8f56882fa51d3dc151e638 19-Jul-2010 Stefan Krah <stefan@bytereef.org> Merged revisions 82853-82854 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/release27-maint

........
r82853 | stefan.krah | 2010-07-13 21:17:08 +0200 (Tue, 13 Jul 2010) | 4 lines

Issue #9185: On Solaris and OpenBSD, posix_getcwd() could loop indefinitely
if the path length exceeded PATH_MAX.
........
r82854 | stefan.krah | 2010-07-13 21:40:00 +0200 (Tue, 13 Jul 2010) | 3 lines

Remove PYOS_OS2 special cases from the Solaris/OpenBSD section.
........
/external/python/cpython2/Modules/posixmodule.c
8cb9f03ecba2379dc3d826955e419e49bd85c9b3 13-Jul-2010 Stefan Krah <stefan@bytereef.org> Remove PYOS_OS2 special cases from the Solaris/OpenBSD section.
/external/python/cpython2/Modules/posixmodule.c
182ae64235c510c7b40f7b26a1490d3f2163d00d 13-Jul-2010 Stefan Krah <stefan@bytereef.org> Issue #9185: On Solaris and OpenBSD, posix_getcwd() could loop indefinitely
if the path length exceeded PATH_MAX.
/external/python/cpython2/Modules/posixmodule.c
4fb51b4d05e2214b83f360b7fdb814397790e7fa 17-Jun-2010 Senthil Kumaran <orsenthil@gmail.com> Merged revisions 82047 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
r82047 | senthil.kumaran | 2010-06-17 22:08:34 +0530 (Thu, 17 Jun 2010) | 3 lines

Fix Issue4452 - Incorrect docstring of os.setpgrp
........
/external/python/cpython2/Modules/posixmodule.c
0d6908b030c21bfb0c093e14837818b5c068512f 17-Jun-2010 Senthil Kumaran <orsenthil@gmail.com> Fix Issue4452 - Incorrect docstring of os.setpgrp
/external/python/cpython2/Modules/posixmodule.c
03acec22563f09588a76851664184eb29b67e90f 15-May-2010 Amaury Forgeot d'Arc <amauryfa@gmail.com> Remove unused variable, and fix a compilation warning on Windows
/external/python/cpython2/Modules/posixmodule.c
43cdd0ad34f0bd51775006cc566702408107dea1 06-May-2010 Victor Stinner <victor.stinner@haypocalc.com> Merged revisions 80844-80845 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
r80844 | victor.stinner | 2010-05-06 01:33:33 +0200 (jeu., 06 mai 2010) | 5 lines

Untabify Modules/posixmodule.c

Run Antoine Pitrou "untabify" script + manual editions (OS/2 and some
continuation lines).
........
r80845 | victor.stinner | 2010-05-06 02:03:44 +0200 (jeu., 06 mai 2010) | 4 lines

Untabify Modules/posixmodule.c (2)

Fix some more functions by hand
........
/external/python/cpython2/Modules/posixmodule.c
862490a546f2ea92cf8780971a068a105a4c6384 06-May-2010 Victor Stinner <victor.stinner@haypocalc.com> Untabify Modules/posixmodule.c (2)

Fix some more functions by hand
/external/python/cpython2/Modules/posixmodule.c
d6f85423073f4baa94db711339d908f63764acf1 06-May-2010 Victor Stinner <victor.stinner@haypocalc.com> Untabify Modules/posixmodule.c

Run Antoine Pitrou "untabify" script + manual editions (OS/2 and some
continuation lines).
/external/python/cpython2/Modules/posixmodule.c
ae509520de5a0321f58c79afffad10ae59dae8b9 03-Apr-2010 Brian Curtin <brian.curtin@gmail.com> Add missing return statement in an error condition.
/external/python/cpython2/Modules/posixmodule.c
e5aa886b4449c9b2db93591c58511ea3620c9b67 03-Apr-2010 Brian Curtin <brian.curtin@gmail.com> Implement #1220212. Add os.kill support for Windows.

os.kill takes one of two newly added signals, CTRL_C_EVENT and
CTRL_BREAK_EVENT, or any integer value. The events are a special case
which work with subprocess console applications which implement a
special console control handler. Any other value but those two will
cause os.kill to use TerminateProcess, outright killing the process.

This change adds win_console_handler.py, which is a script to implement
SetConsoleCtrlHandler and applicable handler function, using ctypes.

subprocess also gets another attribute which is a necessary flag to
creationflags in Popen in order to send the CTRL events.
/external/python/cpython2/Modules/posixmodule.c
a0dc275f08b683193b5f64fd0859106cefcf3bf6 21-Mar-2010 Matthias Klose <doko@ubuntu.com> Revert r79131

- Issue #1039, #8154: Fix os.execlp() crash with missing 2nd argument.
/external/python/cpython2/Modules/posixmodule.c
b8022c8ad1e4af313c7086dfa9116278a9e57ac2 20-Mar-2010 Matthias Klose <doko@ubuntu.com> Merged revisions 79096 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
r79096 | matthias.klose | 2010-03-19 15:45:06 +0100 (Fr, 19 Mär 2010) | 2 lines

- Issue #1039, #8154: Fix os.execlp() crash with missing 2nd argument.
........
/external/python/cpython2/Modules/posixmodule.c
e9fbf2b943d79e8d8d71b64c1881829af880229d 19-Mar-2010 Matthias Klose <doko@ubuntu.com> - Issue #1039, #8154: Fix os.execlp() crash with missing 2nd argument.
/external/python/cpython2/Modules/posixmodule.c
8baa745ceb1a211e164436fb0a005fd025fe8ddf 01-Mar-2010 Gregory P. Smith <greg@mad-scientist.com> Merged revisions 78546 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
r78546 | gregory.p.smith | 2010-02-28 21:43:43 -0800 (Sun, 28 Feb 2010) | 3 lines

Fixes issue #7999: os.setreuid() and os.setregid() would refuse to accept
a -1 parameter on some platforms such as OS X.
........
/external/python/cpython2/Modules/posixmodule.c
6a65f85e79db20f16a7f18873322984f5b1333ee 01-Mar-2010 Gregory P. Smith <greg@mad-scientist.com> Fixes issue #7999: os.setreuid() and os.setregid() would refuse to accept
a -1 parameter on some platforms such as OS X.
/external/python/cpython2/Modules/posixmodule.c
c21d0cb6cf1c32158a37772545fb71e730ab1323 01-Mar-2010 Gregory P. Smith <greg@mad-scientist.com> Merged revisions 78527,78531 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
r78527 | gregory.p.smith | 2010-02-28 17:22:39 -0800 (Sun, 28 Feb 2010) | 4 lines

Issue #7242: On Solaris 9 and earlier calling os.fork() from within a
thread could raise an incorrect RuntimeError about not holding the import
lock. The import lock is now reinitialized after fork.
........
r78531 | gregory.p.smith | 2010-02-28 18:31:33 -0800 (Sun, 28 Feb 2010) | 2 lines

Fix for r78527. It left out updating forkpty.
........
/external/python/cpython2/Modules/posixmodule.c
4b862365c865ac9859ee63bd50c6f54bd94441c9 01-Mar-2010 Gregory P. Smith <greg@mad-scientist.com> Fix for r78527. It left out updating forkpty.
/external/python/cpython2/Modules/posixmodule.c
9e5d1327f8a6f3a266b76118e0c660c7bcb12ce9 01-Mar-2010 Gregory P. Smith <greg@mad-scientist.com> Issue #7242: On Solaris 9 and earlier calling os.fork() from within a
thread could raise an incorrect RuntimeError about not holding the import
lock. The import lock is now reinitialized after fork.
/external/python/cpython2/Modules/posixmodule.c
a55af9a9db334fb587f2c6b37ac28ac2463ebf04 17-Jan-2010 Ronald Oussoren <ronaldoussoren@mac.com> - Issue #7658: Ensure that the new pythonw executable works on OSX 10.4

- Issue #7714: Use ``gcc -dumpversion`` to detect the version of GCC on
MacOSX.

- Make configure look for util.h as well as libutil.h. The former
is the header file that on OSX contains the defition of openpty.

(Needed to compile for OSX 10.4 on OSX 10.6)

- Use the correct definition of CC to compile the pythonw executable
/external/python/cpython2/Modules/posixmodule.c
21c134d0e30b3bcb8733bdd33b9aea10305c2025 23-Dec-2009 Gregory P. Smith <greg@mad-scientist.com> Merged revisions 77007 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
r77007 | gregory.p.smith | 2009-12-23 01:31:11 -0800 (Wed, 23 Dec 2009) | 3 lines

Fix possible integer overflow in lchown and fchown functions. For issue1747858.
........
/external/python/cpython2/Modules/posixmodule.c
9f12d468f4f886d70831b34875e95d5efe9c6323 23-Dec-2009 Gregory P. Smith <greg@mad-scientist.com> Fix possible integer overflow in lchown and fchown functions. For issue1747858.
/external/python/cpython2/Modules/posixmodule.c
30b3b35cbac52719e44d8457fd9a7be09e6edd2c 02-Dec-2009 Antoine Pitrou <solipsis@pitrou.net> Issue #7333: The `posix` module gains an `initgroups()` function providing
access to the initgroups(3) C library call on Unix systems which implement
it. Patch by Jean-Paul Calderone.
/external/python/cpython2/Modules/posixmodule.c
50ea4565bd7805d7368b9278536f58c870313e92 27-Nov-2009 Martin v. Löwis <martin@v.loewis.de> Issue #6508: Add posix.{getresuid,getresgid,setresuid,setresgid}.
/external/python/cpython2/Modules/posixmodule.c
448db2155fc81d2aa84f37dc58683251cba8772e 16-Sep-2009 Thomas Wouters <thomas@python.org> Merged revisions 74841 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
r74841 | thomas.wouters | 2009-09-16 12:55:54 -0700 (Wed, 16 Sep 2009) | 23 lines


Fix issue #1590864, multiple threads and fork() can cause deadlocks, by
acquiring the import lock around fork() calls. This prevents other threads
from having that lock while the fork happens, and is the recommended way of
dealing with such issues. There are two other locks we care about, the GIL
and the Thread Local Storage lock. The GIL is obviously held when calling
Python functions like os.fork(), and the TLS lock is explicitly reallocated
instead, while also deleting now-orphaned TLS data.

This only fixes calls to os.fork(), not extension modules or embedding
programs calling C's fork() directly. Solving that requires a new set of API
functions, and possibly a rewrite of the Python/thread_*.c mess. Add a
warning explaining the problem to the documentation in the mean time.

This also changes behaviour a little on AIX. Before, AIX (but only AIX) was
getting the import lock reallocated, seemingly to avoid this very same
problem. This is not the right approach, because the import lock is a
re-entrant one, and reallocating would do the wrong thing when forking while
holding the import lock.

Will backport to 2.6, minus the tiny AIX behaviour change.
........
/external/python/cpython2/Modules/posixmodule.c
c4dcb3801e6e64327e95821034a7578f5f31bf94 16-Sep-2009 Thomas Wouters <thomas@python.org> Fix issue #1590864, multiple threads and fork() can cause deadlocks, by
acquiring the import lock around fork() calls. This prevents other threads
from having that lock while the fork happens, and is the recommended way of
dealing with such issues. There are two other locks we care about, the GIL
and the Thread Local Storage lock. The GIL is obviously held when calling
Python functions like os.fork(), and the TLS lock is explicitly reallocated
instead, while also deleting now-orphaned TLS data.

This only fixes calls to os.fork(), not extension modules or embedding
programs calling C's fork() directly. Solving that requires a new set of API
functions, and possibly a rewrite of the Python/thread_*.c mess. Add a
warning explaining the problem to the documentation in the mean time.

This also changes behaviour a little on AIX. Before, AIX (but only AIX) was
getting the import lock reallocated, seemingly to avoid this very same
problem. This is not the right approach, because the import lock is a
re-entrant one, and reallocating would do the wrong thing when forking while
holding the import lock.

Will backport to 2.6, minus the tiny AIX behaviour change.
/external/python/cpython2/Modules/posixmodule.c
585ad8ae5e352c99bbd87955c64cc9a0654da8c3 02-Jul-2009 Jesus Cea <jcea@jcea.es> Merged revisions 69846 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
r69846 | mark.dickinson | 2009-02-21 21:27:01 +0100 (Sat, 21 Feb 2009) | 2 lines

Issue #5341: Fix a variety of spelling errors.
........
/external/python/cpython2/Modules/posixmodule.c
bcff47a6ec43e945a74e202f987bbce9e40fade7 29-Jun-2009 Hirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp> Issue #4856: Py_GetFileAttributesEx[AW] are not needed because GetFileAttributesEx[AW]
won't fail with ERROR_CALL_NOT_IMPLEMENTED on win NT.
Reviewed by Amaury Forgeot d'Arc.
/external/python/cpython2/Modules/posixmodule.c
a3c560907972822a661b4fa933ac9637145c5048 28-Jun-2009 Hirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp> Issue #4856: Remove checks for win NT.
/external/python/cpython2/Modules/posixmodule.c
6c95acb120243c4b9d4aafd2871f4250696eb7c9 24-May-2009 Antoine Pitrou <solipsis@pitrou.net> Merged revisions 72882 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
r72882 | antoine.pitrou | 2009-05-24 14:15:04 +0200 (dim., 24 mai 2009) | 3 lines

Fix build under Windows
........
/external/python/cpython2/Modules/posixmodule.c
4fe3858991581e22e365e51b5770547a0da33e4b 24-May-2009 Antoine Pitrou <solipsis@pitrou.net> Fix build under Windows
/external/python/cpython2/Modules/posixmodule.c
cd1376d75f97c87aaf1adf1e583a5affe2ca98e7 23-May-2009 Antoine Pitrou <solipsis@pitrou.net> Merged revisions 72855 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
r72855 | antoine.pitrou | 2009-05-23 18:06:49 +0200 (sam., 23 mai 2009) | 3 lines

Some pid_t-expecting or producing functions were forgotten in r72852.
........
/external/python/cpython2/Modules/posixmodule.c
76dd2d14590ca2949e753166c1e557870d072e10 23-May-2009 Antoine Pitrou <solipsis@pitrou.net> Some pid_t-expecting or producing functions were forgotten in r72852.
/external/python/cpython2/Modules/posixmodule.c
794b3fc707d8ebc576c6881f85875c8a5a99c75a 23-May-2009 Antoine Pitrou <solipsis@pitrou.net> Merged revisions 72852 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
r72852 | antoine.pitrou | 2009-05-23 17:37:45 +0200 (sam., 23 mai 2009) | 5 lines

Issue #1983: Fix functions taking or returning a process identifier to use
the dedicated C type `pid_t` instead of a C `int`. Some platforms have
a process identifier type wider than the standard C integer type.
........
/external/python/cpython2/Modules/posixmodule.c
5e858fe52be292e7a1b56547bb9bad286f89f2c1 23-May-2009 Antoine Pitrou <solipsis@pitrou.net> Issue #1983: Fix functions taking or returning a process identifier to use
the dedicated C type `pid_t` instead of a C `int`. Some platforms have
a process identifier type wider than the standard C integer type.
/external/python/cpython2/Modules/posixmodule.c
b24bb27d2279129612ada536984503d771544d05 17-May-2009 Hirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp> Issue #3527: Removed Py_WIN_WIDE_FILENAMES which is not used any more.
/external/python/cpython2/Modules/posixmodule.c
406d7aaee76a3c0942b5b84a8c689afc2a06f960 04-May-2009 Hirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp> Issue #5913: os.listdir() should fail for empty path on windows.
/external/python/cpython2/Modules/posixmodule.c
dd7b6302ee1b4ee541aa2070380d9262cd1a907b 06-Apr-2009 Gregory P. Smith <greg@mad-scientist.com> Merged revisions 71299 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
r71299 | gregory.p.smith | 2009-04-05 16:43:58 -0700 (Sun, 05 Apr 2009) | 3 lines

Fixes issue5705: os.setuid() and friends did not accept the same range of
values that pwd.getpwnam() returns.
........
/external/python/cpython2/Modules/posixmodule.c
6d30793cf2dfa23d5144026305631ade3e9f6e47 06-Apr-2009 Gregory P. Smith <greg@mad-scientist.com> Fixes issue5705: os.setuid() and friends did not accept the same range of
values that pwd.getpwnam() returns.
/external/python/cpython2/Modules/posixmodule.c
feab33418d4c12f1dabd02db085273515ffed190 01-Apr-2009 Kristján Valur Jónsson <kristjan@ccpgames.com> http://bugs.python.org/issue5623
Dynamically discoverd the size of the ioinfo struct used by the crt for its file descriptors. This should work across all flavors of the CRT. Thanks to Amaury Forgeot d'Arc
Needs porting to 3.1
/external/python/cpython2/Modules/posixmodule.c
3e4caeb3bf2b2579861e9f3379e3508fbb30549c 21-Feb-2009 Mark Dickinson <dickinsm@gmail.com> Issue #5341: Fix a variety of spelling errors.
/external/python/cpython2/Modules/posixmodule.c
6a743d3694fb5138f5eab393c172c3b6789b0383 10-Feb-2009 Kristján Valur Jónsson <kristjan@ccpgames.com> Issue 4804. Add a function to test the validity of file descriptors on Windows, and stop using global runtime settings to silence the warnings / assertions.
/external/python/cpython2/Modules/posixmodule.c
943a6ddc72e1e23de87ca73f75a0ce31fe55924b 19-Jan-2009 Benjamin Peterson <benjamin@python.org> simplify code
/external/python/cpython2/Modules/posixmodule.c
2e659ce36f9f48abc7515f83037274fbfb1f779e 19-Jan-2009 Kristján Valur Jónsson <kristjan@ccpgames.com> Issue 4957
Let os.ftruncate raise OSError like documented.
/external/python/cpython2/Modules/posixmodule.c
3f15ae37af29dad0aae835d903f3942a11569d41 29-Dec-2008 Martin v. Löwis <martin@v.loewis.de> Merged revisions 68018 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
r68018 | martin.v.loewis | 2008-12-29 19:17:34 +0100 (Mo, 29 Dez 2008) | 2 lines

Issue #1040026: Fix os.times result on systems where HZ is incorrect.
........
/external/python/cpython2/Modules/posixmodule.c
03824e45f67715b58eb03397c6a58aaaecf637fb 29-Dec-2008 Martin v. Löwis <martin@v.loewis.de> Issue #1040026: Fix os.times result on systems where HZ is incorrect.
/external/python/cpython2/Modules/posixmodule.c
bb608a84aa8f1b879f42c418c28045468dedc22a 05-Dec-2008 Georg Brandl <georg@python.org> Merged revisions 67154,67157-67159,67162-67163,67166,67175-67176,67189,67224-67225,67243 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
r67154 | hirokazu.yamamoto | 2008-11-08 04:46:17 +0100 (Sat, 08 Nov 2008) | 1 line

Issue #4071: ntpath.abspath returned an empty string for long unicode path.
........
r67157 | georg.brandl | 2008-11-08 12:47:44 +0100 (Sat, 08 Nov 2008) | 2 lines

Don't use "HOWTO" as the title for all howto .tex files.
........
r67158 | georg.brandl | 2008-11-08 12:48:20 +0100 (Sat, 08 Nov 2008) | 2 lines

Update "Documenting" a bit. Concentrate on Python-specifics.
........
r67159 | georg.brandl | 2008-11-08 13:52:25 +0100 (Sat, 08 Nov 2008) | 2 lines

Fix warning.
........
r67162 | benjamin.peterson | 2008-11-08 17:55:33 +0100 (Sat, 08 Nov 2008) | 1 line

a few compile() and ast doc improvements
........
r67163 | benjamin.peterson | 2008-11-08 18:04:18 +0100 (Sat, 08 Nov 2008) | 1 line

move context clue to versionchanged tag
........
r67166 | benjamin.peterson | 2008-11-08 18:07:06 +0100 (Sat, 08 Nov 2008) | 1 line

clarify what was added
........
r67175 | benjamin.peterson | 2008-11-09 02:44:32 +0100 (Sun, 09 Nov 2008) | 1 line

update link
........
r67176 | benjamin.peterson | 2008-11-09 02:52:32 +0100 (Sun, 09 Nov 2008) | 1 line

fix comment
........
r67189 | benjamin.peterson | 2008-11-11 22:56:06 +0100 (Tue, 11 Nov 2008) | 1 line

use correct name
........
r67224 | georg.brandl | 2008-11-15 09:10:04 +0100 (Sat, 15 Nov 2008) | 2 lines

#4324: fix getlocale() argument.
........
r67225 | brett.cannon | 2008-11-15 23:33:25 +0100 (Sat, 15 Nov 2008) | 1 line

Clarify the docs for the 'strict' argument to httplib.HTTPConnection.
........
r67243 | benjamin.peterson | 2008-11-17 22:39:05 +0100 (Mon, 17 Nov 2008) | 1 line

a few fixes on the download page
........
/external/python/cpython2/Modules/posixmodule.c
ed29bb49f8c6305d00e589fb503f10d5aedd99a1 08-Nov-2008 Hirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp> Issue #4071: ntpath.abspath returned an empty string for long unicode path.
/external/python/cpython2/Modules/posixmodule.c
61376409a9ff1d7e218f3945d0565719b6bfefb4 16-Oct-2008 Hirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp> removed unused _PyUnicode_FromFileSystemEncodedObject.
made win32_chdir, win32_wchdir static.
/external/python/cpython2/Modules/posixmodule.c
2c66b7cd9f314395d7f8ec46a3fab3c19d02bb4d 09-Oct-2008 Hirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp> Merged revisions 66809-66810,66835,66862-66863 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
r66809 | hirokazu.yamamoto | 2008-10-06 10:57:03 +0900 | 1 line

Added the test for issue3762.
........
r66810 | hirokazu.yamamoto | 2008-10-06 11:41:59 +0900 | 1 line

More strict test. Consider the case sys.executable itself is symlink.
........
r66835 | hirokazu.yamamoto | 2008-10-08 03:10:47 +0900 | 1 line

more intensive test on dbm.
........
r66862 | hirokazu.yamamoto | 2008-10-09 19:00:30 +0900 | 3 lines

On windows, os.chdir given unicode was not working if GetCurrentDirectoryW
returned a path longer than MAX_PATH. (But It's doubtful this code path is
really executed because I cannot move to such directory on win2k)
........
r66863 | hirokazu.yamamoto | 2008-10-09 19:11:21 +0900 | 1 line

r66862 contained memory leak.
........
/external/python/cpython2/Modules/posixmodule.c
6c75a30712cb5f00d77582edddc24d0a9850d0a0 09-Oct-2008 Hirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp> r66862 contained memory leak.
/external/python/cpython2/Modules/posixmodule.c
10a018c285219b42d8a1cc972acf9e440a979106 09-Oct-2008 Hirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp> On windows, os.chdir given unicode was not working if GetCurrentDirectoryW
returned a path longer than MAX_PATH. (But It's doubtful this code path is
really executed because I cannot move to such directory on win2k)
/external/python/cpython2/Modules/posixmodule.c
a0fdd72f8e83cc9f3bd5c78094d3f57d4f6defbe 17-Aug-2008 Hirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp> Issue #2222: Fixed reference leak when occured os.rename()
fails unicode conversion on 2nd parameter. (windows only)
/external/python/cpython2/Modules/posixmodule.c
f91d46a17d85da323895950852093117bc21f860 12-Aug-2008 Martin v. Löwis <martin@v.loewis.de> Issue #3139: Make buffer-interface thread-safe wrt. PyArg_ParseTuple,
by denying s# to parse objects that have a releasebuffer procedure,
and introducing s*.

More module might need to get converted to use s*.
/external/python/cpython2/Modules/posixmodule.c
74bd40d85cf70fa8b8b4d9280efbb721c8ef4796 21-Jul-2008 Amaury Forgeot d'Arc <amauryfa@gmail.com> On Windows, silence a Purify warning and initialize the memory passed to CryptGenRandom.
Since python doesn't provide any particular random data, it seems more reasonable anyway.
/external/python/cpython2/Modules/posixmodule.c
86cbf81b47d8eca31ade71f8d6b0653167ffd922 16-Jul-2008 Georg Brandl <georg@python.org> #1608818: errno can get set by every call to readdir().
/external/python/cpython2/Modules/posixmodule.c
fb7a50fbb9d4728909382ba7f9eb65f2c0ab2d79 14-Jul-2008 Gregory P. Smith <greg@mad-scientist.com> Fix posix.fork1() / os.fork1() to only call PyOS_AfterFork() in the child
process rather than both parent and child.

Does anyone actually use fork1()? It appears to be a Solaris thing
but if Python is built with pthreads on Solaris, fork1() and fork()
should be the same.
/external/python/cpython2/Modules/posixmodule.c
5596b0cfc275a649f17a97c881d094a949adad6d 22-Jun-2008 Facundo Batista <facundobatista@gmail.com> Issue #2722. Now the char buffer to support the path string has
not fixed length, it mallocs memory if needed. As a result, we
don't have a maximum for the getcwd() method.
/external/python/cpython2/Modules/posixmodule.c
dd96db63f689e2f0d8ae5a1436b3b3395eec7de5 09-Jun-2008 Gregory P. Smith <greg@mad-scientist.com> This reverts r63675 based on the discussion in this thread:

http://mail.python.org/pipermail/python-dev/2008-June/079988.html

Python 2.6 should stick with PyString_* in its codebase. The PyBytes_* names
in the spirit of 3.0 are available via a #define only. See the email thread.
/external/python/cpython2/Modules/posixmodule.c
593daf545bd9b7e7bcb27b498ecc6f36db9ae395 26-May-2008 Christian Heimes <christian@cheimes.de> Renamed PyString to PyBytes
/external/python/cpython2/Modules/posixmodule.c
5049a858baf3500af5d4eb12838f028aabefc35b 16-May-2008 Georg Brandl <georg@python.org> #2890: support os.O_ASYNC and fcntl.FASYNC.
/external/python/cpython2/Modules/posixmodule.c
f48da8fbcdcf8c9eac2553131a07b8b375c0d726 18-Mar-2008 Gregory P. Smith <greg@mad-scientist.com> Fix chown on 64-bit linux. It needed to take a long (64-bit on 64bit linux) as
uid and gid input to accept values >=2**31 as valid while still accepting
negative numbers to pass -1 to chown for "no change".

Fixes issue1747858.

This should be backported to release25-maint.
/external/python/cpython2/Modules/posixmodule.c
10ed0f50a989f83395b7af67249d44d2419e5d3f 18-Mar-2008 Brett Cannon <bcannon@gmail.com> Remove all traces of HAVE_STRERROR.

The removal of strerror.c led to the function check being removed from
configure.in.
/external/python/cpython2/Modules/posixmodule.c
0a40ffb1b30a904eef00bb0c7ce4e18e7ca3dc75 13-Feb-2008 Georg Brandl <georg@python.org> #2063: correct order of utime and stime in os.times()
result on Windows.
/external/python/cpython2/Modules/posixmodule.c
e6a8074892810f551d9b1c1f16ebde9ebe9cc09d 03-Feb-2008 Christian Heimes <christian@cheimes.de> Another int -> pid_t case
/external/python/cpython2/Modules/posixmodule.c
94dcf0ddbf4bb4b03ea80fe237dbc37796bb3eee 03-Feb-2008 Andrew MacIntyre <andymac@bullseye.apana.org.au> The wrapper function is supposed to be for spawnvpe() so that's
what we should call [this wrapper only available on OS/2].

Backport candidate to 2.5.
/external/python/cpython2/Modules/posixmodule.c
d491d719030de0fbe3ba74d391d043ad00388441 01-Feb-2008 Christian Heimes <christian@cheimes.de> More int -> pid_t.
/external/python/cpython2/Modules/posixmodule.c
951cc0f474e4757e6954f0435952804211c5637c 01-Feb-2008 Christian Heimes <christian@cheimes.de> Fixed bug #1983: Return from fork() is pid_t, not int
/external/python/cpython2/Modules/posixmodule.c
309501a61772f4cb72f1004fcbe73964b4130672 19-Jan-2008 Georg Brandl <georg@python.org> #1663329: add os.closerange() to close a range of fds,
ignoring errors, and use this in subprocess to speed up
subprocess creation in close_fds mode. Patch by Mike Klaas.
/external/python/cpython2/Modules/posixmodule.c
000a074c955a1964959ee908300ef49b41170a06 03-Jan-2008 Christian Heimes <christian@cheimes.de> Modified PyImport_Import and PyImport_ImportModule to always use absolute imports by calling __import__ with an explicit level of 0
Added a new API function PyImport_ImportModuleNoBlock. It solves the problem with dead locks when mixing threads and imports
/external/python/cpython2/Modules/posixmodule.c
e93237dfcc4ee4feee62adafb4e7899487ca864b 19-Dec-2007 Christian Heimes <christian@cheimes.de> #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT. Macros for b/w compatibility are available.
/external/python/cpython2/Modules/posixmodule.c
7b3cc06a9a26e38f379ac802e857a463970e35fa 04-Dec-2007 Martin v. Löwis <martin@v.loewis.de> Forward-port r59310:
os.access now returns True on Windows for any existing directory.
/external/python/cpython2/Modules/posixmodule.c
3628187b66287bdeb8c3c323092bf17e714e68de 30-Nov-2007 Christian Heimes <christian@cheimes.de> Fix for feature request #1528 Add os.fchmod
Georg Brandl has added fchmod() and fchown(). I've contributed lchown but I'm not able to test it on Linux. However it should be available on Mac and some other flavors of Unix.
I've made a quick test of fchmod() and fchown() on my system. They are working as expected.
/external/python/cpython2/Modules/posixmodule.c
b67da6ed2b182d2ef0b4e86e1dd402d27c53422d 24-Nov-2007 Georg Brandl <georg@python.org> #1735632: add O_NOATIME constant to os module.
Also document a few other O_ constants that were missing from documentation.
/external/python/cpython2/Modules/posixmodule.c
af699dd621e83a1569e7325a8d80f54b6585ea6d 04-Sep-2007 Martin v. Löwis <martin@v.loewis.de> Document that we rely on the OS to release the crypto
context. Fixes #1626801.
/external/python/cpython2/Modules/posixmodule.c
91a57216c95b84aa883816fcfacfdd6b91827113 12-Aug-2007 Neal Norwitz <nnorwitz@gmail.com> Fix memory leak in os.readlink
/external/python/cpython2/Modules/posixmodule.c
6819210b9e4e5719a6f7f9c1725f8fa70a8936f6 21-Jul-2007 Martin v. Löwis <martin@v.loewis.de> PEP 3123: Provide forward compatibility with Python 3.0, while keeping
backwards compatibility. Add Py_Refcnt, Py_Type, Py_Size, and
PyVarObject_HEAD_INIT.
/external/python/cpython2/Modules/posixmodule.c
f030394de333ed645e7f1139e2e42f43444efb73 03-May-2007 Kristján Valur Jónsson <kristjan@ccpgames.com> Fix problems in x64 build that were discovered by the testsuite:
- Reenable modules on x64 that had been disabled aeons ago for Itanium.
- Cleared up confusion about compilers for 64 bit windows. There is only Itanium and x64. Added macros MS_WINI64 and MS_WINX64 for those rare cases where it matters, such as the disabling of modules above.
- Set target platform (_WIN32_WINNT and WINVER) to 0x0501 (XP) for x64, and 0x0400 (NT 4.0) otherwise, which are the targeted minimum platforms.
- Fixed thread_nt.h. The emulated InterlockedCompareExchange function didn´t work on x64, probaby due to the lack of a "volatile" specifier. Anyway, win95 is no longer a target platform.
- Itertools module used wrong constant to check for overflow in count()
- PyInt_AsSsize_t couldn't deal with attribute error when accessing the __long__ member.
- PyLong_FromSsize_t() incorrectly specified that the operand were unsigned.

With these changes, the x64 passes the testsuite, for those modules present.
/external/python/cpython2/Modules/posixmodule.c
d83eb316dce49606041304afb6b68e85fb1794af 02-May-2007 Neal Norwitz <nnorwitz@gmail.com> Stop using PyMem_FREE while the GIL is not held. For details see:
http://mail.python.org/pipermail/python-dev/2007-May/072896.html
/external/python/cpython2/Modules/posixmodule.c
0a440d41844aac25178400d33d714d8e479b86d4 26-Apr-2007 Kristján Valur Jónsson <kristjan@ccpgames.com> Export function sanitize_the_mode from fileobject.c as _PyFile_SanitizeMode(). Use this function in posixmodule.c when implementing fdopen(). This fixes test_subprocess.py for a VisualStudio 2005 compile.
/external/python/cpython2/Modules/posixmodule.c
17b8e97e2e2c24322d45c33308212e0d6c32d934 25-Apr-2007 Kristján Valur Jónsson <kristjan@ccpgames.com> Merge change 54909 from release25-maint: Fix several minor issues discovered using code analysis in VisualStudio 2005 Team Edition
/external/python/cpython2/Modules/posixmodule.c
3bf573f918183af170ce2624dd61fe2969ee41aa 04-Apr-2007 Martin v. Löwis <martin@v.loewis.de> Bug #1686475: Support stat'ing open files on Windows again.
Will backport to 2.5.
/external/python/cpython2/Modules/posixmodule.c
382abeff0f1a53ffaaddfea06e8721bf42b66502 19-Feb-2007 Martin v. Löwis <martin@v.loewis.de> Patch #1490190: posixmodule now includes os.chflags() and os.lchflags()
functions on platforms where the underlying system calls are available.
/external/python/cpython2/Modules/posixmodule.c
7a28447d4cd2ad768a1152725cce17d7c14b96c9 27-Jan-2007 Georg Brandl <georg@python.org> Bug #1645944: os.access now returns bool but docstring is not updated
/external/python/cpython2/Modules/posixmodule.c
10168f25ad7d9ea3b4726912584076c4cf05f8cd 22-Oct-2006 Ronald Oussoren <ronaldoussoren@mac.com> Patch #1580674: with this patch os.readlink uses the filesystem encoding to
decode unicode objects and returns an unicode object when the argument is one.
/external/python/cpython2/Modules/posixmodule.c
012bc7253be3c8a04b9478e19157373810b8124b 15-Oct-2006 Martin v. Löwis <martin@v.loewis.de> Bug #1567666: Emulate GetFileAttributesExA for Win95.
Will backport to 2.5.
/external/python/cpython2/Modules/posixmodule.c
18aaa568fd98ec6adcd58f65ffb1a9f6943cfe53 15-Oct-2006 Martin v. Löwis <martin@v.loewis.de> Patch #1576166: Support os.utime for directories on Windows NT+.
/external/python/cpython2/Modules/posixmodule.c
f43893a878991a00da1f1501f70d8b70797f31c0 09-Oct-2006 Martin v. Löwis <martin@v.loewis.de> Bug #1565150: Fix subsecond processing for os.utime on Windows.
/external/python/cpython2/Modules/posixmodule.c
74bb783c2fd8084a835b6663abe5b70c55fa999d 06-Sep-2006 Georg Brandl <georg@python.org> Bug #1551427: fix a wrong NULL pointer check in the win32 version
of os.urandom().
/external/python/cpython2/Modules/posixmodule.c
e0a81afb10f06e688093e28d5e8f42993cef9020 12-Aug-2006 Neal Norwitz <nnorwitz@gmail.com> If _stat_float_times is false, we will try to INCREF ival which could be NULL.
Return early in that case. The caller checks for PyErr_Occurred so this
should be ok.

Klocwork #297
/external/python/cpython2/Modules/posixmodule.c
982e9fea0a9c6026b4d176ce136676ab1893e4b2 24-Jul-2006 Martin v. Löwis <martin@v.loewis.de> Bug #1524310: Properly report errors from FindNextFile in os.listdir.
Will backport to 2.4.
/external/python/cpython2/Modules/posixmodule.c
2a30cd0ef0673710a1a4e188b50c11026c403b2a 10-Jul-2006 Neal Norwitz <nnorwitz@gmail.com> Patch #1516912: improve Modules support for OpenVMS.
/external/python/cpython2/Modules/posixmodule.c
ee1e06d4975d636cbad949aef8d50de1e57e3715 02-Jul-2006 Martin v. Löwis <martin@v.loewis.de> Correct arithmetic in access on Win32. Fixes #1513646.
/external/python/cpython2/Modules/posixmodule.c
0e8bd7e1ccf7f47bc0bb920af899c77669016d3d 10-Jun-2006 Martin v. Löwis <martin@v.loewis.de> Patch #1495999: Part two of Windows CE changes.
- update header checks, using autoconf
- provide dummies for getenv, environ, and GetVersion
- adjust MSC_VER check in socketmodule.c
/external/python/cpython2/Modules/posixmodule.c
dbeaa699cd6056a8e72c3275c5cf863b6fec8f64 09-Jun-2006 Kristján Valur Jónsson <kristjan@ccpgames.com> Turn off warning about deprecated CRT functions on for VisualStudio .NET 2005.
Make the definition #ARRAYSIZE conditional. VisualStudio .NET 2005 already has it defined using a better gimmick.
/external/python/cpython2/Modules/posixmodule.c
96a8c3954cbdb186bc567a490dad8987508ce268 29-May-2006 Georg Brandl <georg@python.org> Make use of METH_O and METH_NOARGS where possible.
Use Py_UnpackTuple instead of PyArg_ParseTuple where possible.
/external/python/cpython2/Modules/posixmodule.c
a43190bc789bebfef15fb2b82f94a19a6bc80000 22-May-2006 Martin v. Löwis <martin@v.loewis.de> Patch #1492356: Port to Windows CE (patch set 1).
/external/python/cpython2/Modules/posixmodule.c
9e5b5e4fe1006bfb54cd673519df2220aa9b56a1 17-May-2006 Georg Brandl <georg@python.org> Fix typo in os.utime docstring (patch #1490189)
/external/python/cpython2/Modules/posixmodule.c
5f5d99c21521972baee65c99ae8b02e9339b8ed3 16-May-2006 Martin v. Löwis <martin@v.loewis.de> - Test for sys/statvfs.h before including it, as statvfs is present
on some OSX installation, but its header file is not.
Will backport to 2.4
/external/python/cpython2/Modules/posixmodule.c
e3edaea33d396334c267fc44c0d8023077905e96 15-May-2006 Martin v. Löwis <martin@v.loewis.de> Fix memory leak.
/external/python/cpython2/Modules/posixmodule.c
77c176d5b561810fa1c87ca53fc8cce4a38553c3 12-May-2006 Martin v. Löwis <martin@v.loewis.de> Fix alignment error on Itanium.
/external/python/cpython2/Modules/posixmodule.c
682b1bb95f6ed243dba1941c02a1bc843cd126c3 12-May-2006 Martin v. Löwis <martin@v.loewis.de> Dynamically allocate path name buffer for Unicode
path name in listdir. Fixes #1431582.
Stop overallocating MAX_PATH characters for ANSI
path names. Stop assigning to errno.
/external/python/cpython2/Modules/posixmodule.c
9f485bcd682ed9744ad21de2be3cf2dd3b009353 08-May-2006 Martin v. Löwis <martin@v.loewis.de> Add missing PyMem_Free.
/external/python/cpython2/Modules/posixmodule.c
d4e3bb3d3976ed3e20ad9c00dae010f32aa981ae 06-May-2006 Martin v. Löwis <martin@v.loewis.de> Port access, chmod, parts of getcwdu, mkdir, and utime to direct Win32 API.
/external/python/cpython2/Modules/posixmodule.c
4fc2bda8d9a9e8a43192e9e714d442e85cb52cbc 04-May-2006 Martin v. Löwis <martin@v.loewis.de> Drop now-unnecessary arguments to posix_2str.
/external/python/cpython2/Modules/posixmodule.c
8e0d494e416a5d143e01b3d05b47d832aae0dadf 04-May-2006 Martin v. Löwis <martin@v.loewis.de> Implement os.{chdir,rename,rmdir,remove} using Win32 directly.
/external/python/cpython2/Modules/posixmodule.c
1ddba60e3d084bfca4615bbd77c3c6f4ed34d8ee 25-Apr-2006 Thomas Wouters <thomas@python.org> Define MAXPATHLEN to be at least PATH_MAX, if that's defined. Python uses
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.
/external/python/cpython2/Modules/posixmodule.c
d06b6f28a0c81401e3c22ab00d1b476b72db552d 23-Apr-2006 Ronald Oussoren <ronaldoussoren@mac.com> Patch 1471925 - Weak linking support for OSX

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.
/external/python/cpython2/Modules/posixmodule.c
26fd9607c729f4dbe322967464834a2bce18c07d 22-Apr-2006 Martin v. Löwis <martin@v.loewis.de> Fix more ssize_t problems.
/external/python/cpython2/Modules/posixmodule.c
449b24ebe9db3265657152ea4edb60cde4a5136b 20-Apr-2006 Neal Norwitz <nnorwitz@gmail.com> Address issues brought up by MvL on python-checkins.
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?
/external/python/cpython2/Modules/posixmodule.c
0d21b1ed54a9c6133ca4b65779647b6d6dde2960 20-Apr-2006 Neal Norwitz <nnorwitz@gmail.com> Whitespace, fix indentation
/external/python/cpython2/Modules/posixmodule.c
94785ef14294e9d924c9ceee3d6f9082d4555f28 20-Apr-2006 Skip Montanaro <skip@pobox.com> Correct implementation and documentation of os.confstr. Add a simple test
case. I've yet to figure out how to provoke a None return I can test.
/external/python/cpython2/Modules/posixmodule.c
dd527fcbcd484c1d4e29798c59ed45452c288eba 18-Apr-2006 Skip Montanaro <skip@pobox.com> reset errno before calling confstr - use confstr() doc to simplify checks afterwards
/external/python/cpython2/Modules/posixmodule.c
19ab6c98cf0525682b74f1f217503c42bacb4916 16-Apr-2006 Martin v. Löwis <martin@v.loewis.de> Initialize structseq types only once.
/external/python/cpython2/Modules/posixmodule.c
ac6bd46d5c30f4e643120aeef1ccd531801a2181 13-Apr-2006 Anthony Baxter <anthonybaxter@gmail.com> spread the extern "C" { } magic pixie dust around. Python itself builds now
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.
/external/python/cpython2/Modules/posixmodule.c
64182fe0b39870d30b08da54696c4d02e7b52bc5 11-Apr-2006 Anthony Baxter <anthonybaxter@gmail.com> Some more changes to make code compile under a C++ compiler.
/external/python/cpython2/Modules/posixmodule.c
05e89b86d66cbd90b9c43ebe89f42dfcc6f558fe 11-Apr-2006 Georg Brandl <georg@python.org> Clear errno before calling opendir() and readdir().
/external/python/cpython2/Modules/posixmodule.c
bbfe4fad361e7190675f28702332ddc377bd8cfd 11-Apr-2006 Georg Brandl <georg@python.org> Bug #1467952: os.listdir() now correctly raises an error if readdir()
fails with an error condition.
/external/python/cpython2/Modules/posixmodule.c
84a98e07f5e754f14c07f46ed9bfd3bbc8769ee2 10-Apr-2006 Neal Norwitz <nnorwitz@gmail.com> Fix warning about ptsname not being a prototype on Solaris. Is this prototype even necessary anymore?
/external/python/cpython2/Modules/posixmodule.c
5fe715f049fa58166a07c677a9c68804a91392eb 04-Apr-2006 Martin v. Löwis <martin@v.loewis.de> Properly support empty woperation in win32_startfile;
correct arguments to ShellExecuteW.
/external/python/cpython2/Modules/posixmodule.c
ad89dc879473e932a2b2daadfa94e7405cb938dc 03-Apr-2006 Georg Brandl <georg@python.org> Bug #1451503: allow unicode filenames in os.startfile().
/external/python/cpython2/Modules/posixmodule.c
2a9a6b0e86320ba0793051f3050034ae4290c764 01-Apr-2006 Thomas Wouters <thomas@python.org> In the fdopen(fd, 'a') case on UNIX, don't try to set fd's flags to -1 if
fcntl() and fdopen() both fail. Will backport.
/external/python/cpython2/Modules/posixmodule.c
644b1e7aac8f048ade4709f248c4d66b85800efc 31-Mar-2006 Georg Brandl <georg@python.org> Add guards against fcntl() not being available on Windows.
/external/python/cpython2/Modules/posixmodule.c
54a188aed8cc8333927a679bb00eda4e25aa0cba 31-Mar-2006 Georg Brandl <georg@python.org> bug #1461855: make os.fdopen() add the O_APPEND flag if using "a" mode.
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.
/external/python/cpython2/Modules/posixmodule.c
1818ed705bcd295fc903d835745d04f2814a8d95 26-Mar-2006 Neal Norwitz <nnorwitz@gmail.com> Try to fix broken compile on openbsd.
/external/python/cpython2/Modules/posixmodule.c
9b00a56464484858bb4050711348ccb8fdb1764f 20-Mar-2006 Neal Norwitz <nnorwitz@gmail.com> Damn Coverity. I can't even sneak in a leak any more. :-)
/external/python/cpython2/Modules/posixmodule.c
6c2f913805bc0c678c7947502acfea5cb0ae0c3a 20-Mar-2006 Neal Norwitz <nnorwitz@gmail.com> The helper is only necessary for wait3/4.
/external/python/cpython2/Modules/posixmodule.c
d5a375496ed4be5ba2059b0b8342ec5bf38d04a6 20-Mar-2006 Neal Norwitz <nnorwitz@gmail.com> Try to cleanup a lot of boilerplate #ifdef wrt wait types and make the code
more consistent (and smaller by 85 lines or so).
/external/python/cpython2/Modules/posixmodule.c
05a45599d7c7e7584a80d7ef70dc47e984664619 20-Mar-2006 Neal Norwitz <nnorwitz@gmail.com> Patch #1309579: wait3 and wait4 were added to the posix module by Chad J. 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).
/external/python/cpython2/Modules/posixmodule.c
d1e0ef68fb3b92b4c54cbb614d521e28078f4788 20-Mar-2006 Neal Norwitz <nnorwitz@gmail.com> SF #1445431, fix some leaks in error conditions.
/external/python/cpython2/Modules/posixmodule.c
e920f0d34014d9864cd8b533c861f62f2a6b0a93 08-Mar-2006 Martin v. Löwis <martin@v.loewis.de> Reformulate 42903 using an if statement.
/external/python/cpython2/Modules/posixmodule.c
516999e6e2b1d89bc29a8930d651e4cddf968bfe 07-Mar-2006 Georg Brandl <georg@python.org> Fix bug introduced in rev. 42884.
/external/python/cpython2/Modules/posixmodule.c
622927b8502b0d638d52a65d6c03f4d822616b11 07-Mar-2006 Georg Brandl <georg@python.org> Bug #1432525: os.listdir now releases the GIL while calling
readdir().
/external/python/cpython2/Modules/posixmodule.c
725507b52ec40ab49ad87596fff7434322b9b5b1 07-Mar-2006 Martin v. Löwis <martin@v.loewis.de> Change int to Py_ssize_t in several places.
Add (int) casts to silence compiler warnings.
Raise Python exceptions for overflows.
/external/python/cpython2/Modules/posixmodule.c
67d70eb957faf61e0cba548fcad374ec361429c4 01-Mar-2006 Tim Peters <tim.peters@gmail.com> Repair mangled code in the Windows flavor of
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.
/external/python/cpython2/Modules/posixmodule.c
68bc4f9ae574b81fc14e54c9e96ea2b4fb4eaecb 01-Mar-2006 Thomas Wouters <thomas@python.org> Py_ssize_t-ify.
/external/python/cpython2/Modules/posixmodule.c
d69e0345717800826ee49d7234c48d333e75c2f0 19-Feb-2006 Hye-Shik Chang <hyeshik@gmail.com> Fix a build problem introduced by r42230.
/external/python/cpython2/Modules/posixmodule.c
f4f4415a18cebdc6e0498c8b178e12978414f5d0 18-Feb-2006 Georg Brandl <georg@python.org> Patch #1393157: os.startfile() now has an optional argument to specify
a "command verb" to invoke on the file.
/external/python/cpython2/Modules/posixmodule.c
18e165558b24d29e7e0ca501842b9236589b012a 15-Feb-2006 Martin v. Löwis <martin@v.loewis.de> Merge ssize_t branch.
/external/python/cpython2/Modules/posixmodule.c
14694662d530d0d1823e1d86f2e5b2e4ec600e86 03-Feb-2006 Martin v. Löwis <martin@v.loewis.de> Drop C library for stat/fstat on Windows.
/external/python/cpython2/Modules/posixmodule.c
1ac754fa10f5d199d19911e21185d0970cb3073f 19-Jan-2006 Neal Norwitz <nnorwitz@gmail.com> Check return result from Py_InitModule*(). This API can fail.

Probably should be backported.
/external/python/cpython2/Modules/posixmodule.c
30b5c5d0116f8e670a6ca74dcb6bd076a919d681 19-Dec-2005 Neal Norwitz <nnorwitz@gmail.com> Fix SF bug #1072182, problems with signed characters.

Most of these can be backported.
/external/python/cpython2/Modules/posixmodule.c
a13c2446dc4620f806ea5155289c36ab91cad484 22-Nov-2005 Georg Brandl <georg@python.org> Bug #869197: setgroups rejects long integer argument
/external/python/cpython2/Modules/posixmodule.c
e9f8ec98d4cd4542b5d6c5870d56a1ce1ae5d03b 25-Sep-2005 Georg Brandl <georg@python.org> Commit memory leaking fix.
/external/python/cpython2/Modules/posixmodule.c
3efd0a1e860183ad41134070076f84bc555ef653 19-Sep-2005 Neal Norwitz <nnorwitz@gmail.com> Remove unnecessary/extra parens when returning a value.
/external/python/cpython2/Modules/posixmodule.c
24b3c229857faae7964bce5a1c59617a3e0690d0 19-Sep-2005 Neal Norwitz <nnorwitz@gmail.com> Forward port fixes for problems reported by valgrind
/external/python/cpython2/Modules/posixmodule.c
402b53d43fe0b711806d3ac55ee7ce22bba900d1 14-Sep-2005 Georg Brandl <georg@python.org> bug [ 1007046 ] os.startfile() doesn't accept Unicode filenames
/external/python/cpython2/Modules/posixmodule.c
f09582eeda07aafba4f6169acec336927972d89b 14-Aug-2005 Martin v. Löwis <martin@v.loewis.de> Correct definition of ST_GEN_IDX.
/external/python/cpython2/Modules/posixmodule.c
ebd9d5ba1abc432f3a11b99ac32657b4cea7ecfd 09-Aug-2005 Martin v. Löwis <martin@v.loewis.de> Patch #1180695: Implement nanosecond stat resolution on FreeBSD,
add st_gen, st_birthtime.
/external/python/cpython2/Modules/posixmodule.c
b89638148b95c4a018fc8f6c4938ffcd0e1b341a 05-Jul-2005 Michael W. Hudson <mwh@python.net> Fix bug

[ 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.
/external/python/cpython2/Modules/posixmodule.c
5f937a7b8b1ba766ffada44d27f84ab1a43dc980 02-Jun-2005 Hye-Shik Chang <hyeshik@gmail.com> Patch #1212117: Add optional attribute st_flags to os.stat_result
when the member is available on the platform. (Contributed by
Diego Petteno)
/external/python/cpython2/Modules/posixmodule.c
5ff14927209fe4a6c3085bf600e4ef80bdf6ff4d 16-May-2005 Skip Montanaro <skip@pobox.com> Add O_SHLOCK & O_EXLOCK. Closes patch #1103951.
/external/python/cpython2/Modules/posixmodule.c
b60ae9960182b8eecb26da12171917ee5a6cc1fc 08-Mar-2005 Martin v. Löwis <martin@v.loewis.de> Convert file names of posix.access according to the file system encoding.
/external/python/cpython2/Modules/posixmodule.c
9867ced6c2ba0a47a3d6fa54fdcc0d3a7d31597b 31-Jan-2005 Michael W. Hudson <mwh@python.net> Fix

[ 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?
/external/python/cpython2/Modules/posixmodule.c
fe33d0ba87f5468b50f939724b303969711f3be5 16-Jan-2005 Martin v. Löwis <martin@v.loewis.de> Default stat_float_times to true.
/external/python/cpython2/Modules/posixmodule.c
a3be25847756c1cabdda2e4b21cc2ed1967e69fd 18-Dec-2004 Andrew MacIntyre <andymac@bullseye.apana.org.au> fix unterminated comment
/external/python/cpython2/Modules/posixmodule.c
a4a8afb4e1fe9a2a314f57d82310c28ac8e31132 12-Dec-2004 Andrew MacIntyre <andymac@bullseye.apana.org.au> OS/2 specific fixes related to SF bug # 1003471.

Also revise a related function to minimise file handle/pipe leakage
and improve reliability.
/external/python/cpython2/Modules/posixmodule.c
8a560dee7291f75968eea773c1258f2c25b5a81f 13-Oct-2004 Anthony Baxter <anthonybaxter@gmail.com> Patch 977343, Solaris likes sys/loadavg.h. Added support for sys/loadavg.h
detection to configure &c.
/external/python/cpython2/Modules/posixmodule.c
9ceaa72ebe96cb5423aa3fb2adede3fcd1c7b6b0 13-Oct-2004 Anthony Baxter <anthonybaxter@gmail.com> Patch #975056 - fixes for restartable signals on *BSD. In addition,
a few remaining calls to signal() were converted to PyOS_setsig().
/external/python/cpython2/Modules/posixmodule.c
b6aa856f258d118b0605a60874f33c398dee780f 27-Sep-2004 Armin Rigo <arigo@tunes.org> Patch #1009075, bug #952953: allow execve with empty 2nd argument
/external/python/cpython2/Modules/posixmodule.c
d311538a93f91d94963b4fdaac8e66e3598df64e 30-Aug-2004 Tim Peters <tim.peters@gmail.com> win32_urandom(): There's no need to copy the generated byte string, so
don't.
/external/python/cpython2/Modules/posixmodule.c
9b279a8df4165fa7b36eaf191b017990d7d497f5 30-Aug-2004 Tim Peters <tim.peters@gmail.com> win32_urandom(): pass the function name to PyArg_ParseTuple, for better
error msgs.
/external/python/cpython2/Modules/posixmodule.c
51eba6115dd0289a8497fe184c0e699343696cb3 30-Aug-2004 Tim Peters <tim.peters@gmail.com> win32_urandom(): Raise ValueError if the argument is negative.
/external/python/cpython2/Modules/posixmodule.c
4ad8217ae993bf942a475ea4abfade50cc60a9c7 30-Aug-2004 Tim Peters <tim.peters@gmail.com> win32_urandom(): Rewrite to Python C standards (hard tabs, function name
in first column, no parens around return value).
/external/python/cpython2/Modules/posixmodule.c
dc3883f671893fe338ecbd25e84316728c6c48b9 29-Aug-2004 Martin v. Löwis <martin@v.loewis.de> Patch #934711: Expose platform-specific entropy.
/external/python/cpython2/Modules/posixmodule.c
969297f488f314833e8ed591123deff7bd154cbd 15-Jun-2004 Martin v. Löwis <martin@v.loewis.de> Return unicode strings from _getfullpathname even on W9X. Fixes #924703 .
/external/python/cpython2/Modules/posixmodule.c
2adf2109938bcdf7c527ade6ba8b5d631080e115 09-Jun-2004 Neal Norwitz <nnorwitz@gmail.com> Ensure path is initialized to prevent freeing random memory
(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.
/external/python/cpython2/Modules/posixmodule.c
9665271f92a5aa7fcd02eda4b6e67f2b23941cb3 06-Jun-2004 Neal Norwitz <nnorwitz@gmail.com> Plug a few memory leaks in utime(). path is allocated from within
PyArg_ParseTuple() since the format is "et" This change should
be reviewed carefully.

Bugfix candidate.
/external/python/cpython2/Modules/posixmodule.c
d8948725d2e0693809c69d19417b9ffc2f525517 02-Jun-2004 Martin v. Löwis <martin@v.loewis.de> Patch #954115: Fix os.stat handling of UNC roots.
Will backport to 2.3.
/external/python/cpython2/Modules/posixmodule.c
2d5914b17e79803251693531ef45815b42da3933 04-May-2004 Mark Hammond <mhammond@skippinet.com.au> Fix [ 947405 ] os.utime() raises bad exception for unicode filenames
/external/python/cpython2/Modules/posixmodule.c
69e18c9344b1bc72d1f6c26de0bd41f3ba2c274c 04-Apr-2004 Andrew MacIntyre <andymac@bullseye.apana.org.au> OS/2 has support for spawnvp() and spawnvpe() in the C libraries supplied
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.
/external/python/cpython2/Modules/posixmodule.c
da4d6cb57340f44ab72bc8f0284ca839372bbeb6 29-Mar-2004 Andrew MacIntyre <andymac@bullseye.apana.org.au> OS/2 VACPP build updates/fixes
/external/python/cpython2/Modules/posixmodule.c
94f1d71d7037fd70a771c6a269c81051d510b904 16-Feb-2004 Neal Norwitz <nnorwitz@gmail.com> Fix docstrings to mention the correct function
/external/python/cpython2/Modules/posixmodule.c
7befb9966e1435475a9d2e9d3cc3670564ce77aa 10-Feb-2004 Skip Montanaro <skip@pobox.com> remove support for missing ANSI C header files (limits.h, stddef.h, etc).
/external/python/cpython2/Modules/posixmodule.c
ce59c04127cb82127e247f5e986b07cbb6c39c61 17-Jan-2004 Skip Montanaro <skip@pobox.com> Remove support for SunOS 4.
Remove BAD_EXEC_PROTOYPE (leftover from IRIX 4 demolition).
/external/python/cpython2/Modules/posixmodule.c
8135fd53656cac76a2bc01a4a03331a5bdc87b23 16-Jan-2004 Andrew M. Kuchling <amk@amk.ca> Make parameter names in docstring more mnemonic
/external/python/cpython2/Modules/posixmodule.c
2b2c97356f178579be673fad2eb8032f98d91b44 04-Jan-2004 Hye-Shik Chang <hyeshik@gmail.com> FIx unicodefilename support of posix.uname(). This fixes test_unicode_file
failure on FreeBSD.
/external/python/cpython2/Modules/posixmodule.c
817c929bba3971a452c86c55ea6103491fdd450d 03-Dec-2003 Mark Hammond <mhammond@skippinet.com.au> Fix [ 846133 ] os.chmod/os.utime/shutil do not work with unicode filenames
/external/python/cpython2/Modules/posixmodule.c
49ee14dac5da2249f0f55f00190a9b9f01d23642 10-Nov-2003 Martin v. Löwis <martin@v.loewis.de> Patch #839038: Add getsid(2).
/external/python/cpython2/Modules/posixmodule.c
9ad853bc371e420b20dacbfe00af9da2ba5d3b6d 31-Oct-2003 Martin v. Löwis <martin@v.loewis.de> Patch #788404: ignore "b" and "t" mode modifiers in posix_popen.
Fixes #703198. Backported to 2.3.
/external/python/cpython2/Modules/posixmodule.c
f0dfc7ac5c2f76baaae0c3b45bc339281cfa2adc 20-Oct-2003 Walter Dörwald <walter@livinglogic.de> Fix a bunch of typos in documentation, docstrings and comments.
(From SF patch #810751)
/external/python/cpython2/Modules/posixmodule.c
8ae468965700fd9900efc28bff8fa2015dae2bef 12-Oct-2003 Raymond Hettinger <python@rcn.com> Simplify and speedup uses of Py_BuildValue():

* 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)
/external/python/cpython2/Modules/posixmodule.c
212ede6cbf2ce9277d6e5bced1137ec5914cc421 20-Sep-2003 Martin v. Löwis <martin@v.loewis.de> Patch #730597: Disable POPEN for RTEMS.
/external/python/cpython2/Modules/posixmodule.c
1b699a5f00b427d95772349726d1ce1ab92718a7 12-Sep-2003 Martin v. Löwis <martin@v.loewis.de> Patch #790000: Allow os.access to handle Unicode file name.
/external/python/cpython2/Modules/posixmodule.c
b5cb66542d76d303fe0f30ef194788e1fcfbba79 02-Sep-2003 Raymond Hettinger <python@rcn.com> SF patch #798534: Windows os.popen needlessly gets a reference to tuple ()
(Contributed by Andrew Gaul.)

Fixes a minor leak.
/external/python/cpython2/Modules/posixmodule.c
7edd0a9b21d28fceed4594332b72e794242ce0e0 06-Aug-2003 Mark Hammond <mhammond@skippinet.com.au> Demonstrate and fix [ 783882 ] os.lstat crashes with Unicode filename.

Will also check in on the 2.3 branch.
/external/python/cpython2/Modules/posixmodule.c
807413d3b2474f4bff92cb2370134a1cf1cecf0b 11-Jun-2003 Brett Cannon <bcannon@gmail.com> Clarify docstring for symlink.
/external/python/cpython2/Modules/posixmodule.c
c16f3bd8a391a68427a95e15a3c1894198ff0377 03-May-2003 Martin v. Löwis <martin@v.loewis.de> Patch #708495: Port more stuff to OpenVMS.
/external/python/cpython2/Modules/posixmodule.c
11b230696081e5c91153229616732a707dc9f94d 23-Apr-2003 Tim Peters <tim.peters@gmail.com> Enable os.fsync() for Windows, mapping it to MS's _commit() there. The
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).
/external/python/cpython2/Modules/posixmodule.c
baf25b06a63250aa7e6e5571de53977fa3322750 21-Apr-2003 Andrew MacIntyre <andymac@bullseye.apana.org.au> apply Mark Hammond's PEP 311 changes to the EMX ripoff of the Windows
popen[234]() code
/external/python/cpython2/Modules/posixmodule.c
75e0145bb52af655643469df0c899618fbbcbe53 21-Apr-2003 Andrew MacIntyre <andymac@bullseye.apana.org.au> - DosSetExtLIBPATH objects to a NULL pointer, but a pointer to a NULL
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)
/external/python/cpython2/Modules/posixmodule.c
8d98d2cb95ac37147a4de5a119869211e8351324 19-Apr-2003 Mark Hammond <mhammond@skippinet.com.au> New PyGILState_ API - implements pep 311, from patch 684256.
/external/python/cpython2/Modules/posixmodule.c
b9a0f9121876cbc728cbef88f16bb32b92712d2d 29-Mar-2003 Martin v. Löwis <martin@v.loewis.de> Rename LONG_LONG to PY_LONG_LONG. Fixes #710285.
/external/python/cpython2/Modules/posixmodule.c
2deaddb0d6ea57596ce02ea0ab43e9ef54ee3887 21-Mar-2003 Neal Norwitz <nnorwitz@gmail.com> Get rid of warning on IRIX
/external/python/cpython2/Modules/posixmodule.c
b59798b1573d542016bab989fe8439b10580092c 21-Mar-2003 Neal Norwitz <nnorwitz@gmail.com> Add support for os.openpty() on AIX which uses /dev/ptc instead of /dev/ptmx.
/external/python/cpython2/Modules/posixmodule.c
7a924e6eb28ac0b18231a3f4ed1101c78be2c2ba 05-Mar-2003 Martin v. Löwis <martin@v.loewis.de> Patch #696645: Remove VMS code with uncertain authorship.
/external/python/cpython2/Modules/posixmodule.c
6a421839676a4c946ccb1280baae31175fc85253 04-Mar-2003 Just van Rossum <just@letterror.com> os.listdir(): Fall back to the original byte string if conversion to unicode
fails, as discussed in patch #683592.
/external/python/cpython2/Modules/posixmodule.c
2fe07fda2d2d6f88e99a83ed7c625e80489a6f4d 03-Mar-2003 Just van Rossum <just@letterror.com> plugged leak noted by nnorwitz: the 'et' format returns allocated memory
/external/python/cpython2/Modules/posixmodule.c
96b1c903f5310202a665e86e624a38ede50429c3 03-Mar-2003 Just van Rossum <just@letterror.com> Patch #683592 revisited, after discussions with MvL:
- Implement the behavior as specified in PEP 277, meaning os.listdir()
will only return unicode strings if it is _called_ with a unicode
argument.
- And then return only unicode, don't attempt to convert to ASCII.
- Don't switch on Py_FileSystemDefaultEncoding, but simply use the
default encoding if Py_FileSystemDefaultEncoding is NULL. This means
os.listdir() can now raise UnicodeDecodeError if the default encoding
can't represent the directory entry. (This seems better than silcencing
the error and fall back to a byte string.)
- Attempted to decribe the above in Doc/lib/libos.tex.
- Reworded the Misc/NEWS items to reflect the current situation.

This checkin also fixes bug #696261, which was due to os.listdir() not
using Py_FileSystemDefaultEncoding, like all file system calls are
supposed to.
/external/python/cpython2/Modules/posixmodule.c
46c9784f68a8dbb4f13fa86ac780c45a4363b8a8 25-Feb-2003 Just van Rossum <just@letterror.com> Patch #683592: unicode support for os.listdir()
os.listdir() may now return unicode strings on platforms that set
Py_FileSystemDefaultEncoding.
/external/python/cpython2/Modules/posixmodule.c
05107b6af7c492e8090bf3a2de06cc8930d84102 19-Feb-2003 Mark Hammond <mhammond@skippinet.com.au> os.mkdir() would crash with a Unicode filename and mode param.
/external/python/cpython2/Modules/posixmodule.c
e241ce830ab49be5af21b5cc08660866efc48f2e 17-Feb-2003 Neal Norwitz <nnorwitz@gmail.com> Added test_posix (hopefully it works on Windows).
Remove PyArg_ParseTuple() for methods which take no args,
use METH_NOARGS instead
/external/python/cpython2/Modules/posixmodule.c
ec74f2fda79663d9e61d704315b737e262b83618 12-Feb-2003 Neal Norwitz <nnorwitz@gmail.com> Add more missing PyErr_NoMemory() after failled memory allocs
/external/python/cpython2/Modules/posixmodule.c
4adc9abc32a26f5ce5e2dada33d019f31170b5be 10-Feb-2003 Neal Norwitz <nnorwitz@gmail.com> Fix memory leak of newstr when putenv() fails
/external/python/cpython2/Modules/posixmodule.c
8e914d9a1d67e921e3e9e4209ee08c8e54eb2a7a 10-Jan-2003 Neal Norwitz <nnorwitz@gmail.com> Get rid of compiler warnings
/external/python/cpython2/Modules/posixmodule.c
5676bd1c2dcee741f9340e15cd5e7fe8d374c212 07-Jan-2003 Barry Warsaw <barry@python.org> all_ins(): EX_OK and friends, constants from sysexits.h
/external/python/cpython2/Modules/posixmodule.c
14e73b186414d6e67cad9924ad72fab1a7d70861 01-Jan-2003 Martin v. Löwis <martin@v.loewis.de> Expose I_ constants. Auto-detect stropts.h. Properly configure the slave terminal.
/external/python/cpython2/Modules/posixmodule.c
6700e47b3c278dce4e4f12ed9e85964efa46788c 31-Dec-2002 Neal Norwitz <nnorwitz@gmail.com> Fix compilation errors on HPUX11
/external/python/cpython2/Modules/posixmodule.c
c8b2e770cfd59132e447d3445556704b1a49fa89 31-Dec-2002 Martin v. Löwis <martin@v.loewis.de> Restore signalhandler in case of error. Fix type of signal handler.
/external/python/cpython2/Modules/posixmodule.c
24a880b499a53436de52ef9ef107db001e59e24b 31-Dec-2002 Martin v. Löwis <martin@v.loewis.de> Patch #656590: /dev/ptmx support for ptys.
/external/python/cpython2/Modules/posixmodule.c
438b534ad0e7522cadba20cd3aec41d02b2bc09b 27-Dec-2002 Martin v. Löwis <martin@v.loewis.de> Patch #657889: Implement posix.getloadavg.
/external/python/cpython2/Modules/posixmodule.c
0847c5c6c758ebeda4695e26b4aecc48d940d74d 13-Dec-2002 Guido van Rossum <guido@python.org> execve(), spawnve(): add some extra sanity checking to env;
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.
/external/python/cpython2/Modules/posixmodule.c
79acb9edfa893b5072350c82fd0645d023b13b03 06-Dec-2002 Martin v. Löwis <martin@v.loewis.de> Patch #614055: Support OpenVMS.
/external/python/cpython2/Modules/posixmodule.c
0073f2e42865766d1de6472b49a9181cef49a4d9 22-Nov-2002 Martin v. Löwis <martin@v.loewis.de> Fix --disable-unicode compilation problems.
/external/python/cpython2/Modules/posixmodule.c
3b918c3787583aca1563a4f9f26371983c4bc388 21-Nov-2002 Walter Dörwald <walter@livinglogic.de> Comment out the getcwdu implementation for --disable-unicode builds
/external/python/cpython2/Modules/posixmodule.c
1f043e28f4d8cb4a32da3b07f3719647ba3078b2 07-Nov-2002 Thomas Heller <theller@ctypes.org> Enforce valid filemode. Fixes SF Bug #623464.
/external/python/cpython2/Modules/posixmodule.c
d631ebe20b2a94bff9065bae77230d322f24f398 02-Nov-2002 Martin v. Löwis <martin@v.loewis.de> Remove extra argument in mknod. Fixes #632628.
/external/python/cpython2/Modules/posixmodule.c
60a5d72908a8422d15452356892fe592c80dad33 16-Oct-2002 Martin v. Löwis <martin@v.loewis.de> Patch #623780: Replace obsolete struct macros.
/external/python/cpython2/Modules/posixmodule.c
f607bdaa77475ec8c94614414dc2cecf8fd1ca0a 16-Oct-2002 Martin v. Löwis <martin@v.loewis.de> Add PyStructSequence_UnnamedField. Add stat_float_times.
Use integers in stat tuple, optionally floats in named fields.
/external/python/cpython2/Modules/posixmodule.c
1e700d24e9022a75922dd8d7a6fdb4bd522beedf 16-Oct-2002 Guido van Rossum <guido@python.org> posix_execve(): add missing argument for "et" format in PyArg_Parse()
call. This caused mysterious crashes (hard to debug because it was
happening in a child process).
/external/python/cpython2/Modules/posixmodule.c
c18b3082294199415883c5ef6c66c69089f40a9e 12-Oct-2002 Neal Norwitz <nnorwitz@gmail.com> Fix a few docstrings, remove extra commas
/external/python/cpython2/Modules/posixmodule.c
dbe3f76270d8bc22f1201e6ac1d63dbe3124dc3f 10-Oct-2002 Martin v. Löwis <martin@v.loewis.de> Patch #569139: Implementation of major, minor and makedev.
/external/python/cpython2/Modules/posixmodule.c
114619e1ed7537d4e741516340eea40e19dcea2c 07-Oct-2002 Martin v. Löwis <martin@v.loewis.de> Apply file system default encoding to exec and spawn path and arguments.
/external/python/cpython2/Modules/posixmodule.c
92e4dd865709f4a4be2b11453ef4de954b8d7b14 05-Oct-2002 Tim Peters <tim.peters@gmail.com> s/_alloca/alloca/g; Windows doesn't need the former, at least not unless
__STDC__ is defined (or something like that ...).
/external/python/cpython2/Modules/posixmodule.c
d3890360694d4ec5f77350610b117a327b4e5209 03-Oct-2002 Mark Hammond <mhammond@skippinet.com.au> Trivial fix to the pep277 checkin: ensure that exceptions always have a filename attribute (previously did only when string filenames were passed, but not when unicode)
/external/python/cpython2/Modules/posixmodule.c
c2e85bd4e20dc3b5bc446a705a46397c799f56c0 03-Oct-2002 Mark Hammond <mhammond@skippinet.com.au> Patch 594001: PEP 277 - Unicode file name support for Windows NT.
/external/python/cpython2/Modules/posixmodule.c
8eb92a014be020c99dad91ad2f7a8cbdcfa33d86 19-Sep-2002 Martin v. Löwis <martin@v.loewis.de> Patch #608999: Fix portability problems with MIPSPro 7.x
/external/python/cpython2/Modules/posixmodule.c
bd6be7aba5e5bc374aec42cd2e0aa8dcc7d230fb 15-Sep-2002 Guido van Rossum <guido@python.org> I think it makes more sense that the pseudo filename used by fdopen()
be "<fdopen>" rather than "(fdopen)".
/external/python/cpython2/Modules/posixmodule.c
96940cf30dcaac664e3af1dca79b502c78a41248 10-Sep-2002 Tim Peters <tim.peters@gmail.com> extract_time(): Squash compiler warning about possibly information-
losing implicit double->long cast.
/external/python/cpython2/Modules/posixmodule.c
076b209ca4c1aca4feafa6f41a4051454973c2e6 10-Sep-2002 Martin v. Löwis <martin@v.loewis.de> Add missing return statement.
/external/python/cpython2/Modules/posixmodule.c
6aa9fdb86a4b9317adea991b62e023142e294877 10-Sep-2002 Martin v. Löwis <martin@v.loewis.de> Use utimes(2) where available to support microsecond timestamps.
/external/python/cpython2/Modules/posixmodule.c
a32c99412914058f47bc50336c7c83d38331e880 09-Sep-2002 Martin v. Löwis <martin@v.loewis.de> Always generate floats for stat_result; fix configure test.
/external/python/cpython2/Modules/posixmodule.c
94717ed1d4e8c361656cfdfa16ccc3364073cde8 09-Sep-2002 Martin v. Löwis <martin@v.loewis.de> Patch #606592: Subsecond timestamps in stat_result.
/external/python/cpython2/Modules/posixmodule.c
674deb2eeaeb8358415457413502e3b5851a7010 01-Sep-2002 Guido van Rossum <guido@python.org> SF bug 601775 - some int results that should be bool.
/external/python/cpython2/Modules/posixmodule.c
7dca21e59fdf088cb9cc7d04f03b6fd2a7c9d509 19-Aug-2002 Tim Peters <tim.peters@gmail.com> SF bug 595919: popenN return only text mode pipes
popen2() and popen3() created text-mode pipes even when binary mode
was asked for. This was specific to Windows.
/external/python/cpython2/Modules/posixmodule.c
fe51c6d66e0fbf6a142036bee2c448bd7fe8fefc 02-Aug-2002 Mark Hammond <mhammond@skippinet.com.au> Excise DL_EXPORT/DL_IMPORT from Modules/*. Required adding a prototype
for Py_Main().

Thanks to Kalle Svensson and Skip Montanaro for the patches.
/external/python/cpython2/Modules/posixmodule.c
ea0c3828c00de81c953e147e085d4d2b4b906850 01-Aug-2002 Jack Jansen <jack.jansen@cwi.nl> - Get _environ through the NSEnviron call in a MacOSX framework. This allows
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).
/external/python/cpython2/Modules/posixmodule.c
cfa1f52941b525d339e2db45b968b99f7334fbff 30-Jul-2002 Neal Norwitz <nnorwitz@gmail.com> Revert changes to use PyArg_Parse(), so any sequence will continue to work -- Spotted by Just van Rossum
/external/python/cpython2/Modules/posixmodule.c
50584b4c781653ee4c034a2836a1d8a6b26048df 30-Jul-2002 Neal Norwitz <nnorwitz@gmail.com> Use PyArg_ParseTuple() instead of PyArg_Parse() which is deprecated
/external/python/cpython2/Modules/posixmodule.c
50d5d4fe31d7f75021b8798d6b0c95362a10f4dd 30-Jul-2002 Neal Norwitz <nnorwitz@gmail.com> Fix docstring to be consistent with parameter name (prefix)
/external/python/cpython2/Modules/posixmodule.c
1169011f6f29b4d332aa8c9ea543c64dc2e11bbb 30-Jul-2002 Neal Norwitz <nnorwitz@gmail.com> SF patch #584245, get python to link on OSF1 (Dec Unix)
/external/python/cpython2/Modules/posixmodule.c
0cec0ffc787ee969b4003d04c031d38e2c523715 28-Jul-2002 Martin v. Löwis <martin@v.loewis.de> Patch #573770: Implement lchown.
/external/python/cpython2/Modules/posixmodule.c
ee66d0c3d5e2bc63a81ec5893c81671a1d8e9635 15-Jul-2002 Tim Peters <tim.peters@gmail.com> /F revealed that ShellExecute() only requires shellapi.h, not the
full-blown windows.h, so changed accordingly.
/external/python/cpython2/Modules/posixmodule.c
155adbdcbb18a8eb66826034bff391f3cb0059a6 15-Jul-2002 Mark Hammond <mhammond@skippinet.com.au> Fix bug 231273 - [windows] os.popen doens't kill subprocess when interrupted

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.
/external/python/cpython2/Modules/posixmodule.c
7a1f91709bf825964e47d751ca84e90e7502a936 15-Jul-2002 Tim Peters <tim.peters@gmail.com> WINDOWS_LEAN_AND_MEAN: There is no such symbol, although a very few
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.
/external/python/cpython2/Modules/posixmodule.c
6238d2b024f061159b2613387ff700695c10deef 30-Jun-2002 Martin v. Löwis <martin@v.loewis.de> Patch #569753: Remove support for WIN16.
Rename all occurrences of MS_WIN32 to MS_WINDOWS.
/external/python/cpython2/Modules/posixmodule.c
f7ce04dcb49e482ba31d25b819d5e933bf03fc4d 20-Jun-2002 Fred Drake <fdrake@acm.org> Clean up docstrings:
- 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.
/external/python/cpython2/Modules/posixmodule.c
a0b907581611d19c3b7741f15c59b873009036f4 18-Jun-2002 Guido van Rossum <guido@python.org> Corect speling and add \n\ to line ends in new docstring for access().
/external/python/cpython2/Modules/posixmodule.c
7f591246936a5a2b763851e3cb866be44a321d50 18-Jun-2002 Fred Drake <fdrake@acm.org> Clarified documentation for os.access().
Patch contributed by Sean Reifschneider.
Closes SF patch #570618.
/external/python/cpython2/Modules/posixmodule.c
0c2c17c4730cbb7c58b16d2890c7f9ef1fe7e7a9 13-Jun-2002 Neal Norwitz <nnorwitz@gmail.com> Use new PyDoc_STRVAR macro
/external/python/cpython2/Modules/posixmodule.c
606edc1d971a0c5e4f5d379ecfa69f42b5b1d691 13-Jun-2002 Martin v. Löwis <martin@v.loewis.de> Patch #568235: Add posix.setpgid.
/external/python/cpython2/Modules/posixmodule.c
14f8b4cfcb98de74b9c6e9316539be9e2a5cd31f 13-Jun-2002 Martin v. Löwis <martin@v.loewis.de> Patch #568124: Add doc string macros.
/external/python/cpython2/Modules/posixmodule.c
db9198a8b59377e9407811e571be8baca74d2475 10-Jun-2002 Guido van Rossum <guido@python.org> SF bug 563750 (Alex Martelli): posix_tmpfile():

The file returned by tmpfile() has mode w+b, so use that in the call
to PyFile_FromFile().

Bugfix candidate.
/external/python/cpython2/Modules/posixmodule.c
2b41b0d6a70330153952477baec47ec8c2efdc18 04-May-2002 Martin v. Löwis <martin@v.loewis.de> Rename posix_WCONTINUED to posix_WIFCONTINUED, call WIFCONTINUED inside,
add it to the posix_methods.
/external/python/cpython2/Modules/posixmodule.c
106c1a0e7a38f59191182069debd4eb7490f9bad 23-Apr-2002 Fred Drake <fdrake@acm.org> WCOREDUMP(), WIFCONTINUED(), WCONTINUED, WUNTRACED: New.

isatty(), WIFEXITED(), WIFSIGNALED(), WIFSTOPPED(): Changed to return
bools instead of ints.
/external/python/cpython2/Modules/posixmodule.c
3d94942000dde4266487969eb75f27fd3d46099f 20-Apr-2002 Neal Norwitz <nnorwitz@gmail.com> #546163, fix link problem on Solaris 8 for makedev when using mknod
/external/python/cpython2/Modules/posixmodule.c
fdbeb5a4ce440de5c3d0638228cd9de0361bc4ac 19-Apr-2002 Neal Norwitz <nnorwitz@gmail.com> #546155, remove posix_int() it is not used
/external/python/cpython2/Modules/posixmodule.c
4d1e64bb4606c76770af8e66e699220a3d146631 15-Apr-2002 Fred Drake <fdrake@acm.org> posix_fildes(): New helper: run a function that takes a file descriptor
and returns None. This allows any object that supports the fileno()
method to be passed as a file descriptor, not just an integer.

posix_fchdir(): New exposed function: implements posix.fchdir(). This
closes SF feature #536796.

posix_fsync(), posix_fdatasync(): Convert to use posix_fildes() instead
of posix_int(). This also changes them from METH_VARARGS to METH_O
functions.

setup_confname_table(): Remove unused variable. Change to take a module
rather than a dict to save the resulting table into.

setup_confname_tables(): Change to take a module instead of a dict to
pass to setup_confname_table().
/external/python/cpython2/Modules/posixmodule.c
06a83e90aa345c27db2652ddccdba683cdfa9311 14-Apr-2002 Martin v. Löwis <martin@v.loewis.de> Patch #543447: Add posix.mknod.
/external/python/cpython2/Modules/posixmodule.c
e7fefbf68dc3384b835d38bd8897657d7289f826 03-Apr-2002 Mark Hammond <mhammond@skippinet.com.au> Fix bugs:
457466: popenx() argument mangling hangs python
226766: popen('python -c"...."') tends to hang

Fixes argument quoting in w9xpopen.exe for Windows 9x. w9xpopen.exe
also never attempts to display a MessageBox when not executed
interactively.

Added test_popen() test. This test currently just executes
"python -c ..." as a child process, and checks that the expected
arguments were all recieved correctly by the child process. This
test succeeds for me on Win9x, win2k and Linux, and I hope it does
for other popen supported platforms too :)
/external/python/cpython2/Modules/posixmodule.c
94b866a03088da6257823c74a71b4d0760c60bbb 22-Mar-2002 Neil Schemenauer <nascheme@enme.ucalgary.ca> Handle os.listdir("") case correctly on Windows. Closes bug 500705.
/external/python/cpython2/Modules/posixmodule.c
193a3f6d37c1440b049f7b1c62ff30c1d8cae38a 12-Mar-2002 Fred Drake <fdrake@acm.org> Update docstrings to use te attribute names of the new structures returned
by stat and time functions.
This closes SF patch #523271.
/external/python/cpython2/Modules/posixmodule.c
bc2e10e7b6588d2677e970e390e066e235c56dbd 04-Mar-2002 Tim Peters <tim.peters@gmail.com> Python no longer compiled on Windows, due to #include file confusion
over SEP, ALTSEP and MAXPATHLEN.
Patched up posixmodule.c for MSVC, but unsure what the story is now on
other non-Unixish platforms -- the preprocessor maze has no exit <wink>.
/external/python/cpython2/Modules/posixmodule.c
6c73af2754bcf9f107cc943c7ab9a4fd58e08039 03-Mar-2002 Andrew MacIntyre <andymac@bullseye.apana.org.au> OS/2 EMX port changes (Modules part of patch #450267):
Modules/
posixmodule.c

- use SEP,ALTSEP #defines instead of hard coded path separator chars
- use EMX specific variants of chdir2(),getcwd() that support drive letters
- OS/2+EMX spawnv(),spawnve() support
- EMX specific popen[234]() derived from Win32 popen[234]() code
/external/python/cpython2/Modules/posixmodule.c
b2c92f44d4572615b14671a5b3d0cace1c2b1511 17-Feb-2002 Martin v. Löwis <martin@v.loewis.de> Patch #511193: Implement killpg in posixmodule.
/external/python/cpython2/Modules/posixmodule.c
4892f2406f8cc3527bf0620c4a78f11d909afe8a 01-Feb-2002 Jack Jansen <jack.jansen@cwi.nl> Got rid of a few more NeXT ifdefs. The last, I think.
/external/python/cpython2/Modules/posixmodule.c
ab034fab03bf1a0ee1d03651799f1c42f4f48050 01-Feb-2002 Tim Peters <tim.peters@gmail.com> Implement os.waitpid() for Windows, in a way that's compatible with Linux
where their capabilities intersect. Would be nice if people using non-
MSVC compilers (Borland etc) took a whack at doing something similar for
them (this code relies on the MS _cwait function).
/external/python/cpython2/Modules/posixmodule.c
5aa916029d3e6843ca707032f23028f08f71f916 30-Jan-2002 Tim Peters <tim.peters@gmail.com> Expose more MS WIndows constants usable w/ low-level os.open().
/external/python/cpython2/Modules/posixmodule.c
cdc445122208cb90a59a468a7396b227e223c43a 12-Jan-2002 Martin v. Löwis <martin@v.loewis.de> Include <unistd.h> in Python.h. Fixes #500924.
/external/python/cpython2/Modules/posixmodule.c
bb2501f6388544fabca7c2df33d91e8577d74ca5 27-Dec-2001 Guido van Rossum <guido@python.org> Due to a cut-and-paste error, the type object exported under the name
statvfs_result was in fact the stat_result type object. :-(

2.2.1 bugfix!
/external/python/cpython2/Modules/posixmodule.c
500bd035fa09ab27013d197030feb01f620a194c 19-Dec-2001 Tim Peters <tim.peters@gmail.com> SF bug #495021: Crash calling os.stat with a trailing backslash
Patch from Mark Hammond, plus code rearrangement and comments from me.
posix_do_stat(): Windows-specific code could try to free() stack
memory in some cases when a path ending with a forward or backward slash
was passed to os.stat().
/external/python/cpython2/Modules/posixmodule.c
146483964e2e94b0d1709be438a1b86f75b5d730 08-Dec-2001 Guido van Rossum <guido@python.org> Patch supplied by Burton Radons for his own SF bug #487390: Modifying
type.__module__ behavior.

This adds the module name and a dot in front of the type name in every
type object initializer, except for built-in types (and those that
already had this). Note that it touches lots of Mac modules -- I have
no way to test these but the changes look right. Apologies if they're
not. This also touches the weakref docs, which contains a sample type
object initializer. It also touches the mmap test output, because the
mmap type's repr is included in that output. It touches object.h to
put the correct description in a comment.
/external/python/cpython2/Modules/posixmodule.c
25059d30c39c0c703161987643f0c29df03147fb 07-Dec-2001 Tim Peters <tim.peters@gmail.com> SF patch #489173: Make os.spawnv not block the interpreter, from
Anthony Roach.
Release the global interpreter lock around platform spawn calls.
Bugfix candidate? Hard to say; I favor "yes, bugfix".
These clearly *should* have been releasing the GIL all along, if for no
other reason than compatibility with the similar os.system(). But it's
possible some program out there is (a) multithreaded, (b) calling a spawn
function with P_WAIT, and (c) relying on the spawn call to block all their
threads until the spawned program completes. I think it's very unlikely
anyone is doing that on purpose, but someone may be doing so by accident.
/external/python/cpython2/Modules/posixmodule.c
c8996f59654297583c0a748763fdb993886dd316 03-Dec-2001 Tim Peters <tim.peters@gmail.com> posix_execve(), posix_spawnve(), posix_putenv():
sprintf -> PyOS_snprintf. This is the last of this
stuff I intend to do.
/external/python/cpython2/Modules/posixmodule.c
75cdad558472781162a83439f3e6edb61d4d40e6 28-Nov-2001 Tim Peters <tim.peters@gmail.com> More sprintf -> PyOS_snprintf.
/external/python/cpython2/Modules/posixmodule.c
1ceb5fb946d41a4037cd202db94f2edd78a52258 28-Nov-2001 Tim Peters <tim.peters@gmail.com> Repair a botched PyOS_snprintf conversion.
/external/python/cpython2/Modules/posixmodule.c
885d457709c1d680c899dc3d035a47c8fb514cfa 28-Nov-2001 Tim Peters <tim.peters@gmail.com> sprintf -> PyOS_snprintf in some "obviously safe" cases.
Also changed <>-style #includes to ""-style in some places where the
former didn't make sense.
/external/python/cpython2/Modules/posixmodule.c
d4c0a9c59b399bfa0d36030663f78aa18a68e051 28-Nov-2001 Marc-André Lemburg <mal@egenix.com> Fixes for possible buffer overflows in sprintf() usages.
/external/python/cpython2/Modules/posixmodule.c
e75f0e480187e75709ca1f96409bb685b261cc3e 24-Nov-2001 Martin v. Löwis <martin@v.loewis.de> Correct typo. Fixes #484611.
/external/python/cpython2/Modules/posixmodule.c
dedbe255d32ace4b92fbe099aea454775701edf4 03-Nov-2001 Martin v. Löwis <martin@v.loewis.de> Patch #474169: Move fdopen calls out of critical section.
/external/python/cpython2/Modules/posixmodule.c
c524d952da928f745203876f2e67f651c2bc7246 19-Oct-2001 Guido van Rossum <guido@python.org> SF patch #460805 by Chris Gonnerman: Support for unsetenv()

This adds unsetenv to posix, and uses it in the __delitem__ method of
os.environ.

(XXX Should we change the preferred name for putenv to setenv, for
consistency?)
/external/python/cpython2/Modules/posixmodule.c
4fe3c273233ced82cb7443f0ec4caea5a8836df1 19-Oct-2001 Martin v. Löwis <martin@v.loewis.de> Expose O_LARGEFILE, O_DIRECT, O_DIRECTORY, and O_NOFOLLOW.
/external/python/cpython2/Modules/posixmodule.c
a4dc73e2469f9662a1f48e1a2990fc7c0a1377fc 18-Oct-2001 Guido van Rossum <guido@python.org> Don't leave bare newlines in long strings -- VC doesn't like that.
/external/python/cpython2/Modules/posixmodule.c
98bf58f1c61a1d6d8a21f75527c8ad7a7d47ef67 18-Oct-2001 Guido van Rossum <guido@python.org> SF patch #462296: Add attributes to os.stat results; by Nick Mathewson.

This is a big one, touching lots of files. Some of the platforms
aren't tested yet. Briefly, this changes the return value of the
os/posix functions stat(), fstat(), statvfs(), fstatvfs(), and the
time functions localtime(), gmtime(), and strptime() from tuples into
pseudo-sequences. When accessed as a sequence, they behave exactly as
before. But they also have attributes like st_mtime or tm_year. The
stat return value, moreover, has a few platform-specific attributes
that are not available through the sequence interface (because
everybody expects the sequence to have a fixed length, these couldn't
be added there). If your platform's struct stat doesn't define
st_blksize, st_blocks or st_rdev, they won't be accessible from Python
either.

(Still missing is a documentation update.)
/external/python/cpython2/Modules/posixmodule.c
a6535fd40b7220350d007b1dcab3fbccaa6a3092 18-Oct-2001 Guido van Rossum <guido@python.org> Shut up warnings for setgroups() on Linux -- you have to #include
<grp.h> it seems. This requires yet another configure test.
/external/python/cpython2/Modules/posixmodule.c
61c5edf6fc9a87089c85f5a53e91e99da51ba38c 18-Oct-2001 Martin v. Löwis <martin@v.loewis.de> Expose setgroups. Fixes feature request #468116.
/external/python/cpython2/Modules/posixmodule.c
244edc89852ef4c0338438e94c7f3801f289f83e 05-Oct-2001 Martin v. Löwis <martin@v.loewis.de> Add chroot call. Implements feature #459267.
/external/python/cpython2/Modules/posixmodule.c
6e13a562ae01a962612ca76f9afcc7211240236e 06-Sep-2001 Tim Peters <tim.peters@gmail.com> Enable large file support on Win32 systems.
Curious: the MS docs say stati64 etc are supported even on Win95, but
Win95 doesn't support a filesystem that allows partitions > 2 Gb.

test_largefile: This was opening its test file in text mode. I have no
idea how that worked under Win64, but it sure needs binary mode on Win98.
BTW, on Win98 test_largefile runs quickly (under a second).
/external/python/cpython2/Modules/posixmodule.c
79248aa1e4a8f6510b1f0ef95dc9592d51e16d6c 29-Aug-2001 Tim Peters <tim.peters@gmail.com> SF bug [#456252] Python should never stomp on [u]intptr_t.
pyport.h: typedef a new Py_intptr_t type.
DELICATE ASSUMPTION: That HAVE_UINTPTR_T implies intptr_t is
available as well as uintptr_t. If that turns out not to be
true, things must get uglier (C99 wants both, so I think it's
an assumption we're *likely* to get away with).
thread_nt.h, PyThread_start_new_thread: MS _beginthread is documented
as returning unsigned long; no idea why uintptr_t was being used.
Others: Always use Py_[u]intptr_t, never [u]intptr_t directly.
/external/python/cpython2/Modules/posixmodule.c
402d5985d8e4d1644943c63d507842649b472f1d 27-Aug-2001 Tim Peters <tim.peters@gmail.com> SF patch [ #455137 ] Makes popen work with COMMAND.COM on WNT, from
Brian Quinlan.
/external/python/cpython2/Modules/posixmodule.c
95618b5bc98ca9f30ed9dd2e4382fd737bbbbc6c 18-Aug-2001 Skip Montanaro <skip@pobox.com> added warnings about security risk of using tmpnam and tempnam
/external/python/cpython2/Modules/posixmodule.c
4f1cd8bdcbd20bb0acdbe9e240f28c09dd38370f 26-Jul-2001 Martin v. Löwis <martin@v.loewis.de> Patch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
/external/python/cpython2/Modules/posixmodule.c
0368bc44e82b422aa1e6ddca57cba8754103b465 19-Jul-2001 Fred Drake <fdrake@acm.org> Remove warnings from the SGI compiler.
This is part of SF patch #434992.
/external/python/cpython2/Modules/posixmodule.c
78b71c2ad3a2b2ba3f883fc9d0e81247b441155c 17-Jul-2001 Fred Drake <fdrake@acm.org> On Windows, tempnam() is spelled with a leading underscore.
/external/python/cpython2/Modules/posixmodule.c
e38b2f1f00f46e24eaf83182799f4f515ffb410d 12-Jul-2001 Thomas Wouters <thomas@python.org> Re-do the broken-nice() patch to break less platforms. Hopefully none :P
Also note that it isn't just Linux nice() that is broken: at least FreeBSD
and BSDI also have this problem. os.nice() should probably just be emulated
using getpriority()/setpriority(), if they are available, but I'll get to
that later.
/external/python/cpython2/Modules/posixmodule.c
c2c12dc31cfbe1babe3e8f7f6a4f5bc709e684da 11-Jul-2001 Thomas Wouters <thomas@python.org> Patch #439995 (slightly modified from the uploaded version):

Work around Linux's nonstandard nice() systemcall, which does not return the
new priority.

This closes SF bug #439990.
/external/python/cpython2/Modules/posixmodule.c
58e0a8c13015627b5cd4abff6563bef02532596c 15-May-2001 Tim Peters <tim.peters@gmail.com> SF patch #418147 Fixes to allow compiling w/ Borland, from Stephen Hansen.
/external/python/cpython2/Modules/posixmodule.c
26cffde4c2950ac2afb41f19a65a28c4e905060d 14-May-2001 Mark Hammond <mhammond@skippinet.com.au> Fix the Py_FileSystemDefaultEncoding checkin - declare the variable in a fileobject.h, and initialize it in bltinmodule.
/external/python/cpython2/Modules/posixmodule.c
ef8b654bbea15dc55767a7095e01dff7a3ca86cb 13-May-2001 Mark Hammond <mhammond@skippinet.com.au> Add support for Windows using "mbcs" as the default Unicode encoding when dealing with the file system. As discussed on python-dev and in patch 410465.
/external/python/cpython2/Modules/posixmodule.c
f68d8e52e7ce833d123de034a4f123ec710a639f 14-Apr-2001 Guido van Rossum <guido@python.org> Make some private symbols static.
/external/python/cpython2/Modules/posixmodule.c
2242f2fbd0d50546ad79e800efbc6f0a2334bd0b 11-Apr-2001 Guido van Rossum <guido@python.org> Unixware 7 support by Billy G. Allie (SF patch 413011)
/external/python/cpython2/Modules/posixmodule.c
8216c18984fb74a1d3ad06797076940ca96304e9 27-Feb-2001 Skip Montanaro <skip@pobox.com> conditionally include unistd.h to pick up confstr declaration. attempt to
squelch warning from GCC 2.95.2 on Solaris - partially addresses bug
#232787.
/external/python/cpython2/Modules/posixmodule.c
0f954a4256c3122918b9ef0d17f587a0003ee45e 15-Feb-2001 Thomas Wouters <thomas@python.org> Add a few more missing prototypes to the SunOS 4.1.4 section (no SF
bugreport, just an IRC one by Marion Delgado.) These prototypes are
necessary because the functions are tossed around, not just called.
/external/python/cpython2/Modules/posixmodule.c
0850137fe4eb3bad462a03e78b5d7a440835e521 31-Jan-2001 Mark Hammond <mhammond@skippinet.com.au> Partial fix to [ Bug #128685 ] popen on Win9x isnt smart enough about finding w9xpopen.exe.

"Partial" as the code uses sys.prefix in an attempt to locate 'w9xpopen.exe', but sys.prefix is not set if Python can't find it itself. So this _still_ fails in Pythonwin, but I am committing the patch for 2 reasons:
* Embedded apps that set sys.prefix or use PYTHONHOME will work
* The exception raised on failure to find the executable is far more obvious
/external/python/cpython2/Modules/posixmodule.c
64aae6695fa0f7677b94230540a298d686c071e3 31-Jan-2001 Mark Hammond <mhammond@skippinet.com.au> Fix Bug #125891 - os.popen2,3 and 4 leaked file objects on Windows.
/external/python/cpython2/Modules/posixmodule.c
19030a08fbfb8596a2a3db55737828b08b378cd4 16-Jan-2001 Neil Schemenauer <nascheme@enme.ucalgary.ca> Plug memory leak.
/external/python/cpython2/Modules/posixmodule.c
e2ad63305117aec5b8f44d0894e2459a06326131 08-Jan-2001 Guido van Rossum <guido@python.org> Anonymous SF bug report #128053 point out that the #ifdef for
including "tmpfile" in the posix_methods[] array is wrong -- should be
HAVE_TMPFILE, not HAVE_TMPNAM.
/external/python/cpython2/Modules/posixmodule.c
f377d5732853d9e5d5c8da9ab1102de86b3fc0f1 12-Dec-2000 Guido van Rossum <guido@python.org> Trivial typo fix, submitted by Charles Waldman (SF patch #102794).
/external/python/cpython2/Modules/posixmodule.c
e63544f872c4d1af8e76b42b32db79eef12c8902 06-Dec-2000 Fred Drake <fdrake@acm.org> posix_getlogin(): Be more cautious about interpreting a NULL from
getlogin() -- it is not clear that a NULL is always
an error.
/external/python/cpython2/Modules/posixmodule.c
a30680b24035c972621c92394cb2b21cabbea6a5 06-Dec-2000 Fred Drake <fdrake@acm.org> posix_getlogin(): Handle the possibility that getlogin() can return
NULL without setting errno; observed on Linux
Mandrake 7.2 by an anonymous user.

This closes bug #124758.
/external/python/cpython2/Modules/posixmodule.c
661ea26b3d8621ad0acc0ed2f2036ab29355f8ff 24-Oct-2000 Fred Drake <fdrake@acm.org> Ka-Ping Yee <ping@lfw.org>:
Changes to error messages to increase consistency & clarity.

This (mostly) closes SourceForge patch #101839.
/external/python/cpython2/Modules/posixmodule.c
12e1595e2820a1f6651cbd2cf938ce31d9e3ea84 03-Oct-2000 Thomas Wouters <thomas@python.org> Clarify that isatty is only guaranteed to return true for slave ends of
terminals, not the master end (though it does, on most systems.)
/external/python/cpython2/Modules/posixmodule.c
b00adfbd83147647d3cb27f75429a928d74a3f3b 25-Sep-2000 Guido van Rossum <guido@python.org> Add missing prototypes for the benefit of SunOS 4.1.4 */
/external/python/cpython2/Modules/posixmodule.c
7f58e2ec76e778b88fa48fdb5bde4d18e4e64c8e 22-Sep-2000 Guido van Rossum <guido@python.org> It's better to test for __hpux rather than __hppa, and hpux or hppa is
unnecessary. Sez edg@SF
/external/python/cpython2/Modules/posixmodule.c
ecc23b07a9fb688ee4c640bcbfc2fdbae1201943 22-Sep-2000 Guido van Rossum <guido@python.org> Hopefully fix the problem with undeclared fdatasync() on HP-UX that
was reported twice so far.

Someone with access to HP-UX, please test this! (Is '__hppa' or
'hppa' really the correct symbol to test for?)
/external/python/cpython2/Modules/posixmodule.c
f58a7aafea13f9214065bf5d97855cfce154d1c3 22-Sep-2000 Tim Peters <tim.peters@gmail.com> Implemented new os.startfile function, unique to Windows, exposing a
subset of Win32 ShellExecute's functionality. Guido wants this because
IDLE's Help -> Docs function currently crashes his machine because of a
conflict between his version of Norton AntiVirus (6.10.20) and MS's
_popen. Docs for startfile are being mailed to Fred (or just read the
docstring -- it tells the whole story).
Changed webbrowser.py to use os.startfile instead of os.popen on Windows.
Changed IDLE's EditorWindow.py to pass an absolute path for the docs
(hardcoding ShellExecute's "directory" arg to "." as used to be done let
IDLE work, but made the startfile command exceedingly obscure for other
uses -- the MS docs are terrible, of course, & still not sure I
understand it).
Note that Windows Python must link with shell32.lib now! That's where
ShellExecute lives.
/external/python/cpython2/Modules/posixmodule.c
0bb44a4a3a98b7bd73ff0f34d872ddcc9556e393 15-Sep-2000 Tim Peters <tim.peters@gmail.com> Closes SF bug 113894: on Windows, things like os.listdir("k:") and
glob.glob("k:*py") (i.e., a raw drive letter + colon at the start) were
using the root of the drive rather than the expected Windows behavior
of using the drive's "current directory".
/external/python/cpython2/Modules/posixmodule.c
8586991099e4ace18ee94163a96b8ea1bed77ebe 02-Sep-2000 Guido van Rossum <guido@python.org> REMOVED all CWI, CNRI and BeOpen copyright markings.
This should match the situation in the 1.6b1 tree.
/external/python/cpython2/Modules/posixmodule.c
9acdd3aed84949286995f8e3df26b41ec8065228 01-Sep-2000 Tim Peters <tim.peters@gmail.com> Repaired damaged comments, and extra spaces in fatal error msgs we'd better
not ever see!
/external/python/cpython2/Modules/posixmodule.c
736aa32a39d1c7afb5f3298fd0e13c51754546c7 01-Sep-2000 Tim Peters <tim.peters@gmail.com> Fix test_popen2 on Windows, recently broken by changes to the dict(!)
implementation. You don't want to know. I've asked Guido to give this
a critical review (we agreed on the approach, but the implementation
proved more ... interesting ... than anticipated). This will almost
certainly be the highlight of Mark Hammond's day <wink>.
/external/python/cpython2/Modules/posixmodule.c
56221a7cfa8f361f4310b63b74091766c50dd7f8 15-Aug-2000 Fred Drake <fdrake@acm.org> Chris Herborth <chrish@pobox.com>:
Minor updates for BeOS R5.

Use of OSError in test.test_fork1 changed to TestSkipped, with corresponding
change in BeOS/README (by Fred).

This closes SourceForge patch #100978.
/external/python/cpython2/Modules/posixmodule.c
33a6da9971a923ceaaee1406d0feaa64b8d1759a 15-Aug-2000 Mark Hammond <mhammond@skippinet.com.au> Fix for bug #110670 - Win32 os.listdir raises confusing errors:
The existing win32_error() function now returns the new(ish) WindowsError, ensuring we get correct error messages.
/external/python/cpython2/Modules/posixmodule.c
b37a3734960b0d4c06665e41b0451b6f814f1cb6 14-Aug-2000 Mark Hammond <mhammond@skippinet.com.au> Patch #101032, from David Bolen:
This is an enhancement to a prior patch (100941) ...
[T]his patch removes the risk of deadlock waiting for the child previously present in certain cases. It adds tracking of all file handles returned from an os.popen* call and only waits for the child process, returning the exit code, on the closure of the final file handle to that child.
/external/python/cpython2/Modules/posixmodule.c
7e018909862a3fe6c571bbb7143f4ffb18ae834c 31-Jul-2000 Peter Schneider-Kamp <nowonder@nowonder.de> merge Include/my*.h into Include/pyport.h

marked my*.h as obsolete
/external/python/cpython2/Modules/posixmodule.c
2031893842fe8dfb4f166d7221006c70c62448b7 26-Jul-2000 Fredrik Lundh <fredrik@pythonware.com> - changed windows pclose to make sure we don't return before the
underlying process has terminated
(bug fix from David Bolen)
/external/python/cpython2/Modules/posixmodule.c
1e0c2f4bee43728930bd5f4dc77283f09c4ba004 24-Jul-2000 Thomas Wouters <thomas@python.org> Create a new section of pyport.h to hold all external function declarations
for systems that are missing those declarations from system include files.
Start by moving a pointy-haired ones from their previous locations to the
new section.

(The gethostname() one, for instance, breaks on several systems, because
some define it as (char *, size_t) and some as (char *, int).)

I purposely decided not to include the summary of used #defines like Tim did
in the first section of pyport.h. In my opinion, the number of #defines
likedly to be used by this section would make such an overview unwieldy. I
would suggest documenting the non-obvious ones, though.
/external/python/cpython2/Modules/posixmodule.c
56055a474955811fd672e406d0a175349879759d 23-Jul-2000 Fredrik Lundh <fredrik@pythonware.com> -- added code to the new Windows popen functions to make close
return the exit code. Only works on Windows NT/2000, due to
limitations in the Win9X shell.
(based on patch #100941 by David Bolen)
/external/python/cpython2/Modules/posixmodule.c
bd4bc4e9e947617def66780efbbea4eb08990e56 23-Jul-2000 Thomas Wouters <thomas@python.org> Even more ANSIfication: fix as many function pointers and declarations as
possible.
/external/python/cpython2/Modules/posixmodule.c
1bc8c1eb832219c8cafcc684fdee3811dad0f2ae 22-Jul-2000 Thomas Wouters <thomas@python.org> Remove unused helper-function 'posix_strint'.
/external/python/cpython2/Modules/posixmodule.c
f3f33dcf03eaed3c4e720178f9d69205a66d6a91 21-Jul-2000 Thomas Wouters <thomas@python.org> Bunch of minor ANSIfications: 'void initfunc()' -> 'void initfunc(void)',
and a couple of functions that were missed in the previous batches. Not
terribly tested, but very carefully scrutinized, three times.

All these were found by the little findkrc.py that I posted to python-dev,
which means there might be more lurking. Cases such as this:

long
func(a, b)
long a;
long b; /* flagword */
{

and other cases where the last ; in the argument list isn't followed by a
newline and an opening curly bracket. Regexps to catch all are welcome, of
course ;)
/external/python/cpython2/Modules/posixmodule.c
616607a98719aa48e7f044dde828456d987a8385 19-Jul-2000 Thomas Wouters <thomas@python.org> ANSIfy the just-checked-in isatty() wrapper.
/external/python/cpython2/Modules/posixmodule.c
1517d842b6d1dc7d762a007c028bb3dc23f6d383 19-Jul-2000 Skip Montanaro <skip@pobox.com> new method isatty from Thomas Wouters
/external/python/cpython2/Modules/posixmodule.c
7e47402264cf87b9bbb61fc9ff610af08add7c7b 16-Jul-2000 Thomas Wouters <thomas@python.org> Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in either
comments, docstrings or error messages. I fixed two minor things in
test_winreg.py ("didn't" -> "Didn't" and "Didnt" -> "Didn't").

There is a minor style issue involved: Guido seems to have preferred English
grammar (behaviour, honour) in a couple places. This patch changes that to
American, which is the more prominent style in the source. I prefer English
myself, so if English is preferred, I'd be happy to supply a patch myself ;)
/external/python/cpython2/Modules/posixmodule.c
70c21a1603091d58036ea6b91f106496d20f12f4 14-Jul-2000 Thomas Wouters <thomas@python.org> Move (actually copy) support for the sgi._getpty() function into
posix.openpty(). And conveniently also check if CVS write access really
works.

Closes SF patch #100722
/external/python/cpython2/Modules/posixmodule.c
8d2f2b2db21bddfad17a0a52b4fdded558adf7fb 13-Jul-2000 Andrew M. Kuchling <amk@amk.ca> From Sam Rushing's Medusa, via SF patch #100858: add & document
os.seteuid(), os.setegid(), os.setreuid(), os.setregid().
/external/python/cpython2/Modules/posixmodule.c
03657cfdb056dbd36db12cc3db12a6b58a962e20 12-Jul-2000 Jeremy Hylton <jeremy@alum.mit.edu> replace PyXXX_Length calls with PyXXX_Size calls
/external/python/cpython2/Modules/posixmodule.c
10723347c61e204224307340dc79f661c43e7ae1 10-Jul-2000 Fredrik Lundh <fredrik@pythonware.com> - stupid typo.
/external/python/cpython2/Modules/posixmodule.c
44328e60df37993f7342742e25b89a09979e9ed9 10-Jul-2000 Fredrik Lundh <fredrik@pythonware.com> -- get rid of a compiler warning on unix. (as reported
for #100836, but implemented in a different way)
/external/python/cpython2/Modules/posixmodule.c
9ac81f69b2de4364455ddd532ac4b20c4528f677 10-Jul-2000 Fredrik Lundh <fredrik@pythonware.com> - changed the nt.popen2 return values back to
(write, read, ...), based on feedback from GvR.

- added tuple-swapping code to popen2.py

- fixed some runaway indentation in posixmodule.c
/external/python/cpython2/Modules/posixmodule.c
bb7eeff44a893f6d97f418e69c6387ac24b90a63 09-Jul-2000 Fredrik Lundh <fredrik@pythonware.com> - added popen.popen2/popen3/popen4 support for
windows.

- added optional mode argument to popen2/popen3
for unix; if the second argument is an integer,
it's assumed to be the buffer size.

- changed nt.popen2/popen3/popen4 return values
to match the popen2 module (stdout first, not
stdin).
/external/python/cpython2/Modules/posixmodule.c
766ccdcf18a8f31e1b23bcc4f3b34bcffe2e48d2 09-Jul-2000 Fredrik Lundh <fredrik@pythonware.com> - added optional bufsize argument to new popen methods.
for the moment, this argument must be left out or set
to -1 (only the default bufsize is supported, that is)
/external/python/cpython2/Modules/posixmodule.c
ffb9c770f8992a4692e3794ee10bc0d92c6a45ff 09-Jul-2000 Fredrik Lundh <fredrik@pythonware.com> - improved os.popen support for windows, based on win32pipe
by Bill Tutt.

note: to run this on Windows 95/98, you need to have the
w9xpopen.exe helper in the same directory as the python DLL.
/external/python/cpython2/Modules/posixmodule.c
e25cfd866297fa1a15832b1bd6e25ec457a39c9f 09-Jul-2000 Fredrik Lundh <fredrik@pythonware.com> - fixed pointer size test in spawn functions. also added
cast to make sure Py_BuildValue gets the right thing.

this change eliminates bogus return codes from successful
spawn calls (e.g. 2167387144924954624 instead of 0).
/external/python/cpython2/Modules/posixmodule.c
ff7df9d7b8b6ad7e73fe54cdf02b9ab6386ff355 09-Jul-2000 Fredrik Lundh <fredrik@pythonware.com> this one's a bit risky, but I've spent some considerable time
staring at the diffs before checking this one in. let me know
asap if it breaks things on your platform.

-- ANSI-fying
(patch #100763 by Peter Schneider-Kamp, minus the
indentation changes and minus the changes the broke
the windows build)
/external/python/cpython2/Modules/posixmodule.c
49b0c3bafe8fd9818e73e3594e12a749f796eeb2 06-Jul-2000 Fred Drake <fdrake@acm.org> Fix bug #392, reported by Jonathan Giddy <jon@dstc.edu.au>:
In posixmodule.c:posix_fork, the function PyOS_AfterFork is called for
both the parent and the child, despite the docs stating that it should
be called in the new (child) process.

This causes problems in the parent since the forking thread becomes the
main thread according to the signal module.

Calling PyOS_AfterFork() only in the child fixes this. Changed for both
fork() and forkpty().
/external/python/cpython2/Modules/posixmodule.c
ffcc3813d82e6b96db79f518f4e67b940a13ce64 01-Jul-2000 Guido van Rossum <guido@python.org> Change copyright notice - 2nd try.
/external/python/cpython2/Modules/posixmodule.c
fd71b9e9d496caa510dec56a9b69966558d6ba5d 01-Jul-2000 Guido van Rossum <guido@python.org> Change copyright notice.
/external/python/cpython2/Modules/posixmodule.c
64529cd7cebf08c2c3f7be64f4b3e54c2ae0f25c 01-Jul-2000 Guido van Rossum <guido@python.org> Crude way to fix a problem on AIX: #undef STAT before defining it.
/external/python/cpython2/Modules/posixmodule.c
699f352fb220d2e37247144081f7a11cc1dc365d 29-Jun-2000 Fred Drake <fdrake@acm.org> Trent Mick <trentm@activestate.com>:
This patch fixes the posix module for large file support mainly on
Win64, although some general cleanup is done as well.

The changes are:

- abstract stat->STAT, fstat->FSTAT, and struct stat->STRUCT_STAT
This is because stat() etc. are not the correct functions to use on
Win64 (nor maybe on other platforms?, if not then it is now trivial to
select the appropriate one). On Win64 the appropriate system functions
are _stati64(), etc.

- add _pystat_fromstructstat(), it builds the return tuple for the
fstat system call. This functionality was being duplicated. As well
the construction of the tuple was modified to ensure no overflow of
the time_t elements (sizeof(time_t) > sizeof(long) on Win64).

- add overflow protection for the return values of posix_spawnv and
posix_spawnve

- use the proper 64-bit capable lseek() on Win64

- use intptr_t instead of long where appropriate from Win32/64 blocks
(sizeof(void*) > sizeof(long) on Win64)

This closes SourceForge patch #100513.
/external/python/cpython2/Modules/posixmodule.c
8cef4cf737878bd8eec648426eebe9b9019b18be 28-Jun-2000 Fred Drake <fdrake@acm.org> Thomas Wouters <thomas@xs4all.net>:

This patch adds the openpty() and forkpty() library calls to posixmodule.c,
when they are available on the target
system. (glibc-2.1-based Linux systems, FreeBSD and BSDI at least, probably
the other BSD-based systems as well.)

Lib/pty.py is also rewritten to use openpty when available, but falls
back to the old SGI method or the "manual" BSD open-a-pty
code. Openpty() is necessary to use the Unix98 ptys under Linux 2.2,
or when using non-standard tty names under (at least) BSDI, which is
why I needed it, myself ;-) forkpty() is included for symmetry.
/external/python/cpython2/Modules/posixmodule.c
54c8dc214404f9effea66aa8895ac5d44a9c3af6 06-Jun-2000 Andrew M. Kuchling <amk@amk.ca> Patch from Trent Mick:
Fix a small bug in posixmodule.c where a char* is being
dereferenced where it should not be.
/external/python/cpython2/Modules/posixmodule.c
137507ea0308fcdab66c1eee700048c41ed7a7d7 01-Jun-2000 Fred Drake <fdrake@acm.org> Michael Hudson <mwh21@cam.ac.uk>:
Removed PyErr_BadArgument() calls and replaced them with more useful
error messages.
/external/python/cpython2/Modules/posixmodule.c
19dde103a80525ea02565a4d218708ee028dd2dd 03-May-2000 Guido van Rossum <guido@python.org> Mark Hammond to the rescue:

Checkin 2.131 of posixmodule.c changed os.stat on Windows, so that
"/bin/" type notation (trailing backslash) would work on Windows to
be consistent with Unix.

However, the patch broke the simple case of: os.stat("\\")

This did work in 1.5.2, and obviously should!

This patch addresses this, and restores the correct behaviour.
/external/python/cpython2/Modules/posixmodule.c
3cef856dd9db9e998d4fa3395b466f2ed42f7fc9 01-May-2000 Barry Warsaw <barry@python.org> posix_utime(): Allow the second argument to be None, which invokes the
utime(path, NULL) call, setting the atime and mtime of the file to the
current time. The previous signature utime(path, (atime, mtime)) is
of course still allowed.
/external/python/cpython2/Modules/posixmodule.c
50422b403c4ebea87f7af840e5c5cf147155639e 26-Apr-2000 Guido van Rossum <guido@python.org> Michael Hudson:

This patch changes posixmodule.c:execv to

a) check for zero length args (does this to execve, too), raising
ValueError.

b) raises more rational exceptions for various flavours of duff arguments.
I *hate*
TypeError: "illegal argument type for built-in operation"
It has to be one of the most frustrating error messages ever.
/external/python/cpython2/Modules/posixmodule.c
ace88aebbbbb5c96eb3dd88308d03d3d3b9c73e5 21-Apr-2000 Guido van Rossum <guido@python.org> Patch by Brian Hooper, somewhat augmented by GvR, to strip a trailing
backslash from the pathname argument to stat() on Windows -- while on
Unix, stat("/bin/") succeeds and does the same thing as stat("/bin"),
on Windows, stat("\\windows\\") fails while stat("\\windows") succeeds.
This modified version of the patch recognizes both / and \.

(This is odd behavior of the MS C library, since
os.listdir("\\windows\\") succeeds!)
/external/python/cpython2/Modules/posixmodule.c
3155db3b793d384054abd586bcd42e8d4f5061da 13-Apr-2000 Barry Warsaw <barry@python.org> setup_confname_table(): Close memory leak caused by not decref'ing the
inserted dictionary values. Also, simplified the logic a bit.
/external/python/cpython2/Modules/posixmodule.c
ef40e77ac5cb16dd5cfa816f6dd81d155217acd0 31-Mar-2000 Guido van Rossum <guido@python.org> Sigh. On Windows, (mode_t)i fails. Assume that there's a prototype
in scope on systems where mode_t isn't the same size as int...
/external/python/cpython2/Modules/posixmodule.c
49679b40b91c30bf6b2ea8aeede9a86c659932b1 31-Mar-2000 Guido van Rossum <guido@python.org> Oops, the previous patch contained a bug in chmod. Fixed now.
/external/python/cpython2/Modules/posixmodule.c
ffd15f5255a600fe6cb6fb38123d58eca51f9987 31-Mar-2000 Guido van Rossum <guido@python.org> Two robustness patches:

(1) In opendir(), don't call the lock-release macros; we're
manipulating list objects and that shouldn't be done in unlocked
state.

(2) Don't use posix_strint() for chmod() -- the mode_t arg might be a
64 bit int (reported by Nick Maclaren).
/external/python/cpython2/Modules/posixmodule.c
b48bc17d10fa53c7ccbcca5597ee4bdb8754973e 01-Mar-2000 Greg Ward <gward@python.net> Second attempt to fix the ctermid_r/tmpnam_r warnings: define USE_CTERMID_R
and USE_TMPNAM_R at the top of the file and refer to them later; this
catches a second reference to 'tmpnam_r' that I didn't spot first time around.
/external/python/cpython2/Modules/posixmodule.c
9217fcbb38887f2d0a25fb798d4df5fa9edcd797 01-Mar-2000 Greg Ward <gward@python.net> Fix compiler warning: only use "_r" form of 'ctermid()' and 'tmpnam()' when
building a threaded Python.
/external/python/cpython2/Modules/posixmodule.c
4985e409397f805b54e35658de1df55cd0343284 25-Feb-2000 Guido van Rossum <guido@python.org> Delete references to _SC_AIO_LIST_MAX; it appears that that symbol was
just a typo in some Linux header; the real symbol is
_SC_AIO_LISTIO_MAX.
/external/python/cpython2/Modules/posixmodule.c
b3d3956e019196b28b6c25b2ec195a8815047be8 31-Jan-2000 Guido van Rossum <guido@python.org> The initialization of posix_putenv_garbage should only be done when it
is defined...
/external/python/cpython2/Modules/posixmodule.c
e1a79b9b424cb7e4362b0d4bda08396ebe9cab7a 30-Dec-1999 Fred Drake <fdrake@acm.org> setup_confname_table(): Use size_t instead of int for an index when
building the dicts used to inform the user about the defined
constants when using the *conf*() APIs.

Thanks to Mark Hammond <mhammond@skippinet.com.au>.
/external/python/cpython2/Modules/posixmodule.c
bec628d4bc6349778280c065aeb6addd89c0a5c9 15-Dec-1999 Fred Drake <fdrake@acm.org> Rip out the code to check the ordering of the tables used to map
strings to integers for the *conf*() functions.

Added code to sort the tables at module initialization. Three
dictionaries, confstr_names, sysconf_names, and pathconf_names, are
added to the module as well. These map known configuration setting
names to the numeric value which is used to represent the setting in
the system call. This code is always called.

Updated related comments.
/external/python/cpython2/Modules/posixmodule.c
d86ed29f44b27d02bb392c85d6d1491387aee912 15-Dec-1999 Fred Drake <fdrake@acm.org> Added table entries for Irix 6.5 names for confstr()/sysconf()/
pathconf() names, from Sjoerd.

Added code to verify that these tables are properly ordered, only
included and used when CHECK_CONFNAME_TABLES is defined. This is only
needed to test the tables, so I haven't enabled this by default.
/external/python/cpython2/Modules/posixmodule.c
12c6e2d4978e4fdca8262bafeecd5e63eef23c1e 14-Dec-1999 Fred Drake <fdrake@acm.org> Added support for getlogin(); does *not* use getlogin_r() where
available since the interface is poorly defined on at least one major
platform (Solaris).

Moved table of constant names for fpathconf() & pathconf() into the
conditional that defines the conv_path_confname() helper; Mark Hammond
reported that defining the table when none of the constants were
defined causes the compiler to complain (won't allow 0-length array,
imagine that!).

In posix_fpathconf(), use conv_path_confname() as the O& conversion
function, instead of the conv_confname() helper, which has the wrong
signature (posix_pathconf() already used the right thing).
/external/python/cpython2/Modules/posixmodule.c
71f00fb6df1a74b40a15447f85f0ca4d06cb3145 13-Dec-1999 Fred Drake <fdrake@acm.org> Removed debugging prints.
/external/python/cpython2/Modules/posixmodule.c
c968092d5cb5f23280fe600c5855b5cd245517ef 13-Dec-1999 Fred Drake <fdrake@acm.org> Added bindings for getgroups(), fpathconf(), pathconf(), confstr(),
and sysconf().

*Lots* of tables to define names used by *conf*(); explanation to go
in message to python-dev list.
/external/python/cpython2/Modules/posixmodule.c
5ab8eaf0bb97055aa41f96cd577f3e8e67c9c8bc 09-Dec-1999 Fred Drake <fdrake@acm.org> Added support for abort(), ctermid(), tmpfile(), tempnam(), tmpnam(),
and TMP_MAX.

Converted all functions that used PyArg_Parse() or PyArg_NoArgs() to
use PyArg_ParseTuple() and specified all function names using the
:name syntax in the format strings, to allow better error messages
when TypeError is raised for parameter type mismatches.
/external/python/cpython2/Modules/posixmodule.c
d5753e15e284597d973c2133e3b2b5111b049d72 19-Oct-1999 Guido van Rossum <guido@python.org> John DuBois tells us that SCO OpenServer 5.0 and later requires _SVID3
before it reveals the needed definitions in sys/statvfs.h.
/external/python/cpython2/Modules/posixmodule.c
762e206706b5fbf4d541006b8f2b0ca17cac6240 26-Aug-1999 Fred Drake <fdrake@acm.org> posix_putenv(): Constrain memory leakage when setting the same
environment variable repeatedly. I posted this to the list
some time ago, but only now got around to asking g--d- what he
thought about it.
/external/python/cpython2/Modules/posixmodule.c
6a619f44c567efe859b4b94a710b718d475a57fe 03-Aug-1999 Guido van Rossum <guido@python.org> It turns out that modifying the environment strings is not safe.
Treat them as read-only, and make a copy as appropriately. This was
first reported by Bill Janssend and later by Craig Rowland and Ron
Sedlmeyer. This fix is mine.
/external/python/cpython2/Modules/posixmodule.c
9068da4b6db66338c3bb17ec85dbbe158fb9a459 02-Jul-1999 Guido van Rossum <guido@python.org> Milton L. Hankin reports that on Windows it is possible to have two
different values in the environ dict with the same key (although he
couldn't explain exactly how this came to be). Since getenv() uses
the first one, Python should do too. (Some doubts about case
sensitivity, but for now this at least seems the right thing to do
regardless of platform.)
/external/python/cpython2/Modules/posixmodule.c
f63b8cc07c1782b4319c314b0ff0245f5ec5f455 28-May-1999 Barry Warsaw <barry@python.org> posix_listdir(): When an error occurs, call
posix_error_with_filename() instead of posix_error(), passing in the
name argument, so you get information on which directory was being
listed.
/external/python/cpython2/Modules/posixmodule.c
8c67e4e8c979c2f38c1fb0614eda2f5a90eba767 07-Apr-1999 Guido van Rossum <guido@python.org> Add extern decl for fsync() for SunOS 4.x.
/external/python/cpython2/Modules/posixmodule.c
3366d1c7e613da33f95f49bc52dfbbe67a08cf4e 23-Feb-1999 Guido van Rossum <guido@python.org> # Typo in docstring (Retrun -> Return).
/external/python/cpython2/Modules/posixmodule.c
61eeb044d7d1a6d0257f8aff6794a5d6e1f80944 22-Feb-1999 Guido van Rossum <guido@python.org> The docstring for ttyname(..) claims a second "mode" argument. The
actual code does not allow such an argument. (Finn Bock.)
/external/python/cpython2/Modules/posixmodule.c
7d385294a41b465a1bc2b408d09897176ab9a587 16-Feb-1999 Guido van Rossum <guido@python.org> The symbols P_* (for spawn*(), MS specific) should not have a leading
underscore after all, for consistency with the O_* symnbols.
/external/python/cpython2/Modules/posixmodule.c
b8c3cbdd50badf2ecf5da9d62a91959162695fa1 16-Feb-1999 Guido van Rossum <guido@python.org> Fixed totally bogus conversion factors used in the Win32 version of
os.times().
/external/python/cpython2/Modules/posixmodule.c
ca74da4e2c0ccbf7c8c54a7ed1a13385f0e205cb 09-Feb-1999 Barry Warsaw <barry@python.org> Got rid of the file-global PosixError. This was redundant since it
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.
/external/python/cpython2/Modules/posixmodule.c
0c9608cf1bcad32d3e7226b2743f245be231a119 03-Feb-1999 Guido van Rossum <guido@python.org> Portability fix for [f]statvfs() return tuple: no longer return the
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.
/external/python/cpython2/Modules/posixmodule.c
7e3535cbbd1d5e4b0d182557d91ac2c60bc1ef81 02-Feb-1999 Fred Drake <fdrake@acm.org> Added documentation to the docstrings for the W*() functions that take
a process exit status as a parameter.
/external/python/cpython2/Modules/posixmodule.c
246bc17a8b680fd08af7aeb405e8d0feed3fb9f5 02-Feb-1999 Guido van Rossum <guido@python.org> Add _P_WAIT etc. for NT.
/external/python/cpython2/Modules/posixmodule.c
a6dff3e77287bbb08e8c3700b789a50485cf630d 01-Feb-1999 Fred Drake <fdrake@acm.org> spawnv, spawnve docstrings: added mode parameter; this is required!
/external/python/cpython2/Modules/posixmodule.c
e6a3aa6066dc7f726b84746d00590fdfa7d7639f 01-Feb-1999 Guido van Rossum <guido@python.org> Oops, the patch for NeXT always replaced waitpid() with wait4() --
this doesn't exist everywhere, so go back to using #ifdef NeXT.
/external/python/cpython2/Modules/posixmodule.c
54ecc3d24f52ae45ca54a24167e434915c88b60f 27-Jan-1999 Guido van Rossum <guido@python.org> Patches by William Lewis for Nextstep descendants.
/external/python/cpython2/Modules/posixmodule.c
a106568eed3364c8c69eec7edb5b18c08ebb55d4 26-Jan-1999 Guido van Rossum <guido@python.org> Add spawnv and spawnve functions for Win32 platforms.
/external/python/cpython2/Modules/posixmodule.c
d371ff17a19cc928b7a8586c51b24d9e0cddca43 25-Jan-1999 Guido van Rossum <guido@python.org> Only do ttyname() when HAVE_TTYNAME is defined.

Also define F_OK etc. when not already defined, when doing access().
/external/python/cpython2/Modules/posixmodule.c
5d00b6d459c9e52935e330b3e8b3731d80ad5b0b 08-Jan-1999 Guido van Rossum <guido@python.org> Need extern decl. for fdatasync() in case it exists but isn't declared
anywhere (or, more likely, the declaration requires a magical
combination of _POSIX defines).
/external/python/cpython2/Modules/posixmodule.c
21142a09f373b96437bb0969f601e900766a3cb9 08-Jan-1999 Guido van Rossum <guido@python.org> Added fsync() and fdatasync(). Patches by Scott Cotton. Requires
HAVE_* macros set by configure script.
/external/python/cpython2/Modules/posixmodule.c
015f22a0fa6b2f818300bc35ccfd2be05b126933 06-Jan-1999 Guido van Rossum <guido@python.org> Change the access() code to return 1 if granted, 0 if not granted.
Patch (again) by Sean Reifschneider.
/external/python/cpython2/Modules/posixmodule.c
94f6f72c057e4467ced293eebf7c479afa8ab2d3 06-Jan-1999 Guido van Rossum <guido@python.org> Changes for long file support by Steve Clift.
Also added access() and ttyname() by Sean Reifschneider.
/external/python/cpython2/Modules/posixmodule.c
3886bb6997f8f7b0b64eed19045161e697f415fe 04-Dec-1998 Guido van Rossum <guido@python.org> Add DL_EXPORT() to all modules that could possibly be used
on BeOS or Windows.
/external/python/cpython2/Modules/posixmodule.c
7e48898d86aaddac7f26b7a859a7b8996dfdbea9 08-Oct-1998 Guido van Rossum <guido@python.org> Use the t# format where appropriate. Greg Stein.
/external/python/cpython2/Modules/posixmodule.c
be70450f03980fc681ffa06e47511bf2418955c0 28-Sep-1998 Guido van Rossum <guido@python.org> Removed some OS/2 #defines (now in the OS/2 specific config.h).
Patch by Jeff Rush.
/external/python/cpython2/Modules/posixmodule.c
617bc19e3d7911c478e8313e59a702b99ab440f7 06-Aug-1998 Guido van Rossum <guido@python.org> In Win32 version of listdir(), when FindFirstFile() returns
ERROR_FILE_NOT_FOUND, return an empty list instead of raising an
exception.
/external/python/cpython2/Modules/posixmodule.c
bcc207484a0f8f27a684e11194e7430c0710f66d 05-Aug-1998 Guido van Rossum <guido@python.org> Changes for BeOS, QNX and long long, by Chris Herborth.
/external/python/cpython2/Modules/posixmodule.c
c96417980cb700555255acfa70358c46c1a6e061 04-Aug-1998 Guido van Rossum <guido@python.org> Patch by Jody Winston (with my changes) to add some of the "wait
status inspection" macros as functions: WEXITSTATUS(), WIFEXITED(),
WIFSIGNALED(), WIFSTOPPED(), WSTOPSIG(), WTERMSIG().
/external/python/cpython2/Modules/posixmodule.c
d58d7647f333f149da0263df7529c9130469b68b 23-Jul-1998 Barry Warsaw <barry@python.org> Several changes to support inclusion of filename in relevent
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
/external/python/cpython2/Modules/posixmodule.c
b3f9f4b729ae70dc97c8855feafafc2d66c9f9fd 12-Jun-1998 Guido van Rossum <guido@python.org> On Windows, make the pipe() call return Unix file descriptors instead
of Windows file handles. Now it is at least compatible with itself on
Unix!
/external/python/cpython2/Modules/posixmodule.c
bfaf3d618651ddbef3963f62350aec508a92f896 29-Dec-1997 Guido van Rossum <guido@python.org> Moved some #ifdefs around that got put in the wrong place by the
latest OS/2 patch set.
/external/python/cpython2/Modules/posixmodule.c
d48f252ce5071e31c31f299faafc19c40c0d9768 05-Dec-1997 Guido van Rossum <guido@python.org> Another large batch of patches from Jeff Rush for OS/2.

I hope this time I've taken out all // comments and indended #ifdefs.
/external/python/cpython2/Modules/posixmodule.c
c5a0f532e7aba88bc29bcf2da21382b1a5471101 02-Dec-1997 Guido van Rossum <guido@python.org> Patch for QNX, by Chris Herborth. Also left-aligned preprocessor
directives and changed C++ comments to C comments.
/external/python/cpython2/Modules/posixmodule.c
8e9ebfd337f18f7b707853a3f2f49cc6245c0596 22-Nov-1997 Guido van Rossum <guido@python.org> os2 patch by Jeff Rush
/external/python/cpython2/Modules/posixmodule.c
359bcaa539d9bbb2b008b5fd0a76c758b489bed5 14-Nov-1997 Guido van Rossum <guido@python.org> This fix (across 4 files in 3 directories) solves a subtle problem with
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.
/external/python/cpython2/Modules/posixmodule.c
0cb96de2699fa032ef1379ebb62a4dfb66ee5fde 01-Oct-1997 Guido van Rossum <guido@python.org> Apply two changes, systematically:

(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!
/external/python/cpython2/Modules/posixmodule.c
b6a47162989ef02d627308838a12092fd6e050b8 16-Sep-1997 Guido van Rossum <guido@python.org> Add strerror() interface.
/external/python/cpython2/Modules/posixmodule.c
c6ef204830320ddca65c14b3c8fd5c50ba11d4ef 21-Aug-1997 Guido van Rossum <guido@python.org> Added /**/ around #end tags
/external/python/cpython2/Modules/posixmodule.c
6d8841c0794144d4e3f398040cb9eb9f5ac8d320 14-Aug-1997 Guido van Rossum <guido@python.org> Added a bunch of XXX comments about things I'd like to see changed...
/external/python/cpython2/Modules/posixmodule.c
98d9d09090f335a64ccf76ad4c640dfac471d11a 08-Aug-1997 Guido van Rossum <guido@python.org> Added O_BINARY and O_TEXT (for Windows).
/external/python/cpython2/Modules/posixmodule.c
0318fd6050fb5914fdcc1fa88cce80251481d8cf 06-Jun-1997 Roger E. Masse <rmasse@newcnri.cnri.reston.va.us> Moved the definition of posix_times__doc__ to outside of #ifdef HAVE_TIMES
so that MSVC 4.2 doesn't complain under NT.
/external/python/cpython2/Modules/posixmodule.c
ec4f4ac8c0f53b2afdf7ccb3a349f1d85ecca425 03-Jun-1997 Guido van Rossum <guido@python.org> Added doc strings (Neil Schemenauer).
/external/python/cpython2/Modules/posixmodule.c
b9f866cb7c019c3416b7ae18d7cdb6bd20106f5b 22-May-1997 Guido van Rossum <guido@python.org> Enable putenv and waitpid (== wait4) for NeXT.
/external/python/cpython2/Modules/posixmodule.c
ba9d7c5612912f3e87e918470c94507d7699df5a 29-Apr-1997 Guido van Rossum <guido@python.org> Change the exception objects to have the string value "os.error"
instead "posix.error" or "nt.error".
/external/python/cpython2/Modules/posixmodule.c
5ed19dcc0e9ccd534a783e5f8e9c4a647d7081bf 29-Jan-1997 Barry Warsaw <barry@python.org> posix_execve(): Accept any mapping protocol object for the env
argument, not hardwired to a dictionary.
/external/python/cpython2/Modules/posixmodule.c
4a342094689a5edf63a784e3a5e690d7044b099b 20-Dec-1996 Barry Warsaw <barry@python.org> 1. Export open(2) flag constants for every defined constant

2. Reworked error checking in initposix() and initnt().
/external/python/cpython2/Modules/posixmodule.c
43d68b8fb04a5c8e291945a6a1047ae4088dbd20 19-Dec-1996 Barry Warsaw <barry@python.org> Minor formatting changes.
/external/python/cpython2/Modules/posixmodule.c
53699e9ec11c8bf38b482ec82de52b8b8e007e89 11-Dec-1996 Barry Warsaw <barry@python.org> Renamed.

Note that there is no test suite for this module, and I don't plan to
write one just now.
/external/python/cpython2/Modules/posixmodule.c
a376cc5cc86c62f912886c4002ed1a9b3b213b88 06-Dec-1996 Guido van Rossum <guido@python.org> Keep gcc -Wall happy.
/external/python/cpython2/Modules/posixmodule.c
d266eb460e20ded087d01a29da0a230e235afc40 25-Oct-1996 Guido van Rossum <guido@python.org> New permission notice, includes CNRI.
/external/python/cpython2/Modules/posixmodule.c
87755a24c2df27f45a654b89b064606bc1905195 07-Sep-1996 Guido van Rossum <guido@python.org> Use #ifdef MS_WIN32 instead of _MSC_VER > 850.
/external/python/cpython2/Modules/posixmodule.c
f1af3fe8ebcb506cd78e907d48fbf8f4868164d8 23-Jul-1996 Guido van Rossum <guido@python.org> Added simple-minded (i.e. leaking :-) putenv() interface, if os has it.
/external/python/cpython2/Modules/posixmodule.c
c012547142cfa91192f562ea0204fcf6f5275708 28-Jun-1996 Guido van Rossum <guido@python.org> Added plock() system call.
Changed test for Windows times() emulation.
/external/python/cpython2/Modules/posixmodule.c
8d665e6b513061df44fc0ee0e0351337e9640dc3 26-Jun-1996 Guido van Rossum <guido@python.org> changed windows test symbols; removed debug printf from sockets
/external/python/cpython2/Modules/posixmodule.c
fd03e2b4b1196b8ad2985ecc69947c044d6e27c6 20-Jun-1996 Guido van Rossum <guido@python.org> Clear waitpid() status arg in case there's no process to report with
WNOHANG set.
/external/python/cpython2/Modules/posixmodule.c
8bac546e1150f213d27e5f0e0ecfaf0c826be83f 11-Jun-1996 Guido van Rossum <guido@python.org> Avoid core dump in resizestring() on read() with 0 bytes.
/external/python/cpython2/Modules/posixmodule.c
a0e71303d91921c09c6cadd8410d2f8a8ff7cc33 29-May-1996 Guido van Rossum <guido@python.org> Changed NT -> MSC or WATCOM
/external/python/cpython2/Modules/posixmodule.c
a4916fa54f007ec9f8b376e087b6a4493122d277 24-May-1996 Guido van Rossum <guido@python.org> Added mkfifo, ftruncate. Windows/PC changes.
/external/python/cpython2/Modules/posixmodule.c
b0824db52c1805a267aea1f49e4778251ff802fe 25-Feb-1996 Guido van Rossum <guido@python.org> Made 2nd arg to mkdir optional
/external/python/cpython2/Modules/posixmodule.c
f4a5912d511375123e417ec022c9d9fc22f3602e 13-Feb-1996 Guido van Rossum <guido@python.org> add remove==unlink; mark strftime as varargs
/external/python/cpython2/Modules/posixmodule.c
bbc3410fa819ff3b0945d9cf9fcb92550b0b799a 13-Sep-1995 Guido van Rossum <guido@python.org> added 5th return item, clock time, to posix.times()
/external/python/cpython2/Modules/posixmodule.c
24f42ac74c360eab36721bb01293940d2a743dd5 18-Jul-1995 Guido van Rossum <guido@python.org> suppress . and .. in listdir return value
/external/python/cpython2/Modules/posixmodule.c
36bc68024f3d717d94719b0c03de15e846a208e6 15-Jun-1995 Guido van Rossum <guido@python.org> sys/wait.h; NeXT changes (no unistd, utime; getcwd?)
/external/python/cpython2/Modules/posixmodule.c
de4e124c9b8e48f8777b1d51afdf8b1fa709718f 30-Mar-1995 Guido van Rossum <guido@python.org> add WNOHANG
/external/python/cpython2/Modules/posixmodule.c
6f4f5f789258b045ad7638ca6227b4998a86feb3 10-Mar-1995 Guido van Rossum <guido@python.org> some more changes for NT and Borland
/external/python/cpython2/Modules/posixmodule.c
ad0ee8369c63197a984a40a3b362ff29100d01bb 01-Mar-1995 Guido van Rossum <guido@python.org> changes for NT/Borland C
/external/python/cpython2/Modules/posixmodule.c
a38a5035768854e9e0d7e071baab30a0828bbc3a 17-Feb-1995 Guido van Rossum <guido@python.org> fix comment opener after #endif
/external/python/cpython2/Modules/posixmodule.c
d1b3481d69fd679770f6a8a28d877de235e27b3b 07-Feb-1995 Guido van Rossum <guido@python.org> correct typo in utime stub
/external/python/cpython2/Modules/posixmodule.c
f8803dd6c3089f4dcbda061fd567acd55995d9f4 26-Jan-1995 Guido van Rossum <guido@python.org> uname 64-bit fix
/external/python/cpython2/Modules/posixmodule.c
a6a1e536acb3769a087dc705e6035f913a28a9ab 10-Jan-1995 Guido van Rossum <guido@python.org> added bufsize parameter to fdopen and popen
/external/python/cpython2/Modules/posixmodule.c
524b588553afb0759c5be590a7aa41db92dcd2ae 04-Jan-1995 Guido van Rossum <guido@python.org> Added 1995 to copyright message.
Setup.in: clarified Tk comments somewhat.
structmodule.c: use memcpy() instead of double precision assignment.
/external/python/cpython2/Modules/posixmodule.c
3bbc62e9c25d4c006cd21d6b1314ccf0ba211382 02-Jan-1995 Guido van Rossum <guido@python.org> Another bulky set of minor changes.
Note addition of gethostbyaddr() and improved repr() for sockets,
renaming of md5.md5() to md5.new(), and fixing of leaks in threads.
/external/python/cpython2/Modules/posixmodule.c
6493389a8c46fc893baedbec73fae2e34fcdcd7a 20-Oct-1994 Guido van Rossum <guido@python.org> distinguish between getpgrp and setpgrp arg requirements
/external/python/cpython2/Modules/posixmodule.c
14ed0b2cd3d814874b7ce03201fd4b634dbec63e 29-Sep-1994 Guido van Rossum <guido@python.org> * Modules/xxmodule.c: integrated with xxobject.c by Jack

* Modules/(posix,socket}module.c: more NT changes
/external/python/cpython2/Modules/posixmodule.c
b078ce10d469934d061378049bc2629f99961cd1 29-Aug-1994 Guido van Rossum <guido@python.org> Move #endif for NT
/external/python/cpython2/Modules/posixmodule.c
794d81313b5a986ae3063899df6f7c93c99921a7 23-Aug-1994 Guido van Rossum <guido@python.org> * Modules/posixmodule.c: some more NT changes
/external/python/cpython2/Modules/posixmodule.c
6a3eb5f14d896ae9ad066a6ad96941bc7d244554 18-Aug-1994 Guido van Rossum <guido@python.org> Changes to make it work and compile on NT, by Mark Hammond.
(NT changes for posixmodule.c re-invented by Guido.)
/external/python/cpython2/Modules/posixmodule.c
b6775db241f5fe5e3dc2ca09fc6c9e6164d4b2af 01-Aug-1994 Guido van Rossum <guido@python.org> Merge alpha100 branch back to main trunk
/external/python/cpython2/Modules/posixmodule.c
248a50c168c5368cb3e677ffe45e824771b1ddc0 20-Dec-1993 Guido van Rossum <guido@python.org> * Grammar: corrected old typo (class instead of 'class')
* dosmodule.c: MSDOS specific stuff from posixmodule.c.
* posixmodule.c: removed all MSDOS specific stuff.
* tokenizer.h, parsetok.h: in prototypes, don't mix named and unnamed
parameters (MSC doesn't like this).
/external/python/cpython2/Modules/posixmodule.c
b376a4ad1848d1319245f440c85ef265e1fef401 23-Nov-1993 Guido van Rossum <guido@python.org> * timemodule.c: Add hack for Solaris 2.
* posixmodule.c: don't prototype getcwd() -- it's not portable...
* mappingobject.c: double-check validity of last_name_char in
dict{lookup,insert,remove}.
* arraymodule.c: need memmove only for non-STDC Suns.
* Makefile: comment out HTML_LIBS and XT_USE by default
* pythonmain.c: don't prototype getopt() -- it's not standardized
* socketmodule.c: cast flags arg to {get,set}sockopt() and addrbuf arg to
recvfrom() to (ANY*).
* pythonrun.c (initsigs): fix prototype, make it static
* intobject.c (LONG_BIT): only #define it if not already defined
* classobject.[ch]: remove all references to unused instance_convert()
* mappingobject.c (getmappingsize): Don't return NULL in int function.
/external/python/cpython2/Modules/posixmodule.c
a3d78fb268da5cf7cd4d990cf118bfc01650a8d9 10-Nov-1993 Guido van Rossum <guido@python.org> * posixmodule.c: added set{uid,gid}.
* {tuple,list,mapping,array}object.c: call printobject with 0 for flags
* compile.c (parsestr): use quote instead of '\'' at one crucial point
* arraymodule.c (array_getattr): Added __members__ attribute
/external/python/cpython2/Modules/posixmodule.c
c6dcc9f407fb914ebc52353c94f8c1a47fdb7ada 05-Nov-1993 Guido van Rossum <guido@python.org> Added execve; change getstrarg into getargs with "s" format
/external/python/cpython2/Modules/posixmodule.c
c70b61fe6d729ddebc536ec273d97f57fa47cd86 01-Nov-1993 Guido van Rossum <guido@python.org> Hacks for NEXTSTEP.
/external/python/cpython2/Modules/posixmodule.c
06191530b6f3aafef6128d9c7717980a18d92205 26-Oct-1993 Guido van Rossum <guido@python.org> Work around a bug in the DEC alpha OSF/1 C preprocessor.
/external/python/cpython2/Modules/posixmodule.c
89b3325dc4d6999bb00068e048a76f7eba23a7a5 22-Oct-1993 Guido van Rossum <guido@python.org> * import.c (MAGIC): Changed magic word to avoid confusion about exec
function vs. exec statement
* bltinmodule.c: renamed the module to __builtin__.
* posixmodule.c (posix_execv): renamed exec --> execv since it is now a
reserved word.
/external/python/cpython2/Modules/posixmodule.c
a3309960a50dbadfd854299e7420223eb8718a56 28-Jul-1993 Guido van Rossum <guido@python.org> * Added support for X11 modules.
* Makefile: change location of FORMS library.
* posixmodule.c: turn #if 0 into #ifdef MSDOS (stuff in unistd.h or not)
* Almost all .h files: added CPP magic to avoid duplicate inclusions and
to support inclusion from C++.
/external/python/cpython2/Modules/posixmodule.c
e22e6442b748f5f4703cb6f221e1e10b320d0295 09-Jul-1993 Guido van Rossum <guido@python.org> * config.c: different default PYTHONPATH for MS-DOS
* timemodule.c: change #ifdef TURBO_C into #ifdef MSDOS
* posixmodule.c: MSDOS changes by Marcel van der Peijl (Digicash)
* stropmodule.c: use C isspace(c) to test for whitespace; add
whitespace, lowercase and uppercase variables to the module.
/external/python/cpython2/Modules/posixmodule.c
234f942aefb779efa6cfb7225e21d16a3f7e80f7 17-Jun-1993 Guido van Rossum <guido@python.org> * Added gmtime/localtime/mktime and SYSV timezone globals to timemodule.c.
Added $(SYSDEF) to its build rule in Makefile.
* cgensupport.[ch], modsupport.[ch]: removed some old stuff. Also
changed files that still used it... And made several things static
that weren't but should have been... And other minor cleanups...
* listobject.[ch]: add external interfaces {set,get}listslice
* socketmodule.c: fix bugs in new send() argument parsing.
* sunaudiodevmodule.c: added flush() and close().
/external/python/cpython2/Modules/posixmodule.c
687dd13bfec51849c93db7c538ff41d4c8ecddcb 17-May-1993 Guido van Rossum <guido@python.org> New posix functions open, close, dup, dup2, lseek, read, write, fstat, pipe.
Improved some comments and defaults in the Makefile.
/external/python/cpython2/Modules/posixmodule.c
e537240c252ff678d49451ee6f80fa934653a724 16-Mar-1993 Guido van Rossum <guido@python.org> * Changed many files to use mkvalue() instead of newtupleobject().
* Fixcprt.py: added [-y file] option, do only files younger than file.
* modsupport.[ch]: added vmkvalue().
* intobject.c: use mkvalue().
* stringobject.c: added "formatstring"; renamed string* to string_*;
ceval.c: call formatstring for string % value.
* longobject.c: close memory leak in divmod.
* parsetok.c: set result node to NULL when returning an error.
/external/python/cpython2/Modules/posixmodule.c
0b0db8e3a07c92786fde60bf53bd1d5aa32e0aae 21-Jan-1993 Guido van Rossum <guido@python.org> Added separate main program for the Mac: macmain.c
stdwinmodule.c: wsetfont can now return an error
Makefile: add CL_USE and CL_LIB*S; config.c: move CL part around
New things in imgfile; also in Makefile.
longobject.c: fix comparison of negative long ints... [REAL BUG!]
marshal.c: add dumps() and loads() to read/write strings
timemodule.c: make sure there's always a floatsleep()
posixmodule.c: rationalize struct returned by times()
Makefile: add test target, disable imgfile by default
thread.c: Improved coexistance with dl module (sjoerd)
stdwinmodule.c: Change include stdwin.h if macintosh
rotormodule.c: added missing last argument to RTR_?_region calls
confic.c: merged with configmac.c, added 1993 to copyright message
fileobject.c: int compared to NULL in writestring(); change fopenRF ifdef
timemodule.c: simplify times() using mkvalue; include myselect.h
earlier (for sequent).
posixmodule: for sequent, include unistd.h instead of explicit
extern definitions and don't define rename()
Makefile: change misleading/wrong MD5 comments
/external/python/cpython2/Modules/posixmodule.c
775f4dacbc8163f085e07ea4195cf5b67dce5124 09-Jan-1993 Guido van Rossum <guido@python.org> * Makefile: use cp -r to install the library
* ceval.c: use #ifdef COMPAT_HACKS instead of #if 0
* Makefile: fix to make clmodule.c compile;
make config.o dependent on libpython.a (so date is always correct)
* timemodule.c: now sleep() also takes a float argument.
* posixmodule.c: added nice().
/external/python/cpython2/Modules/posixmodule.c
a2b7f40513ba5d75a2063c3fabe47377cd8c0416 04-Jan-1993 Guido van Rossum <guido@python.org> * Configure.py: use #!/usr/local/bin/python
* posixmodule.c: move extern function declarations to top
* listobject.c: cmp() arguments must be void* if __STDC__
* Makefile, allobjects.h, panelmodule.c, modsupport.c: get rid of
strdup() -- it is a portability risk
* Makefile: enclosed ranlib command in parentheses for Sequent Make
which aborts if the command is not found even if '-' is present
* timemodule.c: time() returns a floating point number, in microsecond
precision if BSD_TIME is defined.
/external/python/cpython2/Modules/posixmodule.c
7066dd75c5ee8385135541d03fb8edd8939ad740 17-Sep-1992 Guido van Rossum <guido@python.org> * Makefile: added IMGFILE; moved some stuff around.
* flmodule.c: added some missing functions; changed readonly flags of
some data members based upon FORMS documentation.
* listobject.c: fixed int/long arg lint bug (bites PC compilers).
* several: removed redundant print methods (repr is good enough).
* posixmodule.c: added (still experimental) process group functions.
/external/python/cpython2/Modules/posixmodule.c
c2670a000bd69fb689a7b05436ff0091052f4f3c 13-Sep-1992 Guido van Rossum <guido@python.org> posix: added setpgrp() and, if sgi, setsid() and setpgid(pid, pgid)
/external/python/cpython2/Modules/posixmodule.c
423d6c6bcae783f8ebfcb0b692059eb294ab14dd 12-Aug-1992 Guido van Rossum <guido@python.org> DO_TIMES must now be defined in the Makefile
/external/python/cpython2/Modules/posixmodule.c
21803b8a6f9e78fc220bf95658182f7ca3265173 09-Aug-1992 Guido van Rossum <guido@python.org> Makefile, Configure.py: ##ask --> ##[el]if[yes|no]
posixmodule.c: waitpid() is separate
/external/python/cpython2/Modules/posixmodule.c
ff4949eeee7f86117d4a69599777ff5564315e39 05-Aug-1992 Guido van Rossum <guido@python.org> * Makefile: cosmetics
* socketmodule.c: get rid of makepair(); fix makesocketaddr to fix
broken recvfrom()
* socketmodule: get rid of getStrarg()
* ceval.h: move eval_code() to new file eval.h, so compile.h is no
longer needed.
* ceval.c: move thread comments to ceval.h; always make save/restore
thread functions available (for dynloaded modules)
* cdmodule.c, listobject.c: don't include compile.h
* flmodule.c: include ceval.h
* import.c: include eval.h instead of ceval.h
* cgen.py: add forground(); noport(); winopen(""); to initgl().
* bltinmodule.c, socketmodule.c, fileobject.c, posixmodule.c,
selectmodule.c:
adapt to threads (add BGN/END SAVE macros)
* stdwinmodule.c: adapt to threads and use a special stdwin lock.
* pythonmain.c: don't include getpythonpath().
* pythonrun.c: use BGN/END SAVE instead of direct calls; also more
BGN/END SAVE calls etc.
* thread.c: bigger stack size for sun; change exit() to _exit()
* threadmodule.c: use BGN/END SAVE macros where possible
* timemodule.c: adapt better to threads; use BGN/END SAVE; add
longsleep internal function if BSD_TIME; cosmetics
/external/python/cpython2/Modules/posixmodule.c
46003ff66a76d382cfff09b64933f382c64fa207 15-May-1992 Guido van Rossum <guido@python.org> Added gete?[gu]id functions
/external/python/cpython2/Modules/posixmodule.c
22db57e4a2e5b649d8cb4c7619a6c0ff04c70cd1 05-Apr-1992 Guido van Rossum <guido@python.org> Added times() (from time)
/external/python/cpython2/Modules/posixmodule.c
50e61dc2597ca5e3b5924feb2ab7d470c9c47da0 27-Mar-1992 Guido van Rossum <guido@python.org> Check empty argument lists.
Lint fixes (and include <unistd.h>)
/external/python/cpython2/Modules/posixmodule.c
c39de5fe61f355811fbf47080e3bfadb2d41c1f2 05-Feb-1992 Guido van Rossum <guido@python.org> Added uname. Made lstat/readlink/symlink unconditional (the latter
two raise posix.error if symlinks aren't supported).
/external/python/cpython2/Modules/posixmodule.c
ef0a00ec0c8f2fb98616328fa7efdeaf160c0587 27-Jan-1992 Guido van Rossum <guido@python.org> Use getargs() function.
/external/python/cpython2/Modules/posixmodule.c
b988c33d5a17df053e0a77f72f71513172a03364 10-Sep-1991 Guido van Rossum <guido@python.org> getlonglongargs --> getlonglongarg
Fixed type error in argument of newopenfileobject.
/external/python/cpython2/Modules/posixmodule.c
e0d452d5efe511274754589c247a2a3952fbac87 27-Jul-1991 Guido van Rossum <guido@python.org> Ignore SIGPIPE when we've opened a pipe
/external/python/cpython2/Modules/posixmodule.c
9db401333f3915c4bae0a1cfe045668832532704 01-Jul-1991 Guido van Rossum <guido@python.org> Fixed confusing error message (open should be popen)
/external/python/cpython2/Modules/posixmodule.c
971443b7d46f82f24412560934e9baeefaa094bc 07-Jun-1991 Guido van Rossum <guido@python.org> Getpgrp() has a parameter, at least on BSD!
/external/python/cpython2/Modules/posixmodule.c
0481447f4135c11d42ae25f55696af8e8d52fe74 04-Jun-1991 Guido van Rossum <guido@python.org> Added getpgrp(); fixed buggy calls to getnoarg().
/external/python/cpython2/Modules/posixmodule.c
3b06619e1cbb2dfc4da4992bc648304e48af1701 04-Jun-1991 Guido van Rossum <guido@python.org> Added popen().
Added getmtime() function for use by ".pyc" processing.
/external/python/cpython2/Modules/posixmodule.c
85e3b01f3b2c4cf8b217b5238d1ee4e9269969d0 03-Jun-1991 Guido van Rossum <guido@python.org> Removed utimes() compatibility hack.
Added _exit, exec, fork, getpid, getppid, kill and wait.
/external/python/cpython2/Modules/posixmodule.c
0ee42cdcf97c4778e8ff6f09d5211fcd492b7119 08-Apr-1991 Guido van Rossum <guido@python.org> Incorporated MSDOS changes (untested).
/external/python/cpython2/Modules/posixmodule.c
1ff6cb4f4f66de30fbdac0741cdc65f486d439fd 08-Apr-1991 Guido van Rossum <guido@python.org> Made utime use much more portable.
Incorporated i386 mods.
(Oh, BTW, the "right" python name is now posix.utime, not utimes!
/external/python/cpython2/Modules/posixmodule.c
f70e43a073b36c6f6e9894c01025243a77a452d4 19-Feb-1991 Guido van Rossum <guido@python.org> Added copyright notice.
/external/python/cpython2/Modules/posixmodule.c
c83fd373412e6c0f73c839a882e6a40c93e963f4 21-Jan-1991 Guido van Rossum <guido@python.org> Moved getcwd() hack to its own file.
/external/python/cpython2/Modules/posixmodule.c
3f5da24ea304e674a9abbdcffc4d671e32aa70f1 20-Dec-1990 Guido van Rossum <guido@python.org> "Compiling" version
/external/python/cpython2/Modules/posixmodule.c
7f77e2d4f8cbb4de8405dd1d2d8c9272b1c9350a 30-Oct-1990 Guido van Rossum <guido@python.org> Added prototype to declaration of strerror().
/external/python/cpython2/Modules/posixmodule.c
9a1581cecaece4375ff6fd8643a21a6fc8ab5a49 21-Oct-1990 Guido van Rossum <guido@python.org> Made posix_error back static as it should be.
/external/python/cpython2/Modules/posixmodule.c
e8f305aec6f2f2ee6b43e4efb9ae9d9bb306312a 14-Oct-1990 Guido van Rossum <guido@python.org> Change posix_error() to call err_errno().
/external/python/cpython2/Modules/posixmodule.c
85a5fbbdfea617f6cc8fae82c9e8c2b5c424436d 14-Oct-1990 Guido van Rossum <guido@python.org> Initial revision
/external/python/cpython2/Modules/posixmodule.c