/* Output like sprintf to a buffer of specified size.
Also takes args differently: pass one pointer to the end
of the format string in addition to the format string itself.
- Copyright (C) 1985, 2001-2013 Free Software Foundation, Inc.
+ Copyright (C) 1985, 2001-2014 Free Software Foundation, Inc.
This file is part of GNU Emacs.
{
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;
}