diff options
| author | Jim Blandy | 1993-07-18 06:27:15 +0000 |
|---|---|---|
| committer | Jim Blandy | 1993-07-18 06:27:15 +0000 |
| commit | 46f2fdac02f40712c3405fa5de4aa5a14412384d (patch) | |
| tree | f82b55b338df2bae7c6da95be3b3d01ce3a77da0 /src | |
| parent | 2fcea188d65c5a6dd35f49152ccd4935f6926958 (diff) | |
| download | emacs-46f2fdac02f40712c3405fa5de4aa5a14412384d.tar.gz emacs-46f2fdac02f40712c3405fa5de4aa5a14412384d.zip | |
* xterm.c, sysdep.c (F_SETOWN_BUG): Defined.
* m/dpx2.h: New file.
Diffstat (limited to 'src')
| -rw-r--r-- | src/sysdep.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/sysdep.c b/src/sysdep.c index bed1f70035a..c80051e2031 100644 --- a/src/sysdep.c +++ b/src/sysdep.c | |||
| @@ -965,9 +965,11 @@ int term_initted; /* 1 if outer tty status has been recorded */ | |||
| 965 | int lmode; | 965 | int lmode; |
| 966 | #endif | 966 | #endif |
| 967 | 967 | ||
| 968 | #ifndef F_SETOWN_BUG | ||
| 968 | #ifdef F_SETOWN | 969 | #ifdef F_SETOWN |
| 969 | int old_fcntl_owner; | 970 | int old_fcntl_owner; |
| 970 | #endif /* F_SETOWN */ | 971 | #endif /* F_SETOWN */ |
| 972 | #endif /* F_SETOWN_BUG */ | ||
| 971 | 973 | ||
| 972 | /* This may also be defined in stdio, | 974 | /* This may also be defined in stdio, |
| 973 | but if so, this does no harm, | 975 | but if so, this does no harm, |
| @@ -1226,6 +1228,7 @@ init_sys_modes () | |||
| 1226 | } | 1228 | } |
| 1227 | 1229 | ||
| 1228 | #ifdef F_SETFL | 1230 | #ifdef F_SETFL |
| 1231 | #ifndef F_SETOWN_BUG | ||
| 1229 | #ifdef F_GETOWN /* F_SETFL does not imply existence of F_GETOWN */ | 1232 | #ifdef F_GETOWN /* F_SETFL does not imply existence of F_GETOWN */ |
| 1230 | if (interrupt_input) | 1233 | if (interrupt_input) |
| 1231 | { | 1234 | { |
| @@ -1234,6 +1237,7 @@ init_sys_modes () | |||
| 1234 | init_sigio (); | 1237 | init_sigio (); |
| 1235 | } | 1238 | } |
| 1236 | #endif /* F_GETOWN */ | 1239 | #endif /* F_GETOWN */ |
| 1240 | #endif /* F_SETOWN_BUG */ | ||
| 1237 | #endif /* F_SETFL */ | 1241 | #endif /* F_SETFL */ |
| 1238 | 1242 | ||
| 1239 | #ifdef BSD4_1 | 1243 | #ifdef BSD4_1 |
| @@ -1375,6 +1379,7 @@ reset_sys_modes () | |||
| 1375 | #endif | 1379 | #endif |
| 1376 | 1380 | ||
| 1377 | #ifdef F_SETFL | 1381 | #ifdef F_SETFL |
| 1382 | #ifndef F_SETOWN_BUG | ||
| 1378 | #ifdef F_SETOWN /* F_SETFL does not imply existence of F_SETOWN */ | 1383 | #ifdef F_SETOWN /* F_SETFL does not imply existence of F_SETOWN */ |
| 1379 | if (interrupt_input) | 1384 | if (interrupt_input) |
| 1380 | { | 1385 | { |
| @@ -1382,6 +1387,7 @@ reset_sys_modes () | |||
| 1382 | fcntl (0, F_SETOWN, old_fcntl_owner); | 1387 | fcntl (0, F_SETOWN, old_fcntl_owner); |
| 1383 | } | 1388 | } |
| 1384 | #endif /* F_SETOWN */ | 1389 | #endif /* F_SETOWN */ |
| 1390 | #endif /* F_SETOWN_BUG */ | ||
| 1385 | #endif /* F_SETFL */ | 1391 | #endif /* F_SETFL */ |
| 1386 | #ifdef BSD4_1 | 1392 | #ifdef BSD4_1 |
| 1387 | if (interrupt_input) | 1393 | if (interrupt_input) |