summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
a428afd)
<stdlib.h> for calloc(), <unistd.h> for ttyname(), and "h/mh.h" for adios().
Also changed ch from char to int to get rid of "comparison is always 1 due to
limited range of data type" on EOF.
-Tue May 09 00:11:55 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
+Tue May 09 00:50:39 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
* Alphabetized Shantonu's $pop_kinds output on configure's "pop is
enabled" line. If POP3 is the only kind of POP enabled, say so,
rather than just saying "yes" (which is ambiguous).
* Alphabetized Shantonu's $pop_kinds output on configure's "pop is
enabled" line. If POP3 is the only kind of POP enabled, say so,
rather than just saying "yes" (which is ambiguous).
+
+ * Got rid of four warnings in Shantonu's new getpass.c. Needed to
+ #include <stdlib.h> for calloc(), <unistd.h> for ttyname(), and
+ "h/mh.h" for adios(). Also changed ch from char to int to get rid
+ of "comparison is always 1 due to limited range of data type" on EOF.
Mon May 08 23:51:55 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
Mon May 08 23:51:55 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
+#include <stdlib.h> /* for calloc() */
+#include <unistd.h> /* for ttyname() */
+#include "h/mh.h" /* for adios() */
+getpass(const char *prompt)
{
struct termios oterm, term;
{
struct termios oterm, term;
char *p, *ttystring, *buf;
FILE *fout, *fin;
char *p, *ttystring, *buf;
FILE *fout, *fin;