This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [PATCH RFC] Update/correct copyright notices


I've been reviewing the output from my script for updating copyright
notices and came across bcache.c...

diff -upr gdb.orig/bcache.c gdb/bcache.c
--- gdb.orig/bcache.c	Thu Dec 14 18:42:51 2000
+++ gdb/bcache.c	Wed Feb 28 17:49:16 2001
@@ -1,7 +1,7 @@
 /* Implement a cached obstack.
    Written by Fred Fish <fnf@cygnus.com>
    Rewritten by Jim Blandy <jimb@cygnus.com>
-   Copyright 1999 Free Software Foundation, Inc.
+   Copyright 1996, 1998, 1999, 2000 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
Notice that my script adds 1996 and 1998 to the copyright notice.  I
think this is wrong.  I've used Red Hat's internal repository to check
the history on this and found that Jim Blandy, in November of 1999,
revised the copyright to list only 1999.  This was done because the
bcache.c was almost completely rewritten.  So, AFAICT, Jim was correct
in revising the copyright notice the way he did and my script is
wrong because it reintroduces dates which were previously (intentionally)
removed.

I've revised my script to discard ChangeLog-found dates that are
older than the oldest date found in the copyright notice.  Now that
I've done that, the bcache.c changes look better...

diff -upr gdb.orig/bcache.c gdb/bcache.c
--- gdb.orig/bcache.c	Thu Dec 14 18:42:51 2000
+++ gdb/bcache.c	Wed Feb 28 19:02:06 2001
@@ -1,7 +1,7 @@
 /* Implement a cached obstack.
    Written by Fred Fish <fnf@cygnus.com>
    Rewritten by Jim Blandy <jimb@cygnus.com>
-   Copyright 1999 Free Software Foundation, Inc.
+   Copyright 1999, 2000 Free Software Foundation, Inc.
 
    This file is part of GDB.
 

Comments?

Kevin


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]