diff options
author | Jim Blandy <[email protected]> | 1992-07-17 20:35:53 +0000 |
---|---|---|
committer | Jim Blandy <[email protected]> | 1992-07-17 20:35:53 +0000 |
commit | 279cc2b84ccbbb7796dc0081bcd829c7771b291c (patch) | |
tree | 3c5697f809dafb6af8d0c84a631e3acf69ca57bd /src | |
parent | d7b4d18fd42a5f4cd81a2340bdcbbb3a15576857 (diff) |
entered into RCS
Diffstat (limited to 'src')
-rw-r--r-- | src/emacs.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/emacs.c b/src/emacs.c index 54a39fb4d0..92d9411189 100644 --- a/src/emacs.c +++ b/src/emacs.c @@ -549,6 +549,15 @@ main (argc, argv, envp) initialized = 1; +#ifdef sun + /* sun's localtime() has a bug. it caches the value of the time + zone rather than looking it up every time. Since localtime() is + called to bolt the undumping time into the undumped emacs, this + results in localtime() ignoring the TZ environment variable. + This flushes the new TZ value into localtime(). */ + tzset(); +#endif /* sun */ + /* Enter editor command loop. This never returns. */ Frecursive_edit (); /* NOTREACHED */ |