[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r109013: Assume perror.
From: |
Paul Eggert |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r109013: Assume perror. |
Date: |
Tue, 10 Jul 2012 22:57:03 -0700 |
User-agent: |
Bazaar (2.5.0) |
------------------------------------------------------------
revno: 109013
committer: Paul Eggert <address@hidden>
branch nick: trunk
timestamp: Tue 2012-07-10 22:57:03 -0700
message:
Assume perror.
modified:
admin/CPP-DEFINES
admin/ChangeLog
src/ChangeLog
src/s/hpux10-20.h
src/sysdep.c
=== modified file 'admin/CPP-DEFINES'
--- a/admin/CPP-DEFINES 2012-07-11 05:44:06 +0000
+++ b/admin/CPP-DEFINES 2012-07-11 05:57:03 +0000
@@ -134,7 +134,6 @@
HAVE_MKDIR
HAVE_MKTIME
HAVE_MOUSE
-HAVE_PERROR
HAVE_PSTAT_GETDYNAMIC
HAVE_PWD_H
HAVE_RANDOM
=== modified file 'admin/ChangeLog'
--- a/admin/ChangeLog 2012-07-11 05:44:06 +0000
+++ b/admin/ChangeLog 2012-07-11 05:57:03 +0000
@@ -1,7 +1,7 @@
2012-07-11 Paul Eggert <address@hidden>
- Assume strerror.
- * CPP-DEFINES (HAVE_STRERROR, strerror): Remove.
+ Assume perror, strerror.
+ * CPP-DEFINES (HAVE_PERROR, HAVE_STRERROR, strerror): Remove.
2012-07-10 Dmitry Antipov <address@hidden>
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog 2012-07-11 05:44:06 +0000
+++ b/src/ChangeLog 2012-07-11 05:57:03 +0000
@@ -1,5 +1,10 @@
2012-07-11 Paul Eggert <address@hidden>
+ Assume perror.
+ * s/hpux10-20.h (HAVE_PERROR): Remove.
+ * sysdep.c (perror) [HPUX && !HAVE_PERROR]:
+ Remove dummy definition, as this problem was obsolete long ago.
+
Assume strerror.
* sysdep.c (strerror) [!HAVE_STRERROR && !WINDOWSNT]: Remove.
=== modified file 'src/s/hpux10-20.h'
--- a/src/s/hpux10-20.h 2012-07-10 07:15:05 +0000
+++ b/src/s/hpux10-20.h 2012-07-11 05:57:03 +0000
@@ -43,9 +43,6 @@
/* Special hacks needed to make Emacs run on this system. */
-/* Some additional system facilities exist. */
-#define HAVE_PERROR /* Delete this line for version 6. */
-
/* This is how to get the device name of the tty end of a pty. */
#define PTY_TTY_NAME_SPRINTF \
sprintf (pty_name, "/dev/pty/tty%c%x", c, i);
=== modified file 'src/sysdep.c'
--- a/src/sysdep.c 2012-07-11 05:44:06 +0000
+++ b/src/sysdep.c 2012-07-11 05:57:03 +0000
@@ -2023,18 +2023,6 @@
#endif
-
-#if defined (HPUX) && !defined (HAVE_PERROR)
-
-/* HPUX curses library references perror, but as far as we know
- it won't be called. Anyway this definition will do for now. */
-
-void
-perror (void)
-{
-}
-#endif /* HPUX and not HAVE_PERROR */
-
/*
* This function will go away as soon as all the stubs fixed. (fnf)
*/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r109013: Assume perror.,
Paul Eggert <=