On Fri, 7 Aug 2009 15:08:16 -0700 Peter Steele
pste...@webmail.maxiscale.com wrote:
What's the value of the TZ environment variable for the C apps? You may
need to have them read the new value from somewhere, and then rerun
tzset().
The default value of the TZ environment variable is null.
We have a suite of applications with a Java GUI controlling everything.
One of the actions the user can perform is to set the time zone. We do
this through our Java application and update the /etc/localtime as
required. We also make an API call to tell the JVM that the time zone as
changed, and
Peter Steele wrote:
We have a suite of applications with a Java GUI controlling everything.
One of the actions the user can perform is to set the time zone. We do
this through our Java application and update the /etc/localtime as
required. We also make an API call to tell the JVM that the time
You need to signal your app in some way.. Assuming you have source for
the app then you can monitor /etc/localtime (or /etc) for change with
kevent.
Signaling our C apps aren't the problem. We have an IPC framework in
place and we can easily tell the C apps when the user has changed the
time zone
What's the value of the TZ environment variable for the C apps? You may
need to have them read the new value from somewhere, and then rerun
tzset().
The default value of the TZ environment variable is null. I just tried
passing the explicitly time zone value to the C app and setting TZ to
that
5 matches
Mail list logo