diff options
Diffstat (limited to 'ex_re.c')
| -rw-r--r-- | ex_re.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -475,7 +475,7 @@ comprhs(int seof) #ifdef BIT8 qp = rhsquo; #endif - CP(orhsbuf, rp); + lcpy(orhsbuf, rp, sizeof orhsbuf); #ifdef BIT8 copy(orhsquo, qp, (size_t) strlen(rp)); #endif @@ -778,7 +778,7 @@ ovflo: loc2 += n; } #endif /* UXRE */ - while (*sp++ = *lp++) + while ((*sp++ = *lp++)) if (sp >= &genbuf[LBSIZE]) goto ovflo; strcLIN(genbuf); @@ -857,9 +857,9 @@ snote(register int total, register int lines) if (!notable(total)) return; - printf(mesg(catgets(catd, 1, 131, "%d subs|%d substitutions")), total); + ex_printf(mesg(catgets(catd, 1, 131, "%d subs|%d substitutions")), total); if (lines != 1 && lines != total) - printf(catgets(catd, 1, 132, " on %d lines"), lines); + ex_printf(catgets(catd, 1, 132, " on %d lines"), lines); noonl(); flush(); } |
