]> git.eshelyaron.com Git - emacs.git/commitdiff
Assume perror.
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 11 Jul 2012 05:57:03 +0000 (22:57 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 11 Jul 2012 05:57:03 +0000 (22:57 -0700)
admin/CPP-DEFINES
admin/ChangeLog
src/ChangeLog
src/s/hpux10-20.h
src/sysdep.c

index 49095d7e3fc61a5bcd9084bc9751033f3d6f36b1..f5522a77ccb4c7582638c0ad0b405ab11ce6bbe3 100644 (file)
@@ -134,7 +134,6 @@ HAVE_MENUS
 HAVE_MKDIR
 HAVE_MKTIME
 HAVE_MOUSE
-HAVE_PERROR
 HAVE_PSTAT_GETDYNAMIC
 HAVE_PWD_H
 HAVE_RANDOM
index 60e22eb733a7ba54b36f42e677c59645487aaa70..fd03be5bd8cb1aa136037c09beb810d2fea36458 100644 (file)
@@ -1,7 +1,7 @@
 2012-07-11  Paul Eggert  <eggert@cs.ucla.edu>
 
-       Assume strerror.
-       * CPP-DEFINES (HAVE_STRERROR, strerror): Remove.
+       Assume perror, strerror.
+       * CPP-DEFINES (HAVE_PERROR, HAVE_STRERROR, strerror): Remove.
 
 2012-07-10  Dmitry Antipov  <dmantipov@yandex.ru>
 
index d119915643d2f7feb35c63479cd42e078acb82da..749bc12328c945e2add6df83c73944fd16bfbb85 100644 (file)
@@ -1,5 +1,10 @@
 2012-07-11  Paul Eggert  <eggert@cs.ucla.edu>
 
+       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.
 
index 0e47ccee86f4ab0615304dd679c15d58b573ecbb..7d8222761b319ac51bd33d29b680ad6ba4b395a6 100644 (file)
@@ -43,9 +43,6 @@ along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */
 
 /* 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);
index 8a27e24c792bcad1db5817704c67aa982fa15b15..4bbe939dd74579663f6045004ff2831f5b5c9916 100644 (file)
@@ -2023,18 +2023,6 @@ rename (const char *from, const char *to)
 
 #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)
  */