diff options
| author | Dan Nicolaescu | 2008-07-30 15:14:07 +0000 |
|---|---|---|
| committer | Dan Nicolaescu | 2008-07-30 15:14:07 +0000 |
| commit | 9d9a7716e5d1a34804a30773476893b7509d2fab (patch) | |
| tree | 2ca56be1536dfed7b96f802bf35f4e220eacc946 /src | |
| parent | 9b9b76556abef6cec7cd0a50b35828b42ba5ac07 (diff) | |
| download | emacs-9d9a7716e5d1a34804a30773476893b7509d2fab.tar.gz emacs-9d9a7716e5d1a34804a30773476893b7509d2fab.zip | |
* systty.h (sensemode): Remove empty #if. Remove reference to
BSD_TERMIOS, unused.
* sysdep.c: Remove reference to DGUX.
(closedir): Remove reference to BROKEN_CLOSEDIR, unused.
* config.in: Regenerate.
* configure.in (DO_BLOCK_INPUT): Remove, unused.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 10 | ||||
| -rw-r--r-- | src/config.in | 6 | ||||
| -rw-r--r-- | src/sysdep.c | 9 | ||||
| -rw-r--r-- | src/systty.h | 22 |
4 files changed, 24 insertions, 23 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index b4eea07733f..eb38a06c787 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,13 @@ | |||
| 1 | 2008-07-30 Dan Nicolaescu <dann@ics.uci.edu> | ||
| 2 | |||
| 3 | * systty.h (sensemode): Remove empty #if. Remove reference to | ||
| 4 | BSD_TERMIOS, unused. | ||
| 5 | |||
| 6 | * sysdep.c: Remove reference to DGUX. | ||
| 7 | (closedir): Remove reference to BROKEN_CLOSEDIR, unused. | ||
| 8 | |||
| 9 | * config.in: Regenerate. | ||
| 10 | |||
| 1 | 2008-07-30 Jason Rumney <jasonr@gnu.org> | 11 | 2008-07-30 Jason Rumney <jasonr@gnu.org> |
| 2 | 12 | ||
| 3 | * w32uniscribe.c (uniscribe_encode_char): Fix glyph buffer size. | 13 | * w32uniscribe.c (uniscribe_encode_char): Fix glyph buffer size. |
diff --git a/src/config.in b/src/config.in index 46e1f93d2b3..5b78d3be642 100644 --- a/src/config.in +++ b/src/config.in | |||
| @@ -221,6 +221,9 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 221 | /* Define to 1 if you have the `getpt' function. */ | 221 | /* Define to 1 if you have the `getpt' function. */ |
| 222 | #undef HAVE_GETPT | 222 | #undef HAVE_GETPT |
| 223 | 223 | ||
| 224 | /* Define to 1 if you have the `getrlimit' function. */ | ||
| 225 | #undef HAVE_GETRLIMIT | ||
| 226 | |||
| 224 | /* Define to 1 if you have the `getrusage' function. */ | 227 | /* Define to 1 if you have the `getrusage' function. */ |
| 225 | #undef HAVE_GETRUSAGE | 228 | #undef HAVE_GETRUSAGE |
| 226 | 229 | ||
| @@ -996,9 +999,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 996 | /* Turned on June 1996 supposing nobody will mind it. */ | 999 | /* Turned on June 1996 supposing nobody will mind it. */ |
| 997 | #define AMPERSAND_FULL_NAME | 1000 | #define AMPERSAND_FULL_NAME |
| 998 | 1001 | ||
| 999 | /* We have blockinput.h. */ | ||
| 1000 | #define DO_BLOCK_INPUT | ||
| 1001 | |||
| 1002 | /* Define HAVE_SOUND if we have sound support. We know it works | 1002 | /* Define HAVE_SOUND if we have sound support. We know it works |
| 1003 | and compiles only on the specified platforms. For others, | 1003 | and compiles only on the specified platforms. For others, |
| 1004 | it probably doesn't make sense to try. */ | 1004 | it probably doesn't make sense to try. */ |
diff --git a/src/sysdep.c b/src/sysdep.c index c2e52a07f1b..6e0107dfe3f 100644 --- a/src/sysdep.c +++ b/src/sysdep.c | |||
| @@ -1213,7 +1213,7 @@ int old_fcntl_owner[MAXDESC]; | |||
| 1213 | but if so, this does no harm, | 1213 | but if so, this does no harm, |
| 1214 | and using the same name avoids wasting the other one's space. */ | 1214 | and using the same name avoids wasting the other one's space. */ |
| 1215 | 1215 | ||
| 1216 | #if defined (USG) || defined (DGUX) | 1216 | #if defined (USG) |
| 1217 | unsigned char _sobuf[BUFSIZ+8]; | 1217 | unsigned char _sobuf[BUFSIZ+8]; |
| 1218 | #else | 1218 | #else |
| 1219 | char _sobuf[BUFSIZ]; | 1219 | char _sobuf[BUFSIZ]; |
| @@ -3273,11 +3273,10 @@ croak (badfunc) | |||
| 3273 | 3273 | ||
| 3274 | #include <dirent.h> | 3274 | #include <dirent.h> |
| 3275 | 3275 | ||
| 3276 | #if defined (BROKEN_CLOSEDIR) || !defined (HAVE_CLOSEDIR) | 3276 | #if !defined (HAVE_CLOSEDIR) |
| 3277 | 3277 | ||
| 3278 | int | 3278 | int |
| 3279 | closedir (dirp) | 3279 | closedir (DIR *dirp /* stream from opendir */) |
| 3280 | register DIR *dirp; /* stream from opendir */ | ||
| 3281 | { | 3280 | { |
| 3282 | int rtnval; | 3281 | int rtnval; |
| 3283 | 3282 | ||
| @@ -3293,7 +3292,7 @@ closedir (dirp) | |||
| 3293 | 3292 | ||
| 3294 | return rtnval; | 3293 | return rtnval; |
| 3295 | } | 3294 | } |
| 3296 | #endif /* BROKEN_CLOSEDIR or not HAVE_CLOSEDIR */ | 3295 | #endif /* not HAVE_CLOSEDIR */ |
| 3297 | #endif /* SYSV_SYSTEM_DIR */ | 3296 | #endif /* SYSV_SYSTEM_DIR */ |
| 3298 | 3297 | ||
| 3299 | #ifdef NONSYSTEM_DIR_LIBRARY | 3298 | #ifdef NONSYSTEM_DIR_LIBRARY |
diff --git a/src/systty.h b/src/systty.h index 580513a1080..98f6ad493e6 100644 --- a/src/systty.h +++ b/src/systty.h | |||
| @@ -174,42 +174,34 @@ static struct sensemode { | |||
| 174 | EMACS_SET_TTY_PGRP(int FD, int *PGID) sets the terminal FD's | 174 | EMACS_SET_TTY_PGRP(int FD, int *PGID) sets the terminal FD's |
| 175 | current process group to *PGID. Return -1 if there is an error. */ | 175 | current process group to *PGID. Return -1 if there is an error. */ |
| 176 | 176 | ||
| 177 | #ifdef HPUX | ||
| 178 | /* HPUX tty process group stuff doesn't work, says the anonymous voice | 177 | /* HPUX tty process group stuff doesn't work, says the anonymous voice |
| 179 | from the past. */ | 178 | from the past. */ |
| 180 | #else | 179 | #ifndef HPUX |
| 181 | #ifdef TIOCGPGRP | 180 | #ifdef TIOCGPGRP |
| 182 | #define EMACS_HAVE_TTY_PGRP | 181 | #define EMACS_HAVE_TTY_PGRP |
| 183 | #else | 182 | #else |
| 184 | #ifdef HAVE_TERMIOS | 183 | #ifdef HAVE_TERMIOS |
| 185 | #define EMACS_HAVE_TTY_PGRP | 184 | #define EMACS_HAVE_TTY_PGRP |
| 186 | #endif | 185 | #endif /* HAVE_TERMIOS */ |
| 187 | #endif | 186 | #endif /* TIOCGPGRP */ |
| 188 | #endif | 187 | #endif /* not HPUX */ |
| 189 | 188 | ||
| 190 | #ifdef EMACS_HAVE_TTY_PGRP | 189 | #ifdef EMACS_HAVE_TTY_PGRP |
| 191 | 190 | ||
| 192 | #if defined (HAVE_TERMIOS) && ! defined (BSD_TERMIOS) | ||
| 193 | |||
| 194 | #define EMACS_GET_TTY_PGRP(fd, pgid) (*(pgid) = tcgetpgrp ((fd))) | ||
| 195 | #define EMACS_SET_TTY_PGRP(fd, pgid) (tcsetpgrp ((fd), *(pgid))) | ||
| 196 | |||
| 197 | #else | ||
| 198 | #ifdef TIOCSPGRP | 191 | #ifdef TIOCSPGRP |
| 199 | 192 | ||
| 200 | #define EMACS_GET_TTY_PGRP(fd, pgid) (ioctl ((fd), TIOCGPGRP, (pgid))) | 193 | #define EMACS_GET_TTY_PGRP(fd, pgid) (ioctl ((fd), TIOCGPGRP, (pgid))) |
| 201 | #define EMACS_SET_TTY_PGRP(fd, pgid) (ioctl ((fd), TIOCSPGRP, (pgid))) | 194 | #define EMACS_SET_TTY_PGRP(fd, pgid) (ioctl ((fd), TIOCSPGRP, (pgid))) |
| 202 | 195 | ||
| 203 | #endif | 196 | #endif /* TIOCSPGRP */ |
| 204 | #endif | ||
| 205 | 197 | ||
| 206 | #else | 198 | #else /* not EMACS_SET_TTY_PGRP */ |
| 207 | 199 | ||
| 208 | /* Just ignore this for now and hope for the best */ | 200 | /* Just ignore this for now and hope for the best */ |
| 209 | #define EMACS_GET_TTY_PGRP(fd, pgid) 0 | 201 | #define EMACS_GET_TTY_PGRP(fd, pgid) 0 |
| 210 | #define EMACS_SET_TTY_PGRP(fd, pgif) 0 | 202 | #define EMACS_SET_TTY_PGRP(fd, pgif) 0 |
| 211 | 203 | ||
| 212 | #endif | 204 | #endif /* not EMACS_SET_TTY_PGRP */ |
| 213 | 205 | ||
| 214 | /* EMACS_GETPGRP (arg) returns the process group of the process. */ | 206 | /* EMACS_GETPGRP (arg) returns the process group of the process. */ |
| 215 | 207 | ||