~ubuntu-branches/ubuntu/gutsy/m4/gutsy

« back to all changes in this revision

Viewing changes to lib/xvasprintf.c

  • Committer: Bazaar Package Importer
  • Author(s): Santiago Vila
  • Date: 2006-11-29 16:53:44 UTC
  • Revision ID: james.westby@ubuntu.com-20061129165344-0qimyyyhh135a7mf
Tags: 1.4.8-1
New upstream release. Lots of fixes, see the NEWS file for details.

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
   with this program; if not, write to the Free Software Foundation,
16
16
   Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
17
17
 
18
 
#ifdef HAVE_CONFIG_H
19
 
# include <config.h>
20
 
#endif
 
18
#include <config.h>
21
19
 
22
20
/* Specification.  */
23
21
#include "xvasprintf.h"
66
64
    }
67
65
 
68
66
  /* Allocate and fill the result string.  */
69
 
  result = (char *) xmalloc (totalsize + 1);
 
67
  result = XNMALLOC (totalsize + 1, char);
70
68
  p = result;
71
69
  for (i = argcount; i > 0; i--)
72
70
    {