diff options
Diffstat (limited to 'w32/subproc')
-rw-r--r-- | w32/subproc/NMakefile | 23 | ||||
-rw-r--r-- | w32/subproc/build.bat | 16 | ||||
-rw-r--r-- | w32/subproc/misc.c | 19 | ||||
-rw-r--r-- | w32/subproc/proc.h | 17 | ||||
-rw-r--r-- | w32/subproc/sub_proc.c | 17 | ||||
-rw-r--r-- | w32/subproc/w32err.c | 17 |
6 files changed, 96 insertions, 13 deletions
diff --git a/w32/subproc/NMakefile b/w32/subproc/NMakefile index ff94fe1..ce1da6f 100644 --- a/w32/subproc/NMakefile +++ b/w32/subproc/NMakefile @@ -1,22 +1,21 @@ # NOTE: If you have no `make' program at all to process this makefile, run # `build.bat' instead. # -# Copyright (C) 1988,89,91,92,93,94,95,96,97 Free Software Foundation, Inc +# Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, +# 1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 Free Software Foundation, Inc. # This file is part of GNU Make. # -# GNU Make 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. +# GNU Make 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. # -# GNU Make is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. +# GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR +# A PARTICULAR PURPOSE. See the GNU General Public License for more details. # -# You should have received a copy of the GNU General Public License -# along with GNU Make; see the file COPYING. If not, write to -# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +# You should have received a copy of the GNU General Public License along with +# GNU Make; see the file COPYING. If not, write to the Free Software +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. # # NMakefile for GNU Make (subproc library) diff --git a/w32/subproc/build.bat b/w32/subproc/build.bat index b057b3c..a0e35f2 100644 --- a/w32/subproc/build.bat +++ b/w32/subproc/build.bat @@ -15,3 +15,19 @@ gcc -mthreads -Wall -gstabs+ -ggdb3 -O2 -I.. -I. -I../include -I../.. -DWINDOWS3 gcc -mthreads -Wall -gstabs+ -ggdb3 -O2 -I.. -I. -I../include -I../.. -DWINDOWS32 -c sub_proc.c -o ../../sub_proc.o
gcc -mthreads -Wall -gstabs+ -ggdb3 -O2 -I.. -I. -I../include -I../.. -DWINDOWS32 -c w32err.c -o ../../w32err.o
:BuildEnd
+
+@rem Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
+@rem 1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 Free Software Foundation, Inc.
+@rem This file is part of GNU Make.
+
+@rem GNU Make is free software; you can redistribute it and/or modify it under the
+@rem terms of the GNU General Public License as published by the Free Software
+@rem Foundation; either version 2, or (at your option) any later version.
+
+@rem GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
+@rem WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
+@rem A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+
+@rem You should have received a copy of the GNU General Public License along with
+@rem GNU Make; see the file COPYING. If not, write to the Free Software
+@rem Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
diff --git a/w32/subproc/misc.c b/w32/subproc/misc.c index d0e9ad9..b9f327f 100644 --- a/w32/subproc/misc.c +++ b/w32/subproc/misc.c @@ -1,3 +1,20 @@ +/* Process handling for Windows
+Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
+1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 Free Software Foundation, Inc.
+This file is part of GNU Make.
+
+GNU Make 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.
+
+GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
+WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
+A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License along with
+GNU Make; see the file COPYING. If not, write to the Free Software
+Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. */
+
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
@@ -19,7 +36,7 @@ int _cdecl compare(const void *a1, const void *a2) return _stricoll(*((char**)a1),*((char**)a2));
}
bool_t
-arr2envblk(char **arr, char **envblk_out)
+arr2envblk(char **arr, char **envblk_out)
{
char **tmp;
int size_needed;
diff --git a/w32/subproc/proc.h b/w32/subproc/proc.h index 249ffd8..f610351 100644 --- a/w32/subproc/proc.h +++ b/w32/subproc/proc.h @@ -1,3 +1,20 @@ +/* Definitions for Windows
+Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
+1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 Free Software Foundation, Inc.
+This file is part of GNU Make.
+
+GNU Make 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.
+
+GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
+WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
+A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License along with
+GNU Make; see the file COPYING. If not, write to the Free Software
+Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. */
+
#ifndef _PROC_H
#define _PROC_H
diff --git a/w32/subproc/sub_proc.c b/w32/subproc/sub_proc.c index a432c86..c9fc5c7 100644 --- a/w32/subproc/sub_proc.c +++ b/w32/subproc/sub_proc.c @@ -1,3 +1,20 @@ +/* Process handling for Windows. +Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, +1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 Free Software Foundation, Inc. +This file is part of GNU Make. + +GNU Make 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. + +GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR +A PARTICULAR PURPOSE. See the GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along with +GNU Make; see the file COPYING. If not, write to the Free Software +Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. */ + #include <stdlib.h> #include <stdio.h> #include <process.h> /* for msvc _beginthreadex, _endthreadex */ diff --git a/w32/subproc/w32err.c b/w32/subproc/w32err.c index 712fccd..31cf5cd 100644 --- a/w32/subproc/w32err.c +++ b/w32/subproc/w32err.c @@ -1,3 +1,20 @@ +/* Error handling for Windows
+Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
+1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 Free Software Foundation, Inc.
+This file is part of GNU Make.
+
+GNU Make 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.
+
+GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
+WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
+A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License along with
+GNU Make; see the file COPYING. If not, write to the Free Software
+Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. */
+
#include <windows.h>
#include "w32err.h"
|