1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
| --- rsync-3.2.7/authenticate.c.orig
| +++ rsync-3.2.7/authenticate.c
| @@ -365,7 +365,11 @@
| *
| * OpenBSD has a readpassphrase() that might be more suitable.
| */
| - pass = getpass("Password: ");
| +#ifdef __sun
| + pass = getpassphrase("Password: ");
| +#else
| + pass = getpass("Password: ");
| +#endif
| }
|
| if (!pass)
|
|