summaryrefslogtreecommitdiff
path: root/lib/csharpexec.c
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2007-06-09 11:11:14 +0000
committerBruno Haible <bruno@clisp.org>2007-06-09 11:11:14 +0000
commit90988ede07abd2e58283d5e06b1b69f74b6967d2 (patch)
treeb4fe189a7179707b12ed3697811c36e0975e9a1c /lib/csharpexec.c
parent8b420b18471251565faf524a4e9dbbe27e298d78 (diff)
downloadgnulib-90988ede07abd2e58283d5e06b1b69f74b6967d2.tar.gz
Update after allocsa -> malloca renaming.
Diffstat (limited to 'lib/csharpexec.c')
-rw-r--r--lib/csharpexec.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/csharpexec.c b/lib/csharpexec.c
index e330718598..b94505f3c6 100644
--- a/lib/csharpexec.c
+++ b/lib/csharpexec.c
@@ -1,5 +1,5 @@
/* Execute a C# program.
- Copyright (C) 2003-2006 Free Software Foundation, Inc.
+ Copyright (C) 2003-2007 Free Software Foundation, Inc.
Written by Bruno Haible <bruno@clisp.org>, 2003.
This program is free software; you can redistribute it and/or modify
@@ -27,7 +27,7 @@
#include "execute.h"
#include "sh-quote.h"
-#include "xallocsa.h"
+#include "xmalloca.h"
#include "error.h"
#include "gettext.h"
@@ -124,7 +124,7 @@ execute_csharp_using_pnet (const char *assembly_path,
bool err;
argc = 1 + 2 * libdirs_count + 1 + nargs;
- argv = (char **) xallocsa ((argc + 1) * sizeof (char *));
+ argv = (char **) xmalloca ((argc + 1) * sizeof (char *));
argp = argv;
*argp++ = "ilrun";
@@ -150,7 +150,7 @@ execute_csharp_using_pnet (const char *assembly_path,
err = executer ("ilrun", "ilrun", argv, private_data);
- freesa (argv);
+ freea (argv);
return err;
}
@@ -188,7 +188,7 @@ execute_csharp_using_mono (const char *assembly_path,
if (mono_present)
{
char *old_monopath;
- char **argv = (char **) xallocsa ((2 + nargs + 1) * sizeof (char *));
+ char **argv = (char **) xmalloca ((2 + nargs + 1) * sizeof (char *));
unsigned int i;
bool err;
@@ -212,7 +212,7 @@ execute_csharp_using_mono (const char *assembly_path,
/* Reset MONO_PATH. */
reset_monopath (old_monopath);
- freesa (argv);
+ freea (argv);
return err;
}
@@ -249,7 +249,7 @@ execute_csharp_using_sscli (const char *assembly_path,
if (clix_present)
{
char *old_clixpath;
- char **argv = (char **) xallocsa ((2 + nargs + 1) * sizeof (char *));
+ char **argv = (char **) xmalloca ((2 + nargs + 1) * sizeof (char *));
unsigned int i;
bool err;
@@ -273,7 +273,7 @@ execute_csharp_using_sscli (const char *assembly_path,
/* Reset clix' PATH variable. */
reset_clixpath (old_clixpath);
- freesa (argv);
+ freea (argv);
return err;
}