diff options
| author | Paul Eggert | 2012-07-10 22:57:03 -0700 |
|---|---|---|
| committer | Paul Eggert | 2012-07-10 22:57:03 -0700 |
| commit | b747d3f7535fe324b0ea21d53c4f84970335022a (patch) | |
| tree | d5514fb34a041266819b8e1f65b828b5a12d95a1 /src | |
| parent | 5ebbef1dc0d12fa5402c97e8aa8c0c85553b87ee (diff) | |
| download | emacs-b747d3f7535fe324b0ea21d53c4f84970335022a.tar.gz emacs-b747d3f7535fe324b0ea21d53c4f84970335022a.zip | |
Assume perror.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 5 | ||||
| -rw-r--r-- | src/s/hpux10-20.h | 3 | ||||
| -rw-r--r-- | src/sysdep.c | 12 |
3 files changed, 5 insertions, 15 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index d119915643d..749bc12328c 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,10 @@ | |||
| 1 | 2012-07-11 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2012-07-11 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | Assume perror. | ||
| 4 | * s/hpux10-20.h (HAVE_PERROR): Remove. | ||
| 5 | * sysdep.c (perror) [HPUX && !HAVE_PERROR]: | ||
| 6 | Remove dummy definition, as this problem was obsolete long ago. | ||
| 7 | |||
| 3 | Assume strerror. | 8 | Assume strerror. |
| 4 | * sysdep.c (strerror) [!HAVE_STRERROR && !WINDOWSNT]: Remove. | 9 | * sysdep.c (strerror) [!HAVE_STRERROR && !WINDOWSNT]: Remove. |
| 5 | 10 | ||
diff --git a/src/s/hpux10-20.h b/src/s/hpux10-20.h index 0e47ccee86f..7d8222761b3 100644 --- a/src/s/hpux10-20.h +++ b/src/s/hpux10-20.h | |||
| @@ -43,9 +43,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 43 | 43 | ||
| 44 | /* Special hacks needed to make Emacs run on this system. */ | 44 | /* Special hacks needed to make Emacs run on this system. */ |
| 45 | 45 | ||
| 46 | /* Some additional system facilities exist. */ | ||
| 47 | #define HAVE_PERROR /* Delete this line for version 6. */ | ||
| 48 | |||
| 49 | /* This is how to get the device name of the tty end of a pty. */ | 46 | /* This is how to get the device name of the tty end of a pty. */ |
| 50 | #define PTY_TTY_NAME_SPRINTF \ | 47 | #define PTY_TTY_NAME_SPRINTF \ |
| 51 | sprintf (pty_name, "/dev/pty/tty%c%x", c, i); | 48 | sprintf (pty_name, "/dev/pty/tty%c%x", c, i); |
diff --git a/src/sysdep.c b/src/sysdep.c index 8a27e24c792..4bbe939dd74 100644 --- a/src/sysdep.c +++ b/src/sysdep.c | |||
| @@ -2023,18 +2023,6 @@ rename (const char *from, const char *to) | |||
| 2023 | 2023 | ||
| 2024 | #endif | 2024 | #endif |
| 2025 | 2025 | ||
| 2026 | |||
| 2027 | #if defined (HPUX) && !defined (HAVE_PERROR) | ||
| 2028 | |||
| 2029 | /* HPUX curses library references perror, but as far as we know | ||
| 2030 | it won't be called. Anyway this definition will do for now. */ | ||
| 2031 | |||
| 2032 | void | ||
| 2033 | perror (void) | ||
| 2034 | { | ||
| 2035 | } | ||
| 2036 | #endif /* HPUX and not HAVE_PERROR */ | ||
| 2037 | |||
| 2038 | /* | 2026 | /* |
| 2039 | * This function will go away as soon as all the stubs fixed. (fnf) | 2027 | * This function will go away as soon as all the stubs fixed. (fnf) |
| 2040 | */ | 2028 | */ |