View | Details | Raw Unified | Return to bug 21089 | Differences between
and this patch

Collapse All | Expand All

(-)ex/ex_quit.c (+3 lines)
Lines 35-40 Link Here
35
{
35
{
36
	int force;
36
	int force;
37
37
38
	if (INTERRUPTED(sp))
39
		return (1);
40
38
	force = FL_ISSET(cmdp->iflags, E_C_FORCE);
41
	force = FL_ISSET(cmdp->iflags, E_C_FORCE);
39
42
40
	/* Check for file modifications, or more files to edit. */
43
	/* Check for file modifications, or more files to edit. */
(-)ex/ex_write.c (-2 / +3 lines)
Lines 140-145 Link Here
140
	int flags;
140
	int flags;
141
	char *name, *p;
141
	char *name, *p;
142
142
143
	if (INTERRUPTED(sp))
144
		return (1);
145
143
	NEEDFILE(sp, cmdp);
146
	NEEDFILE(sp, cmdp);
144
147
145
	/* All write commands can have an associated '!'. */
148
	/* All write commands can have an associated '!'. */
Lines 323-330 Link Here
323
		for (; fline <= tline; ++fline, ++lcnt) {
326
		for (; fline <= tline; ++fline, ++lcnt) {
324
			/* Caller has to provide any interrupt message. */
327
			/* Caller has to provide any interrupt message. */
325
			if ((lcnt + 1) % INTERRUPT_CHECK == 0) {
328
			if ((lcnt + 1) % INTERRUPT_CHECK == 0) {
326
				if (INTERRUPTED(sp))
327
					break;
328
				if (!silent) {
329
				if (!silent) {
329
					gp->scr_busy(sp, msg, msg == NULL ?
330
					gp->scr_busy(sp, msg, msg == NULL ?
330
					    BUSY_UPDATE : BUSY_ON);
331
					    BUSY_UPDATE : BUSY_ON);

Return to bug 21089