bk: 4885ab46aKc4vv3YlB83c-KH57Zucw
+* [Bug 1038] Built-in getpass() function also prompts for password if not built with DEBUG.
* [Bug 959] Refclock on Windows not properly releasing recvbuffs.
* [Bug 993] Fix memory leak when fetching system messages.
* [Bug 987] Wake up the resolver thread/process when a new interface has
{
int c, i;
static char password[32];
-#ifdef DEBUG
+
fprintf(stderr, "%s", prompt);
fflush(stderr);
-#endif
+
for (i=0; i<sizeof(password)-1 && ((c=_getch())!='\n' && c!='\r'); i++) {
password[i] = (char) c;
}