aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1993-07-27 08:32:33 +0000
committerRichard M. Stallman1993-07-27 08:32:33 +0000
commitafe9fae94c5f21562e8cc2ef48dc178e00638c8e (patch)
treea05a7bbde8d1f9df5fa06ff7f267e14ef980256e
parent8cbd32b0475cf8b572096f3bbc229cebabdf6d40 (diff)
downloademacs-afe9fae94c5f21562e8cc2ef48dc178e00638c8e.tar.gz
emacs-afe9fae94c5f21562e8cc2ef48dc178e00638c8e.zip
(main): Test LOCALTIME_CACHE.
-rw-r--r--src/emacs.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/emacs.c b/src/emacs.c
index 309ba1ce2a1..a0a2a9b0186 100644
--- a/src/emacs.c
+++ b/src/emacs.c
@@ -603,14 +603,14 @@ main (argc, argv, envp)
603 603
604 initialized = 1; 604 initialized = 1;
605 605
606#ifdef sun 606#if defined (sun) || defined (LOCALTIME_CACHE)
607 /* sun's localtime() has a bug. it caches the value of the time 607 /* sun's localtime has a bug. it caches the value of the time
608 zone rather than looking it up every time. Since localtime() is 608 zone rather than looking it up every time. Since localtime() is
609 called to bolt the undumping time into the undumped emacs, this 609 called to bolt the undumping time into the undumped emacs, this
610 results in localtime() ignoring the TZ environment variable. 610 results in localtime ignoring the TZ environment variable.
611 This flushes the new TZ value into localtime(). */ 611 This flushes the new TZ value into localtime. */
612 tzset(); 612 tzset ();
613#endif /* sun */ 613#endif /* defined (sun) || defined (LOCALTIME_CACHE) */
614 614
615 /* Enter editor command loop. This never returns. */ 615 /* Enter editor command loop. This never returns. */
616 Frecursive_edit (); 616 Frecursive_edit ();