- int mustsend, uflag, hdrstop(), (*prevint)();
+ int mustsend, uflag, hdrstop(), (*prevint)(), f;
- if (setfile(mailname, edit) < 0)
+ if (setfile(mailname, edit) < 0) {
+ if (edit)
+ perror(mailname);
+ else
+ fprintf(stderr, "No mail for %s\n", myname);
if (!edit && !noheader && value("noheader") == NOSTR) {
if (setjmp(hdrjmp) == 0) {
if ((prevint = sigset(SIGINT, SIG_IGN)) != SIG_IGN)
sigset(SIGINT, hdrstop);
if (!edit && !noheader && value("noheader") == NOSTR) {
if (setjmp(hdrjmp) == 0) {
if ((prevint = sigset(SIGINT, SIG_IGN)) != SIG_IGN)
sigset(SIGINT, hdrstop);