I thought I'd blast off a rough version and see if it was
greeted with the usual silence before I spent too much
time polishing. Your suggestions sound reasonable,
thanks.
I saw some other things (e.g. I don't need to call
gettimeofday, I don't need to convert the current time.
Any old constant time will do, so long as I calculate the diff
between UTC and localtime correctly. also, I don't need to
calculate that for every log entry, it's going to be
tthe same difference every time, so why not just do it
once? and some other minor loose ends.
As for Mime encryption, my mailer is disgusting, and
it's either that, or have it insert extra carriage-returns
in the patch, (helping me out with line wrapping I guess
is what it thinks it's doing, and so the patch would be
ruined if I tried to send it plain text.)
-- steve.
> -----Original Message-----
> From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, May 18, 2000 4:06 PM
> To: Cameron, Steve
> Cc: [EMAIL PROTECTED]
> Subject: Re: patch to log.c to permit dates to be output in localtime
>
> Cameron, Steve writes:
> >
> > So here's a patch that adds a "-L" option to
> > "cvs log" which causes the dates to be
> > output in the local time zone. They are
> > still stored in UTC, and are output in UTC
> > by default, of course.
>
> It would be nice if this worked like the -z option to "cvs history"
> instead of being gratuituously different -- they might even be able to
> share some code. It would also be nice if it included ChangeLog entries
> and tests in sanity.sh to verify that it works. (And I think it would
> be nice if it were posted as plain text instead of being MIME encrypted,
> but that might just be my inner Luddite coming out.)
>
> -Larry Jones
>
> Oh, what the heck. I'll do it. -- Calvin