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
41f9404e
Commit
41f9404e
authored
Jul 07, 2012
by
Glenn Morris
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* configure.in (BROKEN_SA_RESTART): Doc fix.
* src/sysdep.c, src/s/irix6-5.h: Related comments.
parent
929e7845
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
7 deletions
+12
-7
ChangeLog
ChangeLog
+2
-0
configure.in
configure.in
+5
-3
src/s/irix6-5.h
src/s/irix6-5.h
+1
-1
src/sysdep.c
src/sysdep.c
+4
-3
No files found.
ChangeLog
View file @
41f9404e
2012-07-07 Glenn Morris <rgm@gnu.org>
2012-07-07 Glenn Morris <rgm@gnu.org>
* configure.in (BROKEN_SA_RESTART): Doc fix.
* configure.in: Rather than checking for things then undef'ing
* configure.in: Rather than checking for things then undef'ing
them on some platforms, simply don't check for them.
them on some platforms, simply don't check for them.
(getwd): Don't check for it on unixware.
(getwd): Don't check for it on unixware.
...
...
configure.in
View file @
41f9404e
...
@@ -3140,9 +3140,11 @@ case $opsys in
...
@@ -3140,9 +3140,11 @@ case $opsys in
gnu-kfreebsd) opsysfile="s/gnu-linux.h" ;;
gnu-kfreebsd) opsysfile="s/gnu-linux.h" ;;
hpux11)
hpux11)
dnl SA_RESTART resets the timeout of `select', so don't use it.
dnl See comments in sysdep.c:sys_signal.
AC_DEFINE(BROKEN_SA_RESTART, 1, [Define if SA_RESTART should not
dnl SA_RESTART resets the timeout of `select' on hpux11.
be used.])
dnl Defining BROKEN_SA_RESTART is not the same as undef'ing SA_RESTART.
AC_DEFINE(BROKEN_SA_RESTART, 1, [Define if SA_RESTART should only
be used in batch mode.])
dnl It works to open the pty's tty in the parent (Emacs), then
dnl It works to open the pty's tty in the parent (Emacs), then
dnl close and reopen it in the child.
dnl close and reopen it in the child.
AC_DEFINE(USG_SUBTTY_WORKS, 1, [Define for USG systems where it
AC_DEFINE(USG_SUBTTY_WORKS, 1, [Define for USG systems where it
...
...
src/s/irix6-5.h
View file @
41f9404e
...
@@ -80,7 +80,7 @@ char *_getpty();
...
@@ -80,7 +80,7 @@ char *_getpty();
#define NARROWPROTO 1
#define NARROWPROTO 1
#undef SA_RESTART
#undef SA_RESTART
/* not the same as defining BROKEN_SA_RESTART */
#undef TIOCSIGSEND
/* defined in usg5-4-common.h */
#undef TIOCSIGSEND
/* defined in usg5-4-common.h */
...
...
src/sysdep.c
View file @
41f9404e
...
@@ -1484,9 +1484,10 @@ sys_signal (int signal_number, signal_handler_t action)
...
@@ -1484,9 +1484,10 @@ sys_signal (int signal_number, signal_handler_t action)
#if defined (SA_RESTART)
#if defined (SA_RESTART)
/* Emacs mostly works better with restartable system services. If this
/* Emacs mostly works better with restartable system services. If this
flag exists, we probably want to turn it on here.
flag exists, we probably want to turn it on here.
However, on some systems this resets the timeout of `select'
However, on some systems (only hpux11 at present) this resets the
which means that `select' never finishes if it keeps getting signals.
timeout of `select' which means that `select' never finishes if
BROKEN_SA_RESTART is defined on those systems. */
it keeps getting signals.
We define BROKEN_SA_RESTART on those systems. */
/* It's not clear why the comment above says "mostly works better". --Stef
/* It's not clear why the comment above says "mostly works better". --Stef
When SYNC_INPUT is set, we don't want SA_RESTART because we need to poll
When SYNC_INPUT is set, we don't want SA_RESTART because we need to poll
for pending input so we need long-running syscalls to be interrupted
for pending input so we need long-running syscalls to be interrupted
...
...
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