summaryrefslogtreecommitdiff
path: root/security/krb5-beta/files/patch-aj
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2002-11-05 06:51:29 +0000
committerCy Schubert <cy@FreeBSD.org>2002-11-05 06:51:29 +0000
commit1bd37a7c065c3d761ce089bd3c90289124760470 (patch)
treef97957ef564db05fa234651306b4980b8ad21345 /security/krb5-beta/files/patch-aj
parentOops...forgot to add this file in previous change. (diff)
New MIT Kerberos V beta, version 1.2.7-beta1.
Diffstat (limited to 'security/krb5-beta/files/patch-aj')
-rw-r--r--security/krb5-beta/files/patch-aj19
1 files changed, 19 insertions, 0 deletions
diff --git a/security/krb5-beta/files/patch-aj b/security/krb5-beta/files/patch-aj
new file mode 100644
index 000000000000..c3bb8dfd6960
--- /dev/null
+++ b/security/krb5-beta/files/patch-aj
@@ -0,0 +1,19 @@
+*** appl/gssftp/ftpd/logwtmp.c.ORIG Fri Feb 6 19:41:25 1998
+--- appl/gssftp/ftpd/logwtmp.c Tue Jun 30 19:46:01 1998
+***************
+*** 66,72 ****
+ struct stat buf;
+ time_t time();
+
+! if (fd < 0 && (fd = open(WTMPFILE, O_WRONLY|O_APPEND, 0)) < 0)
+ return;
+ if (fstat(fd, &buf) == 0) {
+ (void)strncpy(ut.ut_line, line, sizeof(ut.ut_line));
+--- 66,72 ----
+ struct stat buf;
+ time_t time();
+
+! if (fd < 0 && (fd = open(WTMP_FILE, O_WRONLY|O_APPEND, 0)) < 0)
+ return;
+ if (fstat(fd, &buf) == 0) {
+ (void)strncpy(ut.ut_line, line, sizeof(ut.ut_line));