Mercurial > emacs
annotate src/s/ptx4.h @ 58300:7b70b40dbfc7
(calc-poly-div): Made calc-poly-div-remainder a local variable.
(math-eval-rules-cache, math-eval-rules-cache-other): Declared them.
(math-top-only): New variable
(math-simplify, math-simplify-step): Replace variable top-only by
declared variable math-top-only.
(math-simplify-expr): Declared it.
Replaced argument expr in all calls of math-defsimplify by
math-simplify-expr.
(math-simplify-plus, math-simplify-times, math-simplify-divide)
(math-simplify-divisor, math-simplify-one-divisor)
(math-simplify-mod, math-simplify-ineq, math-simplify-sqrt)
(math-simplify-pow): Replaced variable expr by declared variable
math-simplify-expr.
(math-simplify-divisor): Removed local variables temp and op.
(math-simplify-one-divisor): Made temp and op local variables.
(math-simplify-divisor-nover, math-simplify-divisor-dover): New
variables.
(math-simplify-divisor, math-simplify-one-divisor): Use declared
variables.
(math-expr-subst-new, math-expr-subst-old): New variables.
(math-expr-subst, math-expr-subst-rec): Use declared variables.
(math-is-poly-degree, math-is-poly-loose): New variables.
(math-is-polynomial, math-is-poly-rec): Use declared variables.
(math-poly-base-const-ok, math-poly-base-pred): New variables.
(math-polynomial-base, math-polynomial-base-rec): Use declared
variables.
author | Jay Belanger <jay.p.belanger@gmail.com> |
---|---|
date | Wed, 17 Nov 2004 19:21:57 +0000 |
parents | 695cf19ef79e |
children | d1ea3bc6c40d 375f2633d815 |
rev | line source |
---|---|
15845 | 1 /* s/ file for Sequent "ptx 4", which is a modified SVR5.4. */ |
2 | |
15860 | 3 /* Tell usg5-4.h not to include filio.h. */ |
4 #define NO_FILIO_H | |
5 | |
6 #include "usg5-4.h" | |
15845 | 7 |
8 /* Marcus Daniels <marcus@sysc.pdx.edu> says that SIGINFO is defined | |
9 on ptx4 but it is not a signal. Prevent process.c from doing the | |
10 wrong thing. */ | |
26090 | 11 #define BROKEN_SIGINFO |
15845 | 12 |
21145
469c3de61eb1
(SETUP_SLAVE_PTY): New definition.
Richard M. Stallman <rms@gnu.org>
parents:
15860
diff
changeset
|
13 /* pae@dim.com (Phil Ernhardt) says this correction to |
469c3de61eb1
(SETUP_SLAVE_PTY): New definition.
Richard M. Stallman <rms@gnu.org>
parents:
15860
diff
changeset
|
14 the definition in usg5-4.h is needed to prevent |
469c3de61eb1
(SETUP_SLAVE_PTY): New definition.
Richard M. Stallman <rms@gnu.org>
parents:
15860
diff
changeset
|
15 all asynchronous subprocesses from exiting right away. */ |
24210
4dc06f8c8c33
(SETUP_SLAVE_PTY): Use the ptem module if it exists.
Richard M. Stallman <rms@gnu.org>
parents:
21145
diff
changeset
|
16 |
4dc06f8c8c33
(SETUP_SLAVE_PTY): Use the ptem module if it exists.
Richard M. Stallman <rms@gnu.org>
parents:
21145
diff
changeset
|
17 /* James Youngman <jay@gnu.org> found that on "DYNIX/ptx ARNIE 4.0 |
4dc06f8c8c33
(SETUP_SLAVE_PTY): Use the ptem module if it exists.
Richard M. Stallman <rms@gnu.org>
parents:
21145
diff
changeset
|
18 * V4.4.2 i386", the push of the ttcompat module would fail. It seems |
4dc06f8c8c33
(SETUP_SLAVE_PTY): Use the ptem module if it exists.
Richard M. Stallman <rms@gnu.org>
parents:
21145
diff
changeset
|
19 * that PTX 4.4.2 doesn't have that module, so if the push fails we |
4dc06f8c8c33
(SETUP_SLAVE_PTY): Use the ptem module if it exists.
Richard M. Stallman <rms@gnu.org>
parents:
21145
diff
changeset
|
20 * don't kill ourselves. While this version lacks ttcompat, it also |
4dc06f8c8c33
(SETUP_SLAVE_PTY): Use the ptem module if it exists.
Richard M. Stallman <rms@gnu.org>
parents:
21145
diff
changeset
|
21 * has ptem, but the manual page for ptem indicates that it should |
4dc06f8c8c33
(SETUP_SLAVE_PTY): Use the ptem module if it exists.
Richard M. Stallman <rms@gnu.org>
parents:
21145
diff
changeset
|
22 * be pushed onto the slave side before the line discipline module. |
4dc06f8c8c33
(SETUP_SLAVE_PTY): Use the ptem module if it exists.
Richard M. Stallman <rms@gnu.org>
parents:
21145
diff
changeset
|
23 * See also the streampty manual page, if you're curious (and have |
4dc06f8c8c33
(SETUP_SLAVE_PTY): Use the ptem module if it exists.
Richard M. Stallman <rms@gnu.org>
parents:
21145
diff
changeset
|
24 * a ptx system). |
4dc06f8c8c33
(SETUP_SLAVE_PTY): Use the ptem module if it exists.
Richard M. Stallman <rms@gnu.org>
parents:
21145
diff
changeset
|
25 */ |
4dc06f8c8c33
(SETUP_SLAVE_PTY): Use the ptem module if it exists.
Richard M. Stallman <rms@gnu.org>
parents:
21145
diff
changeset
|
26 |
4dc06f8c8c33
(SETUP_SLAVE_PTY): Use the ptem module if it exists.
Richard M. Stallman <rms@gnu.org>
parents:
21145
diff
changeset
|
27 /* rms: I hope that older versions which do have ttcompat |
4dc06f8c8c33
(SETUP_SLAVE_PTY): Use the ptem module if it exists.
Richard M. Stallman <rms@gnu.org>
parents:
21145
diff
changeset
|
28 will not get confused by the code to use ptem. */ |
4dc06f8c8c33
(SETUP_SLAVE_PTY): Use the ptem module if it exists.
Richard M. Stallman <rms@gnu.org>
parents:
21145
diff
changeset
|
29 |
21145
469c3de61eb1
(SETUP_SLAVE_PTY): New definition.
Richard M. Stallman <rms@gnu.org>
parents:
15860
diff
changeset
|
30 #undef SETUP_SLAVE_PTY |
469c3de61eb1
(SETUP_SLAVE_PTY): New definition.
Richard M. Stallman <rms@gnu.org>
parents:
15860
diff
changeset
|
31 #define SETUP_SLAVE_PTY \ |
24210
4dc06f8c8c33
(SETUP_SLAVE_PTY): Use the ptem module if it exists.
Richard M. Stallman <rms@gnu.org>
parents:
21145
diff
changeset
|
32 if (ioctl (xforkin, I_PUSH, "ptem") == -1 && errno != EINVAL) \ |
4dc06f8c8c33
(SETUP_SLAVE_PTY): Use the ptem module if it exists.
Richard M. Stallman <rms@gnu.org>
parents:
21145
diff
changeset
|
33 fatal ("ioctl I_PUSH ptem", errno); \ |
21145
469c3de61eb1
(SETUP_SLAVE_PTY): New definition.
Richard M. Stallman <rms@gnu.org>
parents:
15860
diff
changeset
|
34 if (ioctl (xforkin, I_PUSH, "ldterm") == -1) \ |
469c3de61eb1
(SETUP_SLAVE_PTY): New definition.
Richard M. Stallman <rms@gnu.org>
parents:
15860
diff
changeset
|
35 fatal ("ioctl I_PUSH ldterm", errno); \ |
24210
4dc06f8c8c33
(SETUP_SLAVE_PTY): Use the ptem module if it exists.
Richard M. Stallman <rms@gnu.org>
parents:
21145
diff
changeset
|
36 if (ioctl (xforkin, I_PUSH, "ttcompat") == -1 && errno != EINVAL) \ |
21145
469c3de61eb1
(SETUP_SLAVE_PTY): New definition.
Richard M. Stallman <rms@gnu.org>
parents:
15860
diff
changeset
|
37 fatal ("ioctl I_PUSH ttcompat", errno); |
52401 | 38 |
39 /* arch-tag: 14621824-8dca-432b-a97a-049fc4ce0e9f | |
40 (do not change this comment) */ |