cvs commit: src/lib/libc/stdtime localtime.c

Ken Smith kensmith at cse.Buffalo.EDU
Fri Jun 11 03:40:49 GMT 2004


On Fri, Jun 11, 2004 at 03:34:02AM +0000, Ken Smith wrote:
> kensmith    2004-06-11 03:34:02 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     lib/libc/stdtime     localtime.c 
>   Log:
>   Change defualt time zone from GMT to UTC.  This will not be MFC-ed, and
>   was done before 5-STABLE on purpose...
>   
>   Revision  Changes    Path
>   1.38      +6 -1      src/lib/libc/stdtime/localtime.c

In my warning message sent to current@ saying this was in the works I
had asked for thoughts on whether or not to "clean up" the code,
more or less doing "s/gmt/utc/g".  Those who sent in thoughts were
divided roughly half in favor, half against.  I couldn't decide if
the cleanliness was worth the size of the diff so I did my usual
thing when confused about cleanliness and/or style issues - I asked
bde at .  :-)

Bruce pointed out several things but the kicker was that this code
originally came from an import from a vendor branch.  We import the
time zone data from that source fairly frequently.  We import the
time zone code far less frequently.  But a gratuitous sweep through
changing lots of variable/function names would make future code imports
unnecessarily harder.  So I'll leave it as-is.

Thanks again Bruce. :-)

-- 
						Ken Smith
- From there to here, from here to      |       kensmith at cse.buffalo.edu
  there, funny things are everywhere.   |
                      - Theodore Geisel |


More information about the cvs-src mailing list