Commit Graph

3 Commits

Author SHA1 Message Date
Leonid Pliushch
20e5d8252f unrar: fix getpass()
1. Use TCSANOW instead of TSAFLUSH to prevent failure on Android 8.
2. Return empty password if failed to read from console, fixes segfault.
2018-07-03 13:25:09 +02:00
Leonid Pliushch
599d1a9f06 unrar: make getpass() static 2017-09-14 20:26:17 +02:00
Leonid Pliushch
c0823dfbf4 unrar: rewrite getpass() so password will not be echoed 2017-09-14 20:26:17 +02:00