diff options
author | Larry Wall <lwall@netlabs.com> | 1993-02-04 22:50:33 +0000 |
---|---|---|
committer | Larry Wall <lwall@netlabs.com> | 1993-02-04 22:50:33 +0000 |
commit | e334a159a5616cab575044bafaf68f75b7bb3a16 (patch) | |
tree | 47369293eb7417e5322f7fe46e1a1cfc0d9c69ef /str.c | |
parent | 514dae0dba791ec01681adb3b3946a7646e146b3 (diff) | |
download | perl-4.0.36.tar.gz |
perl 4.0 patch 36: (combined patch)perl-4.0.36
Since Ed Barton sent me a patch for the malignent form of "Malformed
cmd links", I finally broke down and made a patch for the various
other little things that have been accumulating on version 4.
Diffstat (limited to 'str.c')
-rw-r--r-- | str.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -863,11 +863,10 @@ screamer: bp = buf; while ((i = getc(fp)) != EOF && (*bp++ = i) != newline && bp < bpe) ; - *bp = '\0'; if (append) - str_cat(str, buf); + str_ncat(str, buf, bp - buf); else - str_set(str, buf); + str_nset(str, buf, bp - buf); if (i != EOF /* joy */ && (i != newline |