Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
955f3ff9
Commit
955f3ff9
authored
Sep 07, 1998
by
Karl Heuer
Browse files
(error): After enlarging buffer, write to it, not to buf.
parent
bcb68cff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/eval.c
src/eval.c
+2
-2
No files found.
src/eval.c
View file @
955f3ff9
...
...
@@ -1482,7 +1482,7 @@ error (m, a1, a2, a3)
while
(
1
)
{
int
used
=
doprnt
(
buf
,
size
,
m
,
m
+
mlen
,
3
,
args
);
int
used
=
doprnt
(
buf
fer
,
size
,
m
,
m
+
mlen
,
3
,
args
);
if
(
used
<
size
)
break
;
size
*=
2
;
...
...
@@ -1495,7 +1495,7 @@ error (m, a1, a2, a3)
}
}
string
=
build_string
(
buf
);
string
=
build_string
(
buf
fer
);
if
(
allocated
)
free
(
buffer
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment