summaryrefslogtreecommitdiffstats
path: root/ftp/yale-tftpd
diff options
context:
space:
mode:
authorpst <pst@FreeBSD.org>1994-12-05 09:44:56 +0000
committerpst <pst@FreeBSD.org>1994-12-05 09:44:56 +0000
commitd5d120647c5bae0d032f7a7c2a29b2114b3e4e73 (patch)
tree9e5844370f5b0890cb0852068ba86a82015edcb0 /ftp/yale-tftpd
parent601a24b495133aad5e637b35b5301393d60601fb (diff)
downloadFreeBSD-ports-d5d120647c5bae0d032f7a7c2a29b2114b3e4e73.zip
FreeBSD-ports-d5d120647c5bae0d032f7a7c2a29b2114b3e4e73.tar.gz
Remove unnecessary patches
Diffstat (limited to 'ftp/yale-tftpd')
-rw-r--r--ftp/yale-tftpd/files/patch-aa85
1 files changed, 0 insertions, 85 deletions
diff --git a/ftp/yale-tftpd/files/patch-aa b/ftp/yale-tftpd/files/patch-aa
index 8df2cba1..ee4abf3 100644
--- a/ftp/yale-tftpd/files/patch-aa
+++ b/ftp/yale-tftpd/files/patch-aa
@@ -36,57 +36,6 @@
+ @echo not installing library
+
.include <bsd.lib.mk>
-*** tftpd.c Tue Oct 4 22:20:49 1994
---- tftpd.c Thu Oct 27 14:36:32 1994
-***************
-*** 500,509 ****
- /* Rules 6&7:
- */
- if (stat(filename, &stbuf) < 0) {
-- extern char* sys_errlist[];
- if (tftpDebugLevel > 1)
- syslog(LOG_DEBUG, "stat '%s' fails: %s",
-! filename, sys_errlist[errno]);
- return (errno == ENOENT ? ENOTFOUND : EACCESS);
- }
-
---- 500,508 ----
- /* Rules 6&7:
- */
- if (stat(filename, &stbuf) < 0) {
- if (tftpDebugLevel > 1)
- syslog(LOG_DEBUG, "stat '%s' fails: %s",
-! filename, strerror(errno));
- return (errno == ENOENT ? ENOTFOUND : EACCESS);
- }
-
-***************
-*** 763,774 ****
- syslog(LOG_ERR, "nak: %m\n");
- }
-
- /* Here if you need it */
- char* strerror(n)
- int n;
- {
-! extern char* sys_errlist[];
-! extern int errno, sys_nerr;
-!
- return n > sys_nerr ? "unknown error" : sys_errlist[n];
- }
---- 762,773 ----
- syslog(LOG_ERR, "nak: %m\n");
- }
-
-+ #ifndef HAVE_STRERROR
- /* Here if you need it */
- char* strerror(n)
- int n;
- {
-! extern int sys_nerr;
- return n > sys_nerr ? "unknown error" : sys_errlist[n];
- }
-+ #endif
*** tftpyale.c Tue Oct 4 22:20:49 1994
--- tftpyale.c Thu Oct 27 14:37:03 1994
***************
@@ -140,37 +89,3 @@
else
tftpRootDirectory = newString(cargv[1]);
}
-*** tftpyale.h Tue Oct 4 22:18:20 1994
---- tftpyale.h Thu Oct 27 14:38:14 1994
-***************
-*** 22,33 ****
- #ifdef __STDC__
- extern int errno;
- extern void* malloc(unsigned);
-- extern char* sys_errlist[];
- extern char* strchr(const char*, int);
- #else
- extern int errno;
- extern char* malloc();
-- extern char* sys_errlist[];
- extern char* index();
- # define strchar(S,C) index(S,C)
- #endif
---- 22,38 ----
- #ifdef __STDC__
- extern int errno;
- extern void* malloc(unsigned);
- extern char* strchr(const char*, int);
-+ # ifndef HAVE_STRERROR
-+ extern char* strerror(int);
-+ # endif
- #else
- extern int errno;
- extern char* malloc();
- extern char* index();
-+ # ifndef HAVE_STRERROR
-+ extern char* strerror();
-+ # endif
- # define strchar(S,C) index(S,C)
- #endif
-+
OpenPOWER on IntegriCloud