JRuby

jna-posix isatty for Windows

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: JRuby 1.1.5
  • Component/s: Core Classes/Modules
  • Labels:
    None
  • Environment:
    Windows XP
  • Patch Submitted:
    Yes
  • Number of attachments :
    1

Description

Currently the jna-posix implementation of isatty for Windows just returns true for stdin/out/err. Attached is an implementation of isatty for Windows which handles redirection.

Activity

Hide
Charles Oliver Nutter added a comment -

Assign to Mr. JNA-POSIX himself.

Show
Charles Oliver Nutter added a comment - Assign to Mr. JNA-POSIX himself.
Hide
Thomas E Enebo added a comment -

I blindly applied this in 7924. Can someone confirm that we can run this on windows? Also, can someone write a simple test we can run to verify this is working? Leaving open for the moment.

Show
Thomas E Enebo added a comment - I blindly applied this in 7924. Can someone confirm that we can run this on windows? Also, can someone write a simple test we can run to verify this is working? Leaving open for the moment.
Hide
Thomas E Enebo added a comment -

jna-posix 0.8 has been released and the fix is in there

Show
Thomas E Enebo added a comment - jna-posix 0.8 has been released and the fix is in there

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: