update-copyright copyright notice corruption bug

Eric Blake eblake@redhat.com
Wed Jan 2 20:27:00 GMT 2013


On 01/02/2013 12:31 PM, Joseph S. Myers wrote:
> A second check of the automatic copyright updates for glibc showed that 
> update-copyright had corrupted some of the copyright notices.  I've 
> applied this glibc patch to fix that corruption.  bug-gnulib: see 
> attachment for a testcase.  Run update-copyright as:
> 
> UPDATE_COPYRIGHT_FORCE=1 UPDATE_COPYRIGHT_USE_INTERVALS=2 UPDATE_COPYRIGHT_MAX_LINE_LENGTH=79 update-copyright ctty-input.c

Thanks for the report. In particular, the culprit line that caused the
corruptions is important to understand:

> +++ b/hurd/ctty-output.c
> @@ -1,5 +1,5 @@
>  /* _hurd_ctty_output -- Do an output RPC and generate SIGTTOU if necessary.
> -   Copyright (C) 11999, 20135, 1997-1999 Free Software Foundation, Inc.
> +   Copyright (C) 1995-2013 Free Software Foundation, Inc.

The original was:

   Copyright (C) 1995,97,99 Free Software Foundation, Inc.

and that pattern (4-digits followed by 2-digits, with gaps in the years,
but no spaces in the listing) is not currently tested in the
update-copyright testsuite.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20130102/b744b91a/attachment.sig>


More information about the Libc-alpha mailing list