Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Solaris 11, python2.6 fixes in ptyprocess.py #15

Closed
wants to merge 8 commits into from

Commits on Apr 25, 2015

  1. Configuration menu
    Copy the full SHA
    c72277e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c321b8f View commit details
    Browse the repository at this point in the history
  3. Various Solaris 11 fixes in ptyprocess.py

    - termios.tcgetattr(fd)[6][VEOF] becomes value of 1(int), where we
      expect '\x04' (^D).  seems to be a bug with the compilation of
      python2.6 that Sun provides with Solaris 11.
    
      if _is_solairs is True, and the return value is an integer,
      just assume its a bork and manually set 4(int)(^D).
    
    - Fix several "ValueError: zero length field name in format" errors
      for Python 2.6, which is what ships with Solaris 11.  This caused
      an exception at a critical path in pty.fork(), where the parent
      would block on os.read of 'exec_err_pipe_read' indefinitely, as
      the child raised an exception trying to construct the 'tosend'
      value.
    
    - In spawn(), allow errno.ENXIO when calling inst.setwindowsize(),
      in some cases, such as spawn(['/bin/true']), the child process
      may have exited so quickly as to no longer be able to accept any
      terminal driver calls.
    jquast committed Apr 25, 2015
    Configuration menu
    Copy the full SHA
    dd4968e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    89a05fb View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e8daf09 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    dff136e View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    8c72af6 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    c9478e3 View commit details
    Browse the repository at this point in the history