X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fcsharpcomp.c;h=1e84f056155daadb07202b6a72bfb6d41a850529;hb=1a2869593e115e4a6c74aaa0b23ca612357403ce;hp=486ceeb90b5c1fe833b7f3ddf4202632c76a7054;hpb=56f199068c8fcb99ace44b286476dea3fe214fe0;p=gnulib.git diff --git a/lib/csharpcomp.c b/lib/csharpcomp.c index 486ceeb90..1e84f0561 100644 --- a/lib/csharpcomp.c +++ b/lib/csharpcomp.c @@ -1,11 +1,11 @@ /* Compile a C# program. - Copyright (C) 2003-2007 Free Software Foundation, Inc. + Copyright (C) 2003-2008 Free Software Foundation, Inc. Written by Bruno Haible , 2003. - This program is free software; you can redistribute it and/or modify + This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2, or (at your option) - any later version. + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -13,8 +13,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software Foundation, - Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + along with this program. If not, see . */ #include #include @@ -84,7 +83,7 @@ compile_csharp_using_pnet (const char * const *sources, argv[1] = "--version"; argv[2] = NULL; exitstatus = execute ("cscc", "cscc", argv, false, false, true, true, - true, false); + true, false, NULL); cscc_present = (exitstatus == 0); cscc_tested = true; } @@ -152,7 +151,7 @@ compile_csharp_using_pnet (const char * const *sources, } exitstatus = execute ("cscc", "cscc", argv, false, false, false, false, - true, true); + true, true, NULL); for (i = 0; i < sources_count; i++) if (argv[argc - sources_count + i] != sources[i]) @@ -220,7 +219,7 @@ compile_csharp_using_mono (const char * const *sources, /* Remove zombie process from process list, and retrieve exit status. */ exitstatus = - wait_subprocess (child, "mcs", false, true, true, false); + wait_subprocess (child, "mcs", false, true, true, false, NULL); if (exitstatus != 0) mcs_present = false; } @@ -333,7 +332,8 @@ compile_csharp_using_mono (const char * const *sources, fclose (fp); /* Remove zombie process from process list, and retrieve exit status. */ - exitstatus = wait_subprocess (child, "mcs", false, false, true, true); + exitstatus = + wait_subprocess (child, "mcs", false, false, true, true, NULL); for (i = 1 + (output_is_library ? 1 : 0); i < 1 + (output_is_library ? 1 : 0) @@ -409,7 +409,7 @@ compile_csharp_using_sscli (const char * const *sources, /* Remove zombie process from process list, and retrieve exit status. */ exitstatus = - wait_subprocess (child, "csc", false, true, true, false); + wait_subprocess (child, "csc", false, true, true, false, NULL); if (exitstatus != 0) csc_present = false; } @@ -487,7 +487,7 @@ compile_csharp_using_sscli (const char * const *sources, } exitstatus = execute ("csc", "csc", argv, false, false, false, false, - true, true); + true, true, NULL); for (i = 2; i < 3 + libdirs_count + libraries_count; i++) freea (argv[i]);