You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

60 lines
1.7 KiB

# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../qmail/errno.diff
# Copyright (C) 2013 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- SDE-COPYRIGHT-NOTE-END ---
--- ./error.h.orig 2004-05-04 23:33:15.000000000 -0400
+++ ./error.h 2004-05-04 23:33:28.000000000 -0400
@@ -1,7 +1,7 @@
#ifndef ERROR_H
#define ERROR_H
-extern int errno;
+#include <errno.h>
extern int error_intr;
extern int error_nomem;
--- ./dns.c.orig 2004-05-04 23:33:50.000000000 -0400
+++ ./dns.c 2004-05-04 23:34:03.000000000 -0400
@@ -7,8 +7,6 @@
#include <errno.h>
extern int res_query();
extern int res_search();
-extern int errno;
-extern int h_errno;
#include "ip.h"
#include "ipalloc.h"
#include "fmt.h"
--- ./cdb_seek.c.orig Mon Jun 15 06:53:16 1998
+++ ./cdb_seek.c Wed Jan 21 12:58:12 2004
@@ -1,6 +1,5 @@
#include <sys/types.h>
#include <errno.h>
-extern int errno;
#include "cdb.h"
#ifndef SEEK_SET
--- ./error.3.orig Mon Jun 15 06:53:16 1998
+++ ./error.3 Wed Jan 21 12:59:46 2004
@@ -3,8 +3,8 @@
error \- syscall error codes
.SH SYNTAX
.B #include <error.h>
-
-extern int \fBerrno\fP;
+.br
+.B #include <errno.h>
extern int \fBerror_intr\fP;
.br