Convert a couple files to UTF-8; more Copyright years.

This commit is contained in:
Wayne Davison
2020-06-13 02:31:00 -07:00
parent ab0189c813
commit 7dec4029ee
17 changed files with 20 additions and 19 deletions

View File

@@ -2,7 +2,7 @@
* Backup handling code.
*
* Copyright (C) 1999 Andrew Tridgell
* Copyright (C) 2003-2019 Wayne Davison
* Copyright (C) 2003-2020 Wayne Davison
*
* 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

View File

@@ -1,7 +1,7 @@
/*
* Routines to provide a memory-efficient hashtable.
*
* Copyright (C) 2007-2019 Wayne Davison
* Copyright (C) 2007-2020 Wayne Davison
*
* 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

View File

@@ -4,7 +4,7 @@
* Copyright (C) 1996 Andrew Tridgell
* Copyright (C) 1996 Paul Mackerras
* Copyright (C) 2002 Martin Pool <mbp@samba.org>
* Copyright (C) 2004-2019 Wayne Davison
* Copyright (C) 2004-2020 Wayne Davison
*
* 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

View File

@@ -22,9 +22,10 @@ def main():
m = argparse.Namespace(**m.groupdict())
if m.year > latest_year:
latest_year = m.year
if not re.search(r'\.(c|h|sh)$', m.fn) or m.fn.startswith('zlib/'):
if m.fn.startswith('zlib/') or m.fn.startswith('popt/'):
continue
maybe_edit_copyright_year(m.fn, m.year)
if re.search(r'\.(c|h|sh|test)$', m.fn):
maybe_edit_copyright_year(m.fn, m.year)
proc.communicate()
fn = 'latest-year.h'
@@ -71,7 +72,7 @@ def maybe_edit_copyright_year(fn, year):
return
opening_lines[copyright_line.lineno - 1] = txt
else:
if fn.startswith('lib/'):
if fn.startswith('lib/') or fn.startswith('testsuite/'):
return
txt = copyright_line.pre + year + MAINTAINER_SUF
opening_lines[copyright_line.lineno - 1] += txt

View File

@@ -1,6 +1,6 @@
#! /bin/sh
# Copyright (C) 2004 by Wayne Davison <wayned@samba.org>
# Copyright (C) 2004-2020 Wayne Davison
# This program is distributable under the terms of the GNU GPL (see
# COPYING).

View File

@@ -1,6 +1,6 @@
#! /bin/sh
# Copyright (C) 2004 by Wayne Davison <wayned@samba.org>
# Copyright (C) 2004-2020 Wayne Davison
# This program is distributable under the terms of the GNU GPL (see
# COPYING).

View File

@@ -1,6 +1,6 @@
#! /bin/sh
# Copyright (C) 2004 by Wayne Davison <wayned@samba.org>
# Copyright (C) 2004-2020 Wayne Davison
# This program is distributable under the terms of the GNU GPL (see
# COPYING).

View File

@@ -1,6 +1,6 @@
#! /bin/sh
# Copyright (C) 2004 by Wayne Davison <wayned@samba.org>
# Copyright (C) 2004-2020 Wayne Davison
# This program is distributable under the terms of the GNU GPL (see
# COPYING).

View File

@@ -1,6 +1,6 @@
#! /bin/sh
# Copyright (C) 2005 by Wayne Davison <wayned@samba.org>
# Copyright (C) 2005-2020 Wayne Davison
# This program is distributable under the terms of the GNU GPL (see
# COPYING).

View File

@@ -1,6 +1,6 @@
#!/bin/sh
# Copyright (C) 2008 by Wayne Davison <wayned@samba.org>
# Copyright (C) 2008-2020 Wayne Davison
# This program is distributable under the terms of the GNU GPL (see
# COPYING).

View File

@@ -1,6 +1,6 @@
#! /bin/sh
# Copyright (C) 2005 by Wayne Davison <wayned@samba.org>
# Copyright (C) 2005-2020 Wayne Davison
# This program is distributable under the terms of the GNU GPL (see
# COPYING).

View File

@@ -1,6 +1,6 @@
#! /bin/sh
# Copyright (C) 2005 by Wayne Davison <wayned@samba.org>
# Copyright (C) 2005-2020 Wayne Davison
# This program is distributable under the terms of the GNU GPL (see
# COPYING).

View File

@@ -1,6 +1,6 @@
#! /bin/sh
# Copyright (C) 2004 by Wayne Davison <wayned@samba.org>
# Copyright (C) 2004-2020 Wayne Davison
# This program is distributable under the terms of the GNU GPL (see
# COPYING).

View File

@@ -1,6 +1,6 @@
#!/bin/sh
# Copyright (C) 2005 by Wayne Davison <wayned@samba.org>
# Copyright (C) 2005-2020 Wayne Davison
#
# This program is distributable under the terms of the GNU GPL (see COPYING)

View File

@@ -47,7 +47,7 @@ test_unsafe dir/..//.. from unsafe
test_unsafe '' from unsafe
# Based on tests from unsafe-links by Vladim<EFBFBD>r Michl
# Based on tests from unsafe-links by Vladimír Michl
test_unsafe ../../unsafe/unsafefile from/safe unsafe
test_unsafe ..//../unsafe/unsafefile from/safe unsafe
test_unsafe ../files/file1 from/safe safe

View File

@@ -1,6 +1,6 @@
#! /bin/sh
# Originally by Vladim<EFBFBD>r Michl <Vladimir.Michl@hlubocky.del.cz>
# Originally by Vladimír Michl <Vladimir.Michl@hlubocky.del.cz>
. "$suitedir/rsync.fns"

View File

@@ -1,6 +1,6 @@
#! /bin/sh
# Copyright (C) 2003 by Wayne Davison <wayned@samba.org>
# Copyright (C) 2003-2020 Wayne Davison
# This program is distributable under the terms of the GNU GPL (see
# COPYING).