diff options
author | Johan Redestig <johan.redestig@sonymobile.com> | 2012-01-10 17:48:01 +0900 |
---|---|---|
committer | Johan Redestig <johan.redestig@sonymobile.com> | 2012-09-05 09:42:37 +0200 |
commit | bb5816aa1626eb2f6263bd21479600b114c8a1bd (patch) | |
tree | 0011439701c856c58d31dcb028dc7a3364a61a77 /annotations/generate_annotated_java_files.py | |
parent | f26e2ed8981895aab395cf14ef25fb54a208614b (diff) |
Make FileDescriptor.sync() work on ttys
fsync on Linux fails on tty file descriptors. This change
adds the capability to make sure all data was written to the
terminal device descriptor to java.io.FileDescriptor.sync()
implementation.
Also fixed the return value from Posix_isatty. isatty
returns 1 if an fd is a tty and 0 otherwise.
Change-Id: I6cc65db83f523b4c31b67b48d7534e18af0989e8
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions