EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Daylight savings time
From: Eric Norum <[email protected]>
To: Andrew Johnson <[email protected]>
Cc: tech-talk tech-talk <[email protected]>
Date: Tue, 13 Mar 2007 11:02:53 -0500
Since we're on the topic of time, I'd like to propose the following change to the IOC shell. This is in the handler function for the epicsEnvSet command.


Index: iocUtil.c =================================================================== RCS file: /net/phoebus/epicsmgr/cvsroot/epics/base/src/iocsh/iocUtil.c,v retrieving revision 1.30.2.4 diff -u -r1.30.2.4 iocUtil.c --- iocUtil.c 11 Sep 2006 15:53:44 -0000 1.30.2.4 +++ iocUtil.c 13 Mar 2007 15:58:12 -0000 @@ -111,6 +111,10 @@ return; } epicsEnvSet (name, value); + if (strcmp(name, "TZ") == 0) { + extern void tzset(void); + tzset(); + } }

This will ensure that changes to the TZ environment variable (in an st.cmd file, for example) actually have an effect.

--
Eric Norum <[email protected]>
Advanced Photon Source
Argonne National Laboratory
(630) 252-4793



Replies:
Re: Daylight savings time Andrew Johnson
References:
Daylight savings time Thompson, David H.
Re: Daylight savings time Lawrence T. Hoff
Re: Daylight savings time Andrew Johnson

Navigate by Date:
Prev: Re: Daylight savings time Andrew Johnson
Next: Re: Daylight savings time Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Daylight savings time Andrew Johnson
Next: Re: Daylight savings time Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Nov 2011 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·