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
ec11ab9b
Commit
ec11ab9b
authored
Oct 12, 2014
by
Paul Eggert
Browse files
* editfns.c (dump_tz_string): No longer const.
It might be modified.
parent
cc541e58
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
src/ChangeLog
src/ChangeLog
+3
-0
src/editfns.c
src/editfns.c
+2
-2
No files found.
src/ChangeLog
View file @
ec11ab9b
2014-10-12 Paul Eggert <eggert@cs.ucla.edu>
* editfns.c (dump_tz_string): No longer const.
It might be modified.
* nsmenu.m (clear): Assume OS X 10.6 or later.
2014-10-12 Jan Djärv <jan.h.d@swipnet.se>
...
...
src/editfns.c
View file @
ec11ab9b
...
...
@@ -90,7 +90,7 @@ static char const *initial_tz;
/* A valid but unlikely setting for the TZ environment variable.
It is OK (though a bit slower) if the user chooses this value. */
static
char
const
dump_tz_string
[]
=
"TZ=UtC0"
;
static
char
dump_tz_string
[]
=
"TZ=UtC0"
;
void
init_editfns
(
void
)
...
...
@@ -109,7 +109,7 @@ init_editfns (void)
if
(
!
initialized
)
{
# ifdef HAVE_TZSET
xputenv
(
(
char
*
)
dump_tz_string
);
xputenv
(
dump_tz_string
);
tzset
();
# endif
return
;
...
...
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