]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
darwin-restore-terminal-after-read-password-20021028
authorSimon Spero <ses@unc.edu>
Mon, 28 Oct 2002 23:56:40 +0000 (23:56 +0000)
committerDerrick Brashear <shadow@dementia.org>
Mon, 28 Oct 2002 23:56:40 +0000 (23:56 +0000)
turn echo back on

src/des/read_pssword.c

index 870f52e4016fb8647837d7494eea8a05bc58dc9e..91c1a2cf38310e5428dbda64b8b33374fadf7709 100644 (file)
@@ -308,7 +308,7 @@ lose:
     if (!ok)
        memset(s, 0, maxa);
     printf("\n");
-#if defined(AFS_HPUX_ENV) || defined(AFS_XBSD_ENV)
+#if defined(AFS_HPUX_ENV) || defined(AFS_XBSD_ENV) || defined(AFS_DARWIN_ENV)
     /*
      * Restore the terminal to its previous characteristics.
      * Restore the old signal handler for SIGINT.