extern int errno;
extern int sys_nerr;
-/*extern char* sys_errlist[];*/
extern int udr_errno;
extern char* getenv();
if (soc_con[cnt].dfe_sd == -1)
{
sprintf(dfe_errmsg, "DFE-ipc ERROR, socket() call failed %s ",
- sys_errlist[errno]);
+ strerror (errno));
dfe_errno = UDIErrorUnknownError;
goto tip_failure;
}
if (pos == 0)
{
sprintf(dfe_errmsg, "DFE-ipc ERROR, connect() call failed: %s",
- sys_errlist[errno]);
+ strerror (errno));
dfe_errno = UDIErrorCantConnect;
goto tip_failure;
}
sizeof(soc_con[cnt].tip_sockaddr_in)))
{
sprintf(dfe_errmsg, "DFE-ipc ERROR, connect() call failed %s ",
- sys_errlist[errno]);
+ strerror (errno));
dfe_errno = UDIErrorCantConnect;
goto tip_failure;
}
+Wed Nov 18 15:03:17 1998 Andrew Cagney <cagney@chook.cygnus.com>
+
+ * 29k-share/udi/udip2soc.c (UDIConnect): Replace sys_errlist with
+ strerror.
+
Mon Nov 16 14:17:05 1998 Geoffrey Noer <noer@cygnus.com>
* defs.h: if compiling under Cygwin, define __CYGWIN__ if