HCoop
/
bpt
/
emacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
use xmalloc_atomic for many pointerless objects
[bpt/emacs.git]
/
src
/
doprnt.c
diff --git
a/src/doprnt.c
b/src/doprnt.c
index
cc4d0e4
..
3d50724
100644
(file)
--- a/
src/doprnt.c
+++ b/
src/doprnt.c
@@
-250,7
+250,7
@@
doprnt (char *buffer, ptrdiff_t bufsize, const char *format,
{
if (big_buffer)
xfree (big_buffer);
- big_buffer = xmalloc (size_bound);
+ big_buffer = xmalloc
_atomic
(size_bound);
sprintf_buffer = big_buffer;
size_allocated = size_bound;
}