blob: cf1cff6ffedfbe91f5c5a0c0498f982daa1a9f7b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
$NetBSD: patch-ab,v 1.4 1998/08/07 11:09:47 agc Exp $
--- pine/abookcpy.c.orig Sun Jul 19 00:20:02 1998
+++ pine/abookcpy.c Sun Jul 19 00:22:20 1998
@@ -48,6 +48,7 @@
void trim_addrbook_data PROTO((MAILSTREAM *, int));
void write_fake_headers PROTO((char *, char *, char *));
char *err_desc PROTO((int));
+#define err_desc(err) strerror(err)
int noshow_error = 0;
@@ -411,20 +412,6 @@
rfc822_header(where, fake_env, fake_body);
mail_free_envelope(&fake_env);
mail_free_body(&fake_body);
-}
-
-
-extern char *sys_errlist[];
-
-char *
-err_desc(err)
- int err;
-{
- static char buffer[50];
-
- strcpy(buffer, sys_errlist[err]);
-
- return((char *)buffer);
}
|