Commit b062d1fe authored by Roland McGrath's avatar Roland McGrath
Browse files

Don't declare sys_nerr.

Don't declare sys_errlist unless #ifdef VMS.
Declare strerror instead.
(wait_reading_process_input): Call strerror instead of using sys_errlist.
parent a6609a36
/* Asynchronous subprocess control for GNU Emacs.
Copyright (C) 1985, 1986, 1987, 1988, 1993 Free Software Foundation, Inc.
Copyright (C) 1985, 86, 87, 88, 93, 94 Free Software Foundation, Inc.
This file is part of GNU Emacs.
......@@ -125,9 +125,11 @@ static Lisp_Object stream_process;
#include "syswait.h"
extern errno;
extern sys_nerr;
extern int errno;
extern char *strerror ();
#ifdef VMS
extern char *sys_errlist[];
#ifndef VMS
#ifndef BSD4_1
......@@ -1877,7 +1879,7 @@ wait_reading_process_input (time_limit, microsecs, read_kbd, do_display)
error("select error: %s", sys_errlist[xerrno]);
error("select error: %s", strerror (xerrno));
#if defined(sun) && !defined(USG5_4)
else if (nfds > 0 && FD_ISSET (keyboard_descriptor, &Available)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment