mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
update_copyrights treated CONF-SH comments as C comments
due to inappropriate use of prefix regexp matching
This commit is contained in:
@@ -1,21 +1,19 @@
|
|||||||
/*
|
# Copyright (C) 2000 Internet Software Consortium.
|
||||||
* Copyright (C) 2000 Internet Software Consortium.
|
#
|
||||||
*
|
# Permission to use, copy, modify, and distribute this software for any
|
||||||
* Permission to use, copy, modify, and distribute this software for any
|
# purpose with or without fee is hereby granted, provided that the above
|
||||||
* purpose with or without fee is hereby granted, provided that the above
|
# copyright notice and this permission notice appear in all copies.
|
||||||
* copyright notice and this permission notice appear in all copies.
|
#
|
||||||
*
|
# THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
|
# DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
|
||||||
* DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
|
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
|
||||||
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
|
# INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||||||
* INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,
|
# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
|
||||||
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
|
# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
|
||||||
* FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
|
# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
|
||||||
* NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
|
# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/* $Id: resolv.conf.sample,v 1.6 2000/08/01 01:13:17 tale Exp $ */
|
# $Id: resolv.conf.sample,v 1.7 2000/10/17 19:28:53 gson Exp $
|
||||||
|
|
||||||
domain jab.fr
|
domain jab.fr
|
||||||
nameserver 194.150.1.2 ; ignore that
|
nameserver 194.150.1.2 ; ignore that
|
||||||
|
@@ -1,21 +1,19 @@
|
|||||||
/*
|
# Copyright (C) 2000 Internet Software Consortium.
|
||||||
* Copyright (C) 2000 Internet Software Consortium.
|
#
|
||||||
*
|
# Permission to use, copy, modify, and distribute this software for any
|
||||||
* Permission to use, copy, modify, and distribute this software for any
|
# purpose with or without fee is hereby granted, provided that the above
|
||||||
* purpose with or without fee is hereby granted, provided that the above
|
# copyright notice and this permission notice appear in all copies.
|
||||||
* copyright notice and this permission notice appear in all copies.
|
#
|
||||||
*
|
# THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
|
# DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
|
||||||
* DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
|
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
|
||||||
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
|
# INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||||||
* INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,
|
# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
|
||||||
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
|
# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
|
||||||
* FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
|
# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
|
||||||
* NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
|
# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/* $Id: resolv.conf,v 1.6 2000/10/05 22:29:34 bwelling Exp $ */
|
# $Id: resolv.conf,v 1.7 2000/10/17 19:28:54 gson Exp $
|
||||||
|
|
||||||
nameserver 10.53.0.1
|
nameserver 10.53.0.1
|
||||||
lwserver 10.53.0.1
|
lwserver 10.53.0.1
|
||||||
|
@@ -1,21 +1,19 @@
|
|||||||
/*
|
# Copyright (C) 2000 Internet Software Consortium.
|
||||||
* Copyright (C) 2000 Internet Software Consortium.
|
#
|
||||||
*
|
# Permission to use, copy, modify, and distribute this software for any
|
||||||
* Permission to use, copy, modify, and distribute this software for any
|
# purpose with or without fee is hereby granted, provided that the above
|
||||||
* purpose with or without fee is hereby granted, provided that the above
|
# copyright notice and this permission notice appear in all copies.
|
||||||
* copyright notice and this permission notice appear in all copies.
|
#
|
||||||
*
|
# THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
|
# DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
|
||||||
* DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
|
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
|
||||||
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
|
# INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||||||
* INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,
|
# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
|
||||||
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
|
# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
|
||||||
* FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
|
# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
|
||||||
* NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
|
# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/* $Id: resolv.conf,v 1.6 2000/10/05 22:29:31 bwelling Exp $ */
|
# $Id: resolv.conf,v 1.7 2000/10/17 19:28:55 gson Exp $
|
||||||
|
|
||||||
nameserver 10.53.0.1
|
nameserver 10.53.0.1
|
||||||
lwserver 10.53.0.1
|
lwserver 10.53.0.1
|
||||||
|
@@ -15,7 +15,7 @@
|
|||||||
# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
|
# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
|
||||||
# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
|
|
||||||
# $Id: update_copyrights,v 1.19 2000/08/01 00:46:14 tale Exp $
|
# $Id: update_copyrights,v 1.20 2000/10/17 19:28:51 gson Exp $
|
||||||
|
|
||||||
require 5.002;
|
require 5.002;
|
||||||
|
|
||||||
@@ -74,12 +74,12 @@ while (<>) {
|
|||||||
$start_comment = "";
|
$start_comment = "";
|
||||||
$end_comment = "";
|
$end_comment = "";
|
||||||
$first = "";
|
$first = "";
|
||||||
if ($type =~ /^(C|YACC|CONF-C)/) {
|
if ($type =~ /^(C|YACC|CONF-C)$/) {
|
||||||
$c_comment = 1;
|
$c_comment = 1;
|
||||||
$start_comment = "/*\n";
|
$start_comment = "/*\n";
|
||||||
$prefix = " * ";
|
$prefix = " * ";
|
||||||
$end_comment = " */\n";
|
$end_comment = " */\n";
|
||||||
} elsif ($type =~ /^(SH|PERL|MAKE|CONF-SH)/) {
|
} elsif ($type =~ /^(SH|PERL|MAKE|CONF-SH)$/) {
|
||||||
$shell_comment = 1;
|
$shell_comment = 1;
|
||||||
$prefix = "# ";
|
$prefix = "# ";
|
||||||
} elsif ($type eq "ZONE") {
|
} elsif ($type eq "ZONE") {
|
||||||
|
Reference in New Issue
Block a user