use system-own getpassword() function on NetWare.
This commit is contained in:
parent
71a0d50f48
commit
c60b52ab43
@ -124,6 +124,16 @@ char *getpass_r(const char *prompt, char *buffer, size_t buflen)
|
||||
#define DONE
|
||||
#endif /* WIN32 */
|
||||
|
||||
#ifdef NETWARE
|
||||
/* NetWare implementation */
|
||||
#include <screen.h>
|
||||
char *getpass_r(const char *prompt, char *buffer, size_t buflen)
|
||||
{
|
||||
return(getpassword(prompt, buffer, buflen));
|
||||
}
|
||||
#define DONE
|
||||
#endif /* WIN32 */
|
||||
|
||||
#ifndef DONE /* not previously provided */
|
||||
|
||||
#ifdef HAVE_TERMIOS_H
|
||||
|
Loading…
x
Reference in New Issue
Block a user