Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
b747d3f7
Commit
b747d3f7
authored
Jul 10, 2012
by
Paul Eggert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Assume perror.
parent
5ebbef1d
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
18 deletions
+7
-18
admin/CPP-DEFINES
admin/CPP-DEFINES
+0
-1
admin/ChangeLog
admin/ChangeLog
+2
-2
src/ChangeLog
src/ChangeLog
+5
-0
src/s/hpux10-20.h
src/s/hpux10-20.h
+0
-3
src/sysdep.c
src/sysdep.c
+0
-12
No files found.
admin/CPP-DEFINES
View file @
b747d3f7
...
...
@@ -134,7 +134,6 @@ HAVE_MENUS
HAVE_MKDIR
HAVE_MKTIME
HAVE_MOUSE
HAVE_PERROR
HAVE_PSTAT_GETDYNAMIC
HAVE_PWD_H
HAVE_RANDOM
...
...
admin/ChangeLog
View file @
b747d3f7
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>
...
...
src/ChangeLog
View file @
b747d3f7
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.
...
...
src/s/hpux10-20.h
View file @
b747d3f7
...
...
@@ -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);
...
...
src/sysdep.c
View file @
b747d3f7
...
...
@@ -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)
*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment