SCCS-vsn: usr.bin/mail/lex.c 1.18
* Lexical processing of commands.
*/
* Lexical processing of commands.
*/
-static char *SccsId = "@(#)lex.c 1.17 %G%";
+static char *SccsId = "@(#)lex.c 1.18 %G%";
/*
* Set up editing on the given file name.
/*
* Set up editing on the given file name.
static int shudclob;
static char efile[128];
extern char tempMesg[];
static int shudclob;
static char efile[128];
extern char tempMesg[];
if ((ibuf = fopen(name, "r")) == NULL) {
if (isedit)
if ((ibuf = fopen(name, "r")) == NULL) {
if (isedit)
/*
* Looks like all will be well. We must now relinquish our
/*
* Looks like all will be well. We must now relinquish our
- * hold on the current set of stuff. Must ignore signals
+ * hold on the current set of stuff. Must hold signals
* while we are reading the new file, else we will ruin
* the message[] data structure.
*/
* while we are reading the new file, else we will ruin
* the message[] data structure.
*/
- sigsave(sigs, SIG_IGN);
if (shudclob) {
if (edit)
edstop();
if (shudclob) {
if (edit)
edstop();
setptr(ibuf);
setmsize(msgCount);
fclose(ibuf);
setptr(ibuf);
setmsize(msgCount);
fclose(ibuf);
shudann = 1;
sawcom = 0;
return(0);
shudann = 1;
sawcom = 0;
return(0);
if (edit) {
if (setexit())
exit(0);
if (edit) {
if (setexit())
exit(0);