* updated knights (21.12.1 -> 21.12.2), untested
[t2-trunk.git] / package / mail / qmail / errno.patch
blob6b134aa1daa60dbe3eb0edaf7356dd0a3ac1843d
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../qmail/errno.patch
5 # Copyright (C) 2004 - 2005 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
14 # version.
15 # --- T2-COPYRIGHT-NOTE-END ---
16 --- ./error.h.orig 2004-05-04 23:33:15.000000000 -0400
17 +++ ./error.h 2004-05-04 23:33:28.000000000 -0400
18 @@ -1,7 +1,7 @@
19 #ifndef ERROR_H
20 #define ERROR_H
22 -extern int errno;
23 +#include <errno.h>
25 extern int error_intr;
26 extern int error_nomem;
27 --- ./dns.c.orig 2004-05-04 23:33:50.000000000 -0400
28 +++ ./dns.c 2004-05-04 23:34:03.000000000 -0400
29 @@ -7,8 +7,6 @@
30 #include <errno.h>
31 extern int res_query();
32 extern int res_search();
33 -extern int errno;
34 -extern int h_errno;
35 #include "ip.h"
36 #include "ipalloc.h"
37 #include "fmt.h"
38 --- ./cdb_seek.c.orig Mon Jun 15 06:53:16 1998
39 +++ ./cdb_seek.c Wed Jan 21 12:58:12 2004
40 @@ -1,6 +1,5 @@
41 #include <sys/types.h>
42 #include <errno.h>
43 -extern int errno;
44 #include "cdb.h"
46 #ifndef SEEK_SET
47 --- ./error.3.orig Mon Jun 15 06:53:16 1998
48 +++ ./error.3 Wed Jan 21 12:59:46 2004
49 @@ -3,8 +3,8 @@
50 error \- syscall error codes
51 .SH SYNTAX
52 .B #include <error.h>
54 -extern int \fBerrno\fP;
55 +.br
56 +.B #include <errno.h>
58 extern int \fBerror_intr\fP;
59 .br