DJBTools patch集


目次

qmail-1.03.qmail_local.patch

diff -u qmail-1.03.old/qmail-local.c qmail-1.03/qmail-local.c
--- qmail-1.03.old/qmail-local.c	1998-06-15 05:52:55.000000000 -0500
+++ qmail-1.03/qmail-local.c	2003-01-09 14:22:48.000000000 -0600
@@ -645,7 +645,7 @@
     {
      cmds.s[j] = 0;
      k = j;
-     while ((k > i) && (cmds.s[k - 1] == ' ') || (cmds.s[k - 1] == '\t'))
+     while ((k > i) && ((cmds.s[k - 1] == ' ') || (cmds.s[k - 1] == '\t')))
        cmds.s[--k] = 0;
      switch(cmds.s[i])
       {

qmail-1.03.errno.patch

diff -u qmail-1.03.old/cdb_seek.c qmail-1.03/cdb_seek.c
--- qmail-1.03.old/cdb_seek.c	1998-06-15 05:52:55.000000000 -0500
+++ qmail-1.03/cdb_seek.c	2003-01-08 15:55:53.000000000 -0600
@@ -1,6 +1,5 @@
 #include <sys/types.h>
 #include <errno.h>
-extern int errno;
 #include "cdb.h"
 
 #ifndef SEEK_SET
diff -u qmail-1.03.old/dns.c qmail-1.03/dns.c
--- qmail-1.03.old/dns.c	1998-06-15 05:52:55.000000000 -0500
+++ qmail-1.03/dns.c	2003-01-08 16:00:32.000000000 -0600
@@ -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"
diff -u qmail-1.03.old/error.3 qmail-1.03/error.3
--- qmail-1.03.old/error.3	1998-06-15 05:52:55.000000000 -0500
+++ qmail-1.03/error.3	2003-01-08 15:58:13.000000000 -0600
@@ -3,8 +3,7 @@
 error \- syscall error codes
 .SH SYNTAX
 .B #include <error.h>
-
-extern int \fBerrno\fP;
+.B #include <errno.h>
 
 extern int \fBerror_intr\fP;
 .br
diff -u qmail-1.03.old/error.h qmail-1.03/error.h
--- qmail-1.03.old/error.h	1998-06-15 05:52:55.000000000 -0500
+++ qmail-1.03/error.h	2003-01-08 15:59:13.000000000 -0600
@@ -1,7 +1,7 @@
 #ifndef ERROR_H
 #define ERROR_H
 
-extern int errno;
+#include <errno.h>
 
 extern int error_intr;
 extern int error_nomem;

daemontools-0.76.errno.patch

diff -ur daemontools-0.76.old/src/error.h daemontools-0.76/src/error.h
--- daemontools-0.76.old/src/error.h	2001-07-12 11:49:49.000000000 -0500
+++ daemontools-0.76/src/error.h	2003-01-09 21:52:01.000000000 -0600
@@ -3,7 +3,7 @@
 #ifndef ERROR_H
 #define ERROR_H
 
-extern int errno;
+#include <errno.h>
 
 extern int error_intr;
 extern int error_nomem;

ucspi-tcp-0.88.errno.patch

diff -u ucspi-tcp-0.88.old/error.h ucspi-tcp-0.88/error.h
--- ucspi-tcp-0.88.old/error.h	2000-03-18 09:18:20.000000000 -0600
+++ ucspi-tcp-0.88/error.h	2003-01-08 13:39:12.000000000 -0600
@@ -1,7 +1,7 @@
 #ifndef ERROR_H
 #define ERROR_H
 
-extern int errno;
+#include <errno.h>
 
 extern int error_intr;
 extern int error_nomem;

djbdns-1.05.errno.patch

diff -u djbdns-1.05.old/error.h djbdns-1.05/error.h
--- djbdns-1.05.old/error.h	2001-02-11 15:11:23.000000000 -0600
+++ djbdns-1.05/error.h	2003-01-08 16:08:42.000000000 -0600
@@ -1,7 +1,7 @@
 #ifndef ERROR_H
 #define ERROR_H
 
-extern int errno;
+#include <errno.h>
 
 extern int error_intr;
 extern int error_nomem;

checkpassword-0.90.errno.patch

diff -u checkpassword-0.90.old/error.h checkpassword-0.90/error.h
--- checkpassword-0.90.old/error.h	2000-12-23 00:40:46.000000000 -0600
+++ checkpassword-0.90/error.h	2003-01-14 00:49:57.000000000 -0600
@@ -1,7 +1,7 @@
 #ifndef ERROR_H
 #define ERROR_H
 
-extern int errno;
+#include <errno.h>
 
 extern int error_intr;
 extern int error_nomem;

トップ   編集 凍結解除 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2017-01-01 (日) 16:58:05 (1050d)