Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
fc42d823
Commit
fc42d823
authored
Jul 24, 1996
by
Karl Heuer
Browse files
(Fencode_time): Assign to tm.tm_gmtoff for NEXTSTEP,
since timezone environment variable is ignored.
parent
cfbaa90c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
src/editfns.c
src/editfns.c
+4
-0
No files found.
src/editfns.c
View file @
fc42d823
...
...
@@ -765,6 +765,10 @@ If you want them to stand for years in this century, you must do that yourself."
sprintf
(
tzbuf
,
"XXX%s%d:%02d:%02d"
,
"-"
+
(
XINT
(
zone
)
<
0
),
abszone
/
(
60
*
60
),
(
abszone
/
60
)
%
60
,
abszone
%
60
);
tzstring
=
tzbuf
;
#ifdef _NEXT_SOURCE
/* On NEXTSTEP, timezone environment var is ignored. */
tm
.
tm_gmtoff
=
-
abszone
;
#endif
}
else
error
(
"Invalid time zone specification"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment