NetBSD, among other projects, has used a change similar to this for many years, to allow the tag name to be passed to loginfo scripts. This allows the popular log_accum script to supply the tag name in the Subject line.
Below is a diff against 1.12.12, and is really very trivial; I wonder if it's just oversight that prevented this from being contributed sooner. It would be really nice if this didn't require external maintenance anymore. :) --- src/logmsg.c.orig 2005-06-08 17:06:55.000000000 -0400 +++ src/logmsg.c 2005-06-08 17:07:43.000000000 -0400 @@ -641,6 +641,10 @@ li = p->data; arg = li->rev_new ? li->rev_new : "NONE"; break; + case 't': + li = p->data; + arg = li->tag ? li->tag : ""; + break; default: #ifdef SUPPORT_OLD_INFO_FMT_STRINGS if (c->onearg) -- -- Todd Vierling <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> _______________________________________________ Bug-cvs mailing list Bug-cvs@gnu.org http://lists.gnu.org/mailman/listinfo/bug-cvs