comparison src/emacs.c @ 4303:fd9865b5a41e

(main): Test LOCALTIME_CACHE.
author Richard M. Stallman <rms@gnu.org>
date Tue, 27 Jul 1993 08:32:33 +0000
parents 9a411d86ca72
children c589c71324dd
comparison
equal deleted inserted replaced
4302:33090cb5f403 4303:fd9865b5a41e
601 #endif /* CANNOT_DUMP */ 601 #endif /* CANNOT_DUMP */
602 } 602 }
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 ();
617 /* NOTREACHED */ 617 /* NOTREACHED */
618 } 618 }