+Wed Nov 2 21:08:04 1994 Theodore Y. Ts'o (tytso@dcl)
+
+ * poplib.c (getline, multiline): NULL should not be used as a
+ character assignment value. Use '\0' instead.
+
Mon Oct 3 19:17:31 1994 Theodore Y. Ts'o (tytso@dcl)
* Makefile.in: Use $(srcdir) to find manual page for make install.
return (DONE);
}
- *p = NULL;
- if (*--p == '\n') *p = NULL;
- if (*--p == '\r') *p = NULL;
+ *p = '\0';
+ if (*--p == '\n') *p = '\0';
+ if (*--p == '\r') *p = '\0';
return(OK);
}
{
if (getline(buf, n, f) != OK) return (NOTOK);
if (*buf == '.') {
- if (*(buf+1) == NULL) {
+ if (*(buf+1) == '\0') {
return (DONE);
} else {
strcpy(buf, buf+1);