1. 07 Feb, 2006 3 commits
    • Neal Norwitz's avatar
      Bug #876637, prevent stack corruption when socket descriptor · 082b2df3
      Neal Norwitz authored
      is larger than FD_SETSIZE.
      
      This can only be acheived with ulimit -n SOME_NUMBER_BIGGER_THAN_FD_SETSIZE
      which is typically only available to root.  Since this wouldn't normally
      be run in a test (ie, run as root), it doesn't seem too worthwhile to
      add a normal test.  The bug report has one version of a test.  I've
      written another.  Not sure what the best thing to do is.
      
      Do the check before calling internal_select() because we can't set
      an error in between Py_BEGIN_ALLOW_THREADS and Py_END_ALLOW_THREADS.
      This seemed the clearest solution, ie handle before calling internal_select()
      rather than inside.  Plus there is at least one place outside
      of internal_select() that needed to be handled.
      
      Will backport.
      082b2df3
    • Neal Norwitz's avatar
      Fix indentation (whitespace only). · 19cbcad2
      Neal Norwitz authored
      19cbcad2
    • Neal Norwitz's avatar
      Check return results for errors · 02876df9
      Neal Norwitz authored
      02876df9
  2. 05 Feb, 2006 5 commits
  3. 04 Feb, 2006 4 commits
  4. 03 Feb, 2006 2 commits
  5. 02 Feb, 2006 1 commit
  6. 01 Feb, 2006 1 commit
    • Thomas Wouters's avatar
      As discussed on python-dev, silence three gcc-4.0.x warnings, using assert() · 553489ab
      Thomas Wouters authored
      to protect against actual uninitialized usage.
      
      Objects/longobject.c: In function ‘PyLong_AsDouble’:
      Objects/longobject.c:655: warning: ‘e’ may be used uninitialized in this function
      
      Objects/longobject.c: In function ‘long_true_divide’:
      Objects/longobject.c:2263: warning: ‘aexp’ may be used uninitialized in this function
      Objects/longobject.c:2263: warning: ‘bexp’ may be used uninitialized in this function
      553489ab
  7. 31 Jan, 2006 1 commit
  8. 30 Jan, 2006 2 commits
  9. 29 Jan, 2006 6 commits
  10. 28 Jan, 2006 1 commit
    • Thomas Wouters's avatar
      Work around a Solaris peculiarity that caused test_pty to sometimes fail: a · 35f34f8d
      Thomas Wouters authored
      tty opened by os.openpty() isn't always a tty according to os.isatty(), when
      it's tested inside the process that opened it. Doesn't affect actual
      functionality, as using a tty this way is rarely, if ever, useful. Ignoring
      the failure allows the test for actual functionality to continue.
      
      Will backport to 2.4-maint.
      35f34f8d
  11. 27 Jan, 2006 3 commits
  12. 26 Jan, 2006 1 commit
  13. 25 Jan, 2006 4 commits
  14. 24 Jan, 2006 6 commits