From: Kevin Buettner <kevinb@cygnus.com>
To: Eli Zaretskii <eliz@is.elta.co.il>
Cc: Michael Elizabeth Chastain <chastain@cygnus.com>,
gdb-patches@sources.redhat.com
Subject: Re: [PATCH RFC] Update/correct copyright notices
Date: Thu, 01 Mar 2001 01:19:00 -0000 [thread overview]
Message-ID: <1010301091920.ZM19108@ocotillo.lan> (raw)
In-Reply-To: <Pine.SUN.3.91.1010301103011.4534C-100000@is>
On Mar 1, 10:30am, Eli Zaretskii wrote:
> > * ax-gdb.c breakpoint.c coffread.c corelow.c dbxread.c
> > dwarf2read.c dwarfread.c elfread.c eval.c exec.c infcmd.c infrun.c
> > mipsread.c nlmread.c os9kread.c parse.c printcmd.c symfile.c
> > symmisc.c symtab.c thread.c top.c tracepoint.c typeprint.c
> > valops.c: Cast parameters passed to make_cleanup to use the new
> > make_cleanup_func typedef.
> >
> > The script regarded this list of files as a sentence instead of a
> > file list because they're not comma separated. I'm still mulling
> > this one over and may think of a way to change my script to accomodate
> > this type of error. (It's likely that it occurs elsewhere too.)
>
> If we are going to rely on ChangeLog's for something that affects
> source files, we had better routinely check and fix any invalid
> entries such as the one above. I don't think it's right for the
> script to deal with such breakage: it is too dangerous.
Well, I did modify the script to deal with the above problem and I
think it's better to attempt to deal with it than not. However, I
agree that it would be better for all of the ChangeLog entries to
conform to the standard. I've been thinking about writing a lint
program for ChangeLog files.
I think the danger in this instance is minimal; if the script
inadvertently decides that a sentence is a list of filenames, it will
likely just end up generating warnings for a bunch of files that it
can't find. The criteria that the script uses at the moment for
deciding whether a list of space delimited "words" is a filename list
or a sentence is to see if over half of the "words" have a dot in them
followed by an alphanumeric character. If they do, the "word" list
is considered to be a list of filenames, otherwise it is a sentence
(which is discarded anyway).
[...]
> > Yes, the use of ``*'' as a filename wildcard in ChangeLog entries is
> > really quite annoying. There were also entries that said foo.[hc] or
> > sometimes {foo,bar}.c (or sometimes a combination of the two), but I
> > was able to handle these cases.
>
> These are all invalid entries, they go against standards.texi. We
> should simply fix them by hand, I think.
Yes, that would be good if we can. Unfortunately, this may prove to
be rather difficult since the wildcard specifications refer to some
set of files that existed in the past. For some of the more recent
ones, someone at Red Hat could do a ``cvs checkout -D'' on Red Hat's
internal repository to see the files that were in existence at the
time. I suppose we could dig up old snapshots or old FSF releases to
fix the situations which predate the use of CVS.
I think the following entry might be one of the harder ones to fix:
Tue Jul 12 19:52:16 1988 Peter TerMaat (pete at corn-chex.ai.mit.edu)
* Makefile, *.c, munch, config.gdb, README: New initialization
scheme uses nm to find functions whose names begin with
`_initialize_'. Files `initialize.h', `firstfile.c',
`lastfile.c', `m-*init.h' no longer needed.
Fortunately, because it's so old, I think it poses little danger to
the fixdates script. The *.c files in question were likely under heavy
development at the time and very likely are referred to explicitly by
other ChangeLog entries form the same time period. Also, my script
does preserve those copyright years found in the notice which
predate any mention in the ChangeLog.
Kevin
next prev parent reply other threads:[~2001-03-01 1:19 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-02-28 8:56 Michael Elizabeth Chastain
2001-02-28 14:56 ` Kevin Buettner
2001-02-28 16:24 ` Kevin Buettner
2001-03-01 0:33 ` Eli Zaretskii
2001-03-01 1:19 ` Kevin Buettner [this message]
2001-03-01 3:13 ` Eli Zaretskii
-- strict thread matches above, loose matches on Subject: below --
2001-02-28 16:47 Michael Elizabeth Chastain
2001-02-28 16:36 Michael Elizabeth Chastain
2001-02-28 16:42 ` Kevin Buettner
2001-02-28 15:26 Michael Elizabeth Chastain
2001-02-28 15:47 ` Stan Shebs
2001-02-28 9:12 Michael Elizabeth Chastain
2001-02-28 9:02 Michael Elizabeth Chastain
2001-02-28 9:22 ` Kevin Buettner
2001-02-28 0:42 Kevin Buettner
2001-02-28 0:50 ` Kevin Buettner
2001-02-28 3:20 ` Eli Zaretskii
2001-02-28 7:45 ` Andrew Cagney
2001-02-28 3:18 ` Eli Zaretskii
2001-02-28 8:52 ` Andrew Cagney
2001-02-28 9:20 ` Kevin Buettner
2001-02-28 11:11 ` Eli Zaretskii
2001-02-28 17:31 ` Andrew Cagney
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1010301091920.ZM19108@ocotillo.lan \
--to=kevinb@cygnus.com \
--cc=chastain@cygnus.com \
--cc=eliz@is.elta.co.il \
--cc=gdb-patches@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox