aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/emacs.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/emacs.c b/src/emacs.c
index 54a39fb4d0a..92d9411189e 100644
--- a/src/emacs.c
+++ b/src/emacs.c
@@ -549,6 +549,15 @@ main (argc, argv, envp)
549 549
550 initialized = 1; 550 initialized = 1;
551 551
552#ifdef sun
553 /* sun's localtime() has a bug. it caches the value of the time
554 zone rather than looking it up every time. Since localtime() is
555 called to bolt the undumping time into the undumped emacs, this
556 results in localtime() ignoring the TZ environment variable.
557 This flushes the new TZ value into localtime(). */
558 tzset();
559#endif /* sun */
560
552 /* Enter editor command loop. This never returns. */ 561 /* Enter editor command loop. This never returns. */
553 Frecursive_edit (); 562 Frecursive_edit ();
554 /* NOTREACHED */ 563 /* NOTREACHED */