From: Jarkko Hietaniemi Date: Thu, 24 Jan 2002 02:49:05 +0000 (+0000) Subject: Sprinkle some copyrights (use the oldest timestamp to X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=d6376244c2261025775e8b11a6a64d7c9e0d1612;p=p5sagit%2Fp5-mst-13.2.git Sprinkle some copyrights (use the oldest timestamp to be found in the repository, which is most often not right, but at least consistent) p4raw-id: //depot/perl@14400 --- diff --git a/XSUB.h b/XSUB.h index eef290c..1d73fb1 100644 --- a/XSUB.h +++ b/XSUB.h @@ -1,3 +1,12 @@ +/* XSUB.h + * + * Copyright (c) 1997-2002, Larry Wall + * + * You may distribute under the terms of either the GNU General Public + * License or the Artistic License, as specified in the README file. + * + */ + #ifndef _INC_PERL_XSUB_H #define _INC_PERL_XSUB_H 1 diff --git a/cc_runtime.h b/cc_runtime.h index 799bf46..b1fc5b5 100644 --- a/cc_runtime.h +++ b/cc_runtime.h @@ -1,3 +1,12 @@ +/* cc_runtime.h + * + * Copyright (c) 1998-2002, Larry Wall + * + * You may distribute under the terms of either the GNU General Public + * License or the Artistic License, as specified in the README file. + * + */ + #define DOOP(ppname) PUTBACK; PL_op = ppname(aTHX); SPAGAIN #define CCPP(s) OP * s(pTHX) diff --git a/dosish.h b/dosish.h index da2285a..634efa7 100644 --- a/dosish.h +++ b/dosish.h @@ -1,3 +1,12 @@ +/* dosish.h + * + * Copyright (c) 1997-2002, Larry Wall + * + * You may distribute under the terms of either the GNU General Public + * License or the Artistic License, as specified in the README file. + * + */ + #define ABORT() abort(); #ifndef SH_PATH diff --git a/embed.h b/embed.h index cb7c1b3..0cdef41 100644 --- a/embed.h +++ b/embed.h @@ -1,7 +1,15 @@ -/* !!!!!!! DO NOT EDIT THIS FILE !!!!!!! - This file is built by embed.pl from data in embed.pl, pp.sym, intrpvar.h, - perlvars.h and thrdvar.h. Any changes made here will be lost! -*/ +/* + * embed.h + * + * Copyright (c) 1997-2002, Larry Wall + * + * You may distribute under the terms of either the GNU General Public + * License or the Artistic License, as specified in the README file. + * + * !!!!!!! DO NOT EDIT THIS FILE !!!!!!! + * This file is built by embed.pl from data in embed.pl, pp.sym, intrpvar.h, + * perlvars.h and thrdvar.h. Any changes made here will be lost! + */ /* (Doing namespace management portably in C is really gross.) */ diff --git a/embed.pl b/embed.pl index 6536c83..073cdf3 100755 --- a/embed.pl +++ b/embed.pl @@ -169,6 +169,13 @@ sub write_global_sym { walk_table(\&write_protos, 'proto.h', <<'EOT'); /* + * proto.h + * + * Copyright (c) 1997-2002, Larry Wall + * + * You may distribute under the terms of either the GNU General Public + * License or the Artistic License, as specified in the README file. + * * !!!!!!! DO NOT EDIT THIS FILE !!!!!!! * This file is autogenerated from data in embed.pl. Edit that file * and run 'make regen_headers' to effect changes. @@ -178,6 +185,13 @@ EOT walk_table(\&write_global_sym, 'global.sym', <<'EOT'); # +# global.sym +# +# Copyright (c) 1997-2002, Larry Wall +# +# You may distribute under the terms of either the GNU General Public +# License or the Artistic License, as specified in the README file. +# # !!!!!!! DO NOT EDIT THIS FILE !!!!!!! # This file is autogenerated from data in embed.pl. Edit that file # and run 'make regen_headers' to effect changes. @@ -287,10 +301,18 @@ unlink 'embed.h'; open(EM, '> embed.h') or die "Can't create embed.h: $!\n"; print EM <<'END'; -/* !!!!!!! DO NOT EDIT THIS FILE !!!!!!! - This file is built by embed.pl from data in embed.pl, pp.sym, intrpvar.h, - perlvars.h and thrdvar.h. Any changes made here will be lost! -*/ +/* + * embed.h + * + * Copyright (c) 1997-2002, Larry Wall + * + * You may distribute under the terms of either the GNU General Public + * License or the Artistic License, as specified in the README file. + * + * !!!!!!! DO NOT EDIT THIS FILE !!!!!!! + * This file is built by embed.pl from data in embed.pl, pp.sym, intrpvar.h, + * perlvars.h and thrdvar.h. Any changes made here will be lost! + */ /* (Doing namespace management portably in C is really gross.) */ @@ -516,10 +538,19 @@ open(EM, '> embedvar.h') or die "Can't create embedvar.h: $!\n"; print EM <<'END'; -/* !!!!!!! DO NOT EDIT THIS FILE !!!!!!! - This file is built by embed.pl from data in embed.pl, pp.sym, intrpvar.h, - perlvars.h and thrdvar.h. Any changes made here will be lost! -*/ +/* + * embedvar.h + * + * Copyright (c) 1997-2002, Larry Wall + * + * You may distribute under the terms of either the GNU General Public + * License or the Artistic License, as specified in the README file. + * + * + * !!!!!!! DO NOT EDIT THIS FILE !!!!!!! + * This file is built by embed.pl from data in embed.pl, pp.sym, intrpvar.h, + * perlvars.h and thrdvar.h. Any changes made here will be lost! + */ /* (Doing namespace management portably in C is really gross.) */ @@ -659,10 +690,19 @@ open(CAPI, '> perlapi.c') or die "Can't create perlapi.c: $!\n"; open(CAPIH, '> perlapi.h') or die "Can't create perlapi.h: $!\n"; print CAPIH <<'EOT'; -/* !!!!!!! DO NOT EDIT THIS FILE !!!!!!! - This file is built by embed.pl from data in embed.pl, pp.sym, intrpvar.h, - perlvars.h and thrdvar.h. Any changes made here will be lost! -*/ +/* + * perlapi.h + * + * Copyright (c) 1997-2002, Larry Wall + * + * You may distribute under the terms of either the GNU General Public + * License or the Artistic License, as specified in the README file. + * + * + * !!!!!!! DO NOT EDIT THIS FILE !!!!!!! + * This file is built by embed.pl from data in embed.pl, pp.sym, intrpvar.h, + * perlvars.h and thrdvar.h. Any changes made here will be lost! + */ /* declare accessor functions for Perl variables */ #ifndef __perlapi_h__ @@ -759,10 +799,19 @@ EOT close CAPIH; print CAPI <<'EOT'; -/* !!!!!!! DO NOT EDIT THIS FILE !!!!!!! - This file is built by embed.pl from data in embed.pl, pp.sym, intrpvar.h, - perlvars.h and thrdvar.h. Any changes made here will be lost! -*/ +/* + * perlapi.c + * + * Copyright (c) 1997-2002, Larry Wall + * + * You may distribute under the terms of either the GNU General Public + * License or the Artistic License, as specified in the README file. + * + * + * !!!!!!! DO NOT EDIT THIS FILE !!!!!!! + * This file is built by embed.pl from data in embed.pl, pp.sym, intrpvar.h, + * perlvars.h and thrdvar.h. Any changes made here will be lost! + */ #include "EXTERN.h" #include "perl.h" diff --git a/embedvar.h b/embedvar.h index c6eb5fa..d0fba96 100644 --- a/embedvar.h +++ b/embedvar.h @@ -1,7 +1,16 @@ -/* !!!!!!! DO NOT EDIT THIS FILE !!!!!!! - This file is built by embed.pl from data in embed.pl, pp.sym, intrpvar.h, - perlvars.h and thrdvar.h. Any changes made here will be lost! -*/ +/* + * embedvar.h + * + * Copyright (c) 1997-2002, Larry Wall + * + * You may distribute under the terms of either the GNU General Public + * License or the Artistic License, as specified in the README file. + * + * + * !!!!!!! DO NOT EDIT THIS FILE !!!!!!! + * This file is built by embed.pl from data in embed.pl, pp.sym, intrpvar.h, + * perlvars.h and thrdvar.h. Any changes made here will be lost! + */ /* (Doing namespace management portably in C is really gross.) */ diff --git a/fakesdio.h b/fakesdio.h index 4791232..8ef89e9 100644 --- a/fakesdio.h +++ b/fakesdio.h @@ -1,3 +1,12 @@ +/* fakestdio.h + * + * Copyright (c) 2000-2002, Larry Wall + * + * You may distribute under the terms of either the GNU General Public + * License or the Artistic License, as specified in the README file. + * + */ + /* * This is "source level" stdio compatibility mode. * We try and #define stdio functions in terms of PerlIO. diff --git a/fakethr.h b/fakethr.h index 098fefe..5bbe8ac 100644 --- a/fakethr.h +++ b/fakethr.h @@ -1,3 +1,12 @@ +/* fakethr.h + * + * Copyright (c) 1997-2002, Larry Wall + * + * You may distribute under the terms of either the GNU General Public + * License or the Artistic License, as specified in the README file. + * + */ + typedef int perl_mutex; typedef int perl_key; diff --git a/global.sym b/global.sym index e64508b..f73a500 100644 --- a/global.sym +++ b/global.sym @@ -1,4 +1,11 @@ # +# global.sym +# +# Copyright (c) 1997-2002, Larry Wall +# +# You may distribute under the terms of either the GNU General Public +# License or the Artistic License, as specified in the README file. +# # !!!!!!! DO NOT EDIT THIS FILE !!!!!!! # This file is autogenerated from data in embed.pl. Edit that file # and run 'make regen_headers' to effect changes. diff --git a/globals.c b/globals.c index d18c868..b88cb7b 100644 --- a/globals.c +++ b/globals.c @@ -1,3 +1,12 @@ +/* globals.c + * + * Copyright (c) 1997-2002, Larry Wall + * + * You may distribute under the terms of either the GNU General Public + * License or the Artistic License, as specified in the README file. + * + */ + #include "INTERN.h" #define PERL_IN_GLOBALS_C #include "perl.h" diff --git a/keywords.h b/keywords.h index e894930..744330f 100644 --- a/keywords.h +++ b/keywords.h @@ -1,3 +1,12 @@ +/* + * keywords.h + * + * Copyright (c) 1997-2002, Larry Wall + * + * You may distribute under the terms of either the GNU General Public + * License or the Artistic License, as specified in the README file. + * + */ #define KEY_NULL 0 #define KEY___FILE__ 1 #define KEY___LINE__ 2 diff --git a/keywords.pl b/keywords.pl index 355b05e..00c067c 100755 --- a/keywords.pl +++ b/keywords.pl @@ -4,6 +4,18 @@ unlink "keywords.h"; open(KW, ">keywords.h") || die "Can't create keywords.h: $!\n"; select KW; +print <) { $i = 0; print <<"END"; -/* !!!!!!! DO NOT EDIT THIS FILE !!!!!!! - This file is built by opcode.pl from its data. Any changes made here - will be lost! -*/ +/* + * opcode.h + * + * Copyright (c) 1997-2002, Larry Wall + * + * You may distribute under the terms of either the GNU General Public + * License or the Artistic License, as specified in the README file. + * + * !!!!!!! DO NOT EDIT THIS FILE !!!!!!! + * This file is built by opcode.pl from its data. Any changes made here + * will be lost! + */ #define Perl_pp_i_preinc Perl_pp_preinc #define Perl_pp_i_predec Perl_pp_predec @@ -44,10 +52,19 @@ print <<"END"; END print ON <<"END"; -/* !!!!!!! DO NOT EDIT THIS FILE !!!!!!! - This file is built by opcode.pl from its data. Any changes made here - will be lost! -*/ +/* + * opnames.h + * + * Copyright (c) 1997-2002, Larry Wall + * + * You may distribute under the terms of either the GNU General Public + * License or the Artistic License, as specified in the README file. + * + * + * !!!!!!! DO NOT EDIT THIS FILE !!!!!!! + * This file is built by opcode.pl from its data. Any changes made here + * will be lost! + */ typedef enum opcode { END diff --git a/opnames.h b/opnames.h index a6f576e..437c85d 100644 --- a/opnames.h +++ b/opnames.h @@ -1,7 +1,16 @@ -/* !!!!!!! DO NOT EDIT THIS FILE !!!!!!! - This file is built by opcode.pl from its data. Any changes made here - will be lost! -*/ +/* + * opnames.h + * + * Copyright (c) 1997-2002, Larry Wall + * + * You may distribute under the terms of either the GNU General Public + * License or the Artistic License, as specified in the README file. + * + * + * !!!!!!! DO NOT EDIT THIS FILE !!!!!!! + * This file is built by opcode.pl from its data. Any changes made here + * will be lost! + */ typedef enum opcode { OP_NULL, /* 0 */ diff --git a/patchlevel.h b/patchlevel.h index 54f470e..e243140 100644 --- a/patchlevel.h +++ b/patchlevel.h @@ -1,3 +1,12 @@ +/* patchlevel.h + * + * Copyright (c) 1997-2002, Larry Wall + * + * You may distribute under the terms of either the GNU General Public + * License or the Artistic License, as specified in the README file. + * + */ + #ifndef __PATCHLEVEL_H_INCLUDED__ /* do not adjust the whitespace! Configure expects the numbers to be diff --git a/perl.h b/perl.h index 35902e0..4ca34df 100644 --- a/perl.h +++ b/perl.h @@ -6,6 +6,7 @@ * License or the Artistic License, as specified in the README file. * */ + #ifndef H_PERL #define H_PERL 1 diff --git a/perlapi.c b/perlapi.c index 91d4f15..1ffdf0f 100644 --- a/perlapi.c +++ b/perlapi.c @@ -1,7 +1,16 @@ -/* !!!!!!! DO NOT EDIT THIS FILE !!!!!!! - This file is built by embed.pl from data in embed.pl, pp.sym, intrpvar.h, - perlvars.h and thrdvar.h. Any changes made here will be lost! -*/ +/* + * perlapi.c + * + * Copyright (c) 1997-2002, Larry Wall + * + * You may distribute under the terms of either the GNU General Public + * License or the Artistic License, as specified in the README file. + * + * + * !!!!!!! DO NOT EDIT THIS FILE !!!!!!! + * This file is built by embed.pl from data in embed.pl, pp.sym, intrpvar.h, + * perlvars.h and thrdvar.h. Any changes made here will be lost! + */ #include "EXTERN.h" #include "perl.h" diff --git a/perlapi.h b/perlapi.h index 76eb92f..3d6a89d 100644 --- a/perlapi.h +++ b/perlapi.h @@ -1,7 +1,16 @@ -/* !!!!!!! DO NOT EDIT THIS FILE !!!!!!! - This file is built by embed.pl from data in embed.pl, pp.sym, intrpvar.h, - perlvars.h and thrdvar.h. Any changes made here will be lost! -*/ +/* + * perlapi.h + * + * Copyright (c) 1997-2002, Larry Wall + * + * You may distribute under the terms of either the GNU General Public + * License or the Artistic License, as specified in the README file. + * + * + * !!!!!!! DO NOT EDIT THIS FILE !!!!!!! + * This file is built by embed.pl from data in embed.pl, pp.sym, intrpvar.h, + * perlvars.h and thrdvar.h. Any changes made here will be lost! + */ /* declare accessor functions for Perl variables */ #ifndef __perlapi_h__ diff --git a/perlio.h b/perlio.h index 7d1bc39..3105b58 100644 --- a/perlio.h +++ b/perlio.h @@ -1,3 +1,12 @@ +/* perlio.h + * + * Copyright (c) 1997-2002, Larry Wall + * + * You may distribute under the terms of either the GNU General Public + * License or the Artistic License, as specified in the README file. + * + */ + #ifndef _PERLIO_H #define _PERLIO_H /* diff --git a/perlsdio.h b/perlsdio.h index d09b632..72ae584 100644 --- a/perlsdio.h +++ b/perlsdio.h @@ -1,3 +1,12 @@ +/* perlsdio.h + * + * Copyright (c) 1997-2002, Larry Wall + * + * You may distribute under the terms of either the GNU General Public + * License or the Artistic License, as specified in the README file. + * + */ + #ifdef PERLIO_IS_STDIO #ifdef NETWARE diff --git a/perlsfio.h b/perlsfio.h index ed7ab97..1b1b522 100644 --- a/perlsfio.h +++ b/perlsfio.h @@ -1,3 +1,12 @@ +/* perlsfio.h + * + * Copyright (c) 1987-2002, Larry Wall + * + * You may distribute under the terms of either the GNU General Public + * License or the Artistic License, as specified in the README file. + * + */ + /* The next #ifdef should be redundant if Configure behaves ... */ #ifndef FILE #define FILE FILE diff --git a/perlvars.h b/perlvars.h index 606f7a5..adcc2c0 100644 --- a/perlvars.h +++ b/perlvars.h @@ -1,3 +1,12 @@ +/* perlvars.h + * + * Copyright (c) 1997-2002, Larry Wall + * + * You may distribute under the terms of either the GNU General Public + * License or the Artistic License, as specified in the README file. + * + */ + /****************/ /* Truly global */ /****************/ diff --git a/proto.h b/proto.h index 83d6bc9..f897387 100644 --- a/proto.h +++ b/proto.h @@ -1,4 +1,11 @@ /* + * proto.h + * + * Copyright (c) 1997-2002, Larry Wall + * + * You may distribute under the terms of either the GNU General Public + * License or the Artistic License, as specified in the README file. + * * !!!!!!! DO NOT EDIT THIS FILE !!!!!!! * This file is autogenerated from data in embed.pl. Edit that file * and run 'make regen_headers' to effect changes. diff --git a/regcomp.h b/regcomp.h index 9053242..bfd00dc 100644 --- a/regcomp.h +++ b/regcomp.h @@ -1,4 +1,10 @@ /* regcomp.h + * + * Copyright (c) 1997-2002, Larry Wall + * + * You may distribute under the terms of either the GNU General Public + * License or the Artistic License, as specified in the README file. + * */ typedef OP OP_4tree; /* Will be redefined later. */ diff --git a/regexp.h b/regexp.h index 6217aaa..81552ba 100644 --- a/regexp.h +++ b/regexp.h @@ -1,4 +1,10 @@ /* regexp.h + * + * Copyright (c) 1997-2002, Larry Wall + * + * You may distribute under the terms of either the GNU General Public + * License or the Artistic License, as specified in the README file. + * */ /* diff --git a/scope.h b/scope.h index 6efeb5e..6cfe124 100644 --- a/scope.h +++ b/scope.h @@ -1,3 +1,12 @@ +/* scope.h + * + * Copyright (c) 1997-2002, Larry Wall + * + * You may distribute under the terms of either the GNU General Public + * License or the Artistic License, as specified in the README file. + * + */ + #define SAVEt_ITEM 0 #define SAVEt_SV 1 #define SAVEt_AV 2 diff --git a/sharedsv.h b/sharedsv.h index f82804d..42f0610 100644 --- a/sharedsv.h +++ b/sharedsv.h @@ -1,3 +1,12 @@ +/* sharedsv.h + * + * Copyright (c) 2001-2002, Larry Wall + * + * You may distribute under the terms of either the GNU General Public + * License or the Artistic License, as specified in the README file. + * + */ + #ifdef USE_ITHREADS typedef struct { diff --git a/taint.c b/taint.c index c25ff77..ac7a841 100644 --- a/taint.c +++ b/taint.c @@ -1,3 +1,12 @@ +/* taint.c + * + * Copyright (c) 1997-2002, Larry Wall + * + * You may distribute under the terms of either the GNU General Public + * License or the Artistic License, as specified in the README file. + * + */ + /* * "...we will have peace, when you and all your works have perished--and * the works of your dark master to whom you would deliver us. You are a diff --git a/thrdvar.h b/thrdvar.h index b23dafc..0abd69f 100644 --- a/thrdvar.h +++ b/thrdvar.h @@ -1,3 +1,12 @@ +/* thdrvar.h + * + * Copyright (c) 1997-2002, Larry Wall + * + * You may distribute under the terms of either the GNU General Public + * License or the Artistic License, as specified in the README file. + * + */ + /* =head1 Global Variables */ diff --git a/thread.h b/thread.h index 309d388..d380791 100644 --- a/thread.h +++ b/thread.h @@ -1,3 +1,12 @@ +/* thread.h + * + * Copyright (c) 1997-2002, Larry Wall + * + * You may distribute under the terms of either the GNU General Public + * License or the Artistic License, as specified in the README file. + * + */ + #if defined(USE_5005THREADS) || defined(USE_ITHREADS) #if defined(VMS) diff --git a/universal.c b/universal.c index 53b9e9f..b2313f5 100644 --- a/universal.c +++ b/universal.c @@ -1,3 +1,12 @@ +/* universal.c + * + * Copyright (c) 1997-2002, Larry Wall + * + * You may distribute under the terms of either the GNU General Public + * License or the Artistic License, as specified in the README file. + * + */ + #include "EXTERN.h" #define PERL_IN_UNIVERSAL_C #include "perl.h" diff --git a/unixish.h b/unixish.h index 97e81b7..707092c 100644 --- a/unixish.h +++ b/unixish.h @@ -1,3 +1,12 @@ +/* unixish.h + * + * Copyright (c) 1997-2002, Larry Wall + * + * You may distribute under the terms of either the GNU General Public + * License or the Artistic License, as specified in the README file. + * + */ + /* * The following symbols are defined if your operating system supports * functions by that name. All Unixes I know of support them, thus they diff --git a/xsutils.c b/xsutils.c index 8b7db4c..1d7a01a 100644 --- a/xsutils.c +++ b/xsutils.c @@ -1,3 +1,12 @@ +/* xsutils.c + * + * Copyright (c) 1999-2002, Larry Wall + * + * You may distribute under the terms of either the GNU General Public + * License or the Artistic License, as specified in the README file. + * + */ + #include "EXTERN.h" #define PERL_IN_XSUTILS_C #include "perl.h"