Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
77109fa8
Commit
77109fa8
authored
Jul 25, 2014
by
Dmitry Antipov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* atimer.c (set_alarm) [HAVE_ITIMERSPEC]: Use TIMER_ABSTIME
because atimer expiration is absolute rather than relative.
parent
4e69163f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
src/ChangeLog
src/ChangeLog
+5
-0
src/atimer.c
src/atimer.c
+1
-1
No files found.
src/ChangeLog
View file @
77109fa8
2014-07-26 Dmitry Antipov <dmantipov@yandex.ru>
* atimer.c (set_alarm) [HAVE_ITIMERSPEC]: Use TIMER_ABSTIME
because atimer expiration is absolute rather than relative.
2014-07-25 Eli Zaretskii <eliz@gnu.org>
* w32term.h (current_popup_menu, menubar_in_use): Move
...
...
src/atimer.c
View file @
77109fa8
...
...
@@ -291,7 +291,7 @@ set_alarm (void)
struct
itimerspec
ispec
;
ispec
.
it_value
=
atimers
->
expiration
;
ispec
.
it_interval
.
tv_sec
=
ispec
.
it_interval
.
tv_nsec
=
0
;
if
(
timer_settime
(
alarm_timer
,
0
,
&
ispec
,
0
)
==
0
)
if
(
timer_settime
(
alarm_timer
,
TIMER_ABSTIME
,
&
ispec
,
0
)
==
0
)
return
;
}
#endif
...
...
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