aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKarl Heuer1996-07-24 04:21:31 +0000
committerKarl Heuer1996-07-24 04:21:31 +0000
commitfc42d823cfd0e599a98c18ed4cf4f057e8aeb125 (patch)
tree92c0554056c7009ef1e6ae89f9a6b18ac5020db8 /src
parentcfbaa90cb08f4a81418648572d8b2cb84311c322 (diff)
downloademacs-fc42d823cfd0e599a98c18ed4cf4f057e8aeb125.tar.gz
emacs-fc42d823cfd0e599a98c18ed4cf4f057e8aeb125.zip
(Fencode_time): Assign to tm.tm_gmtoff for NEXTSTEP,
since timezone environment variable is ignored.
Diffstat (limited to 'src')
-rw-r--r--src/editfns.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/editfns.c b/src/editfns.c
index 164ee9c6e80..7e9a798c4e2 100644
--- a/src/editfns.c
+++ b/src/editfns.c
@@ -765,6 +765,10 @@ If you want them to stand for years in this century, you must do that yourself."
765 sprintf (tzbuf, "XXX%s%d:%02d:%02d", "-" + (XINT (zone) < 0), 765 sprintf (tzbuf, "XXX%s%d:%02d:%02d", "-" + (XINT (zone) < 0),
766 abszone / (60*60), (abszone/60) % 60, abszone % 60); 766 abszone / (60*60), (abszone/60) % 60, abszone % 60);
767 tzstring = tzbuf; 767 tzstring = tzbuf;
768#ifdef _NEXT_SOURCE
769 /* On NEXTSTEP, timezone environment var is ignored. */
770 tm.tm_gmtoff = -abszone;
771#endif
768 } 772 }
769 else 773 else
770 error ("Invalid time zone specification"); 774 error ("Invalid time zone specification");