projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't let endgrent clobber errno, no matter how improbable.
[gnulib.git]
/
lib
/
csharpexec.c
diff --git
a/lib/csharpexec.c
b/lib/csharpexec.c
index
e330718
..
b94505f
100644
(file)
--- a/
lib/csharpexec.c
+++ b/
lib/csharpexec.c
@@
-1,5
+1,5
@@
/* Execute a C# program.
/* Execute a C# program.
- Copyright (C) 2003-200
6
Free Software Foundation, Inc.
+ Copyright (C) 2003-200
7
Free Software Foundation, Inc.
Written by Bruno Haible <bruno@clisp.org>, 2003.
This program is free software; you can redistribute it and/or modify
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 "execute.h"
#include "sh-quote.h"
-#include "x
allocs
a.h"
+#include "x
malloc
a.h"
#include "error.h"
#include "gettext.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;
bool err;
argc = 1 + 2 * libdirs_count + 1 + nargs;
- argv = (char **) x
allocs
a ((argc + 1) * sizeof (char *));
+ argv = (char **) x
malloc
a ((argc + 1) * sizeof (char *));
argp = argv;
*argp++ = "ilrun";
argp = argv;
*argp++ = "ilrun";
@@
-150,7
+150,7
@@
execute_csharp_using_pnet (const char *assembly_path,
err = executer ("ilrun", "ilrun", argv, private_data);
err = executer ("ilrun", "ilrun", argv, private_data);
- free
s
a (argv);
+ freea (argv);
return err;
}
return err;
}
@@
-188,7
+188,7
@@
execute_csharp_using_mono (const char *assembly_path,
if (mono_present)
{
char *old_monopath;
if (mono_present)
{
char *old_monopath;
- char **argv = (char **) x
allocs
a ((2 + nargs + 1) * sizeof (char *));
+ char **argv = (char **) x
malloc
a ((2 + nargs + 1) * sizeof (char *));
unsigned int i;
bool err;
unsigned int i;
bool err;
@@
-212,7
+212,7
@@
execute_csharp_using_mono (const char *assembly_path,
/* Reset MONO_PATH. */
reset_monopath (old_monopath);
/* Reset MONO_PATH. */
reset_monopath (old_monopath);
- free
s
a (argv);
+ freea (argv);
return err;
}
return err;
}
@@
-249,7
+249,7
@@
execute_csharp_using_sscli (const char *assembly_path,
if (clix_present)
{
char *old_clixpath;
if (clix_present)
{
char *old_clixpath;
- char **argv = (char **) x
allocs
a ((2 + nargs + 1) * sizeof (char *));
+ char **argv = (char **) x
malloc
a ((2 + nargs + 1) * sizeof (char *));
unsigned int i;
bool err;
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);
/* Reset clix' PATH variable. */
reset_clixpath (old_clixpath);
- free
s
a (argv);
+ freea (argv);
return err;
}
return err;
}