diff options
author | cvs2svn <cvs2svn@FreeBSD.org> | 1999-09-14 22:58:51 +0000 |
---|---|---|
committer | cvs2svn <cvs2svn@FreeBSD.org> | 1999-09-14 22:58:51 +0000 |
commit | 0d24ce472965b1af574ee8eab914346a50d93ab0 (patch) | |
tree | fc04ac961d5044a7d4ac36140741f144e02c3080 /security/krb5-17/files/patch-aj | |
parent | (forced commit) This is the official index file for 3.3-release. (diff) |
This commit was manufactured by cvs2svn to create tag 'RELEASE_3_3_0'.release/3.3.0
Diffstat (limited to 'security/krb5-17/files/patch-aj')
-rw-r--r-- | security/krb5-17/files/patch-aj | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/security/krb5-17/files/patch-aj b/security/krb5-17/files/patch-aj deleted file mode 100644 index 29e845803294..000000000000 --- a/security/krb5-17/files/patch-aj +++ /dev/null @@ -1,46 +0,0 @@ -*** 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 -*************** -*** 44,55 **** - #include <unistd.h> - #include <string.h> - -! #ifdef WTMP_FILE -! #define WTMPFILE WTMP_FILE - #endif - -! #ifndef WTMPFILE -! #define WTMPFILE "/usr/adm/wtmp" - #endif - - static int fd = -1; ---- 44,55 ---- - #include <unistd.h> - #include <string.h> - -! #if !defined(WTMP_FILE) && defined(_PATH_WTMP) -! #define WTMP_FILE _PATH_WTMP - #endif - -! #ifndef WTMP_FILE -! #define WTMP_FILE "/usr/adm/wtmp" - #endif - - static int fd = -1; -*************** -*** 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)); |