not report really serious trouble with the destination.
Files: *qmgr/qmgr_deliver.c.
+20040122
+
+ UNDO the 20040104 change (vstring_get() etc. return
+ VSTREAM_EOF when they terminate prematurely, instead of
+ returning the last character stored, to avoid mis-leading
+ warnings). File: global/vstring_vstream.c.
+
+ Portability: test -e is not portable. File: conf/postfix-script.
+
Open problems:
Doc: mention the proxy_interfaces parameter everywhere the
* Patches change the patchlevel and the release date. Snapshots change the
* release date only, unless they include the same bugfix as a patch release.
*/
-#define MAIL_RELEASE_DATE "20040119"
+#define MAIL_RELEASE_DATE "20040122"
#define VAR_MAIL_VERSION "mail_version"
-#define DEF_MAIL_VERSION "2.0.17"
+#define DEF_MAIL_VERSION "2.0.18"
extern char *var_mail_version;
/*
break;
}
VSTRING_TERMINATE(vp);
- return (c == VSTREAM_EOF ? c : VSTRING_GET_RESULT(vp));
+ return (VSTRING_GET_RESULT(vp));
}
/* vstring_get_nonl - read line from file, strip newline */
while ((c = VSTREAM_GETC(fp)) != VSTREAM_EOF && c != '\n')
VSTRING_ADDCH(vp, c);
VSTRING_TERMINATE(vp);
- return (c == '\n' || c == VSTREAM_EOF ? c : VSTRING_GET_RESULT(vp));
+ return (c == '\n' ? c : VSTRING_GET_RESULT(vp));
}
/* vstring_get_null - read null-terminated string from file */
while ((c = VSTREAM_GETC(fp)) != VSTREAM_EOF && c != 0)
VSTRING_ADDCH(vp, c);
VSTRING_TERMINATE(vp);
- return (c == 0 || c == VSTREAM_EOF ? c : VSTRING_GET_RESULT(vp));
+ return (c == 0 ? c : VSTRING_GET_RESULT(vp));
}
/* vstring_get_bound - read line from file, keep newline, up to bound */
break;
}
VSTRING_TERMINATE(vp);
- return (c == VSTREAM_EOF ? c : VSTRING_GET_RESULT(vp));
+ return (VSTRING_GET_RESULT(vp));
}
/* vstring_get_nonl_bound - read line from file, strip newline, up to bound */
while (bound-- > 0 && (c = VSTREAM_GETC(fp)) != VSTREAM_EOF && c != '\n')
VSTRING_ADDCH(vp, c);
VSTRING_TERMINATE(vp);
- return (c == '\n' || c == VSTREAM_EOF ? c : VSTRING_GET_RESULT(vp));
+ return (c == '\n' ? c : VSTRING_GET_RESULT(vp));
}
/* vstring_get_null_bound - read null-terminated string from file */
while (bound-- > 0 && (c = VSTREAM_GETC(fp)) != VSTREAM_EOF && c != 0)
VSTRING_ADDCH(vp, c);
VSTRING_TERMINATE(vp);
- return (c == 0 || c == VSTREAM_EOF ? c : VSTRING_GET_RESULT(vp));
+ return (c == 0 ? c : VSTRING_GET_RESULT(vp));
}
#ifdef TEST