This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: -cvs lists oddities
- To: Jason Molenda <jason-gcclist at molenda dot com>
- Subject: Re: -cvs lists oddities
- From: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- Date: Sun, 22 Oct 2000 12:10:05 +0100 (BST)
- cc: gcc at gcc dot gnu dot org
On Sun, 22 Oct 2000, Jason Molenda wrote:
> > Changes by: whoever@sourceware.cygnus.com
> >
> > Surely this should by gcc.gnu.org?
>
> Realistically, either addr is going to work. It could be fixed
> with a good five minutes of conditionalization to the log_accum
> script (probably best to check for $ENV{'QMAILHOST'} being set and
> using that if it is). I'm not going to do it.
Here's an untested patch.
--- log_accum Sun Oct 22 11:00:40 2000
+++ log_accum.new Sun Oct 22 11:03:52 2000
@@ -342,12 +342,16 @@
$id = getpgrp(); # note, you *must* use a shell which does setpgrp()
$state = $STATE_NONE;
$login = $ENV{'USER'} || (getpwuid($<))[0] || "nobody";
-chop($hostname = `hostname`);
-if ($hostname !~ /\./) {
- chop($domainname = `domainname`);
- $hostdomain = $hostname . "." . $domainname;
+if ($ENV{'QMAILHOST'}) {
+ $hostdomain = $ENV{'QMAILHOST'};
} else {
- $hostdomain = $hostname;
+ chop($hostname = `hostname`);
+ if ($hostname !~ /\./) {
+ chop($domainname = `domainname`);
+ $hostdomain = $hostname . "." . $domainname;
+ } else {
+ $hostdomain = $hostname;
+ }
}
$cvsroot = $ENV{'CVSROOT'};
$do_status = 1;
> > gcc-cvs seems to get messages relating to something called "winsup" in
> > "/cvs/uberbaum". Is this a misconfiguration somewhere?
>
> I have no idea what this might be. 'winsup' is a part of the
> sourceware:/cvs/src repository, it has nothing to do with /cvs/gcc
> repository.
/cvs/uberbaum looks (from checking out its CVSROOT by anoncvs) to be some
sort of unified repository, constructed I don't know how, whose CVSROOT is
identical to the GCC one except for the modules file. Presumably commits
should be prevented to this repository and required to go to the relevant
source repositories /cvs/src and /cvs/gcc instead.
--
Joseph S. Myers
jsm28@cam.ac.uk