[Python-checkins] cpython (merge 2.7 -> 2.7): merge 2.7.4 release branch

benjamin.peterson python-checkins at python.org
Sat Mar 23 22:19:27 CET 2013


http://hg.python.org/cpython/rev/febd3218bbc7
changeset:   82928:febd3218bbc7
branch:      2.7
parent:      82926:9a798f2ee1c5
parent:      82927:a4dbe53577cb
user:        Benjamin Peterson <benjamin at python.org>
date:        Sat Mar 23 16:19:20 2013 -0500
summary:
  merge 2.7.4 release branch

files:
  Modules/posixmodule.c |  4 ----
  1 files changed, 0 insertions(+), 4 deletions(-)


diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -397,8 +397,6 @@
                     goto OverflowUp;
                 return 0;
             }
-            if ((uid_t)uresult == (uid_t)-1)
-                goto OverflowUp;
         } else {
             if (result < 0)
                 goto OverflowDown;
@@ -451,8 +449,6 @@
                     goto OverflowUp;
                 return 0;
             }
-            if ((gid_t)uresult == (gid_t)-1)
-                goto OverflowUp;
         } else {
             if (result < 0)
                 goto OverflowDown;

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list