summaryrefslogtreecommitdiff
path: root/security/krb5-appl/files/patch-ay
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2010-04-26 03:54:16 +0000
committerCy Schubert <cy@FreeBSD.org>2010-04-26 03:54:16 +0000
commit983051572984595267bcd2236530e0c60cbb0ad7 (patch)
tree5bf2f1d3b795b1e1e535517a728fa1fdb207c1e6 /security/krb5-appl/files/patch-ay
parentWelcome the new krb5-1.8.1. Significant changes include the removal of (diff)
Welcome to krb5-appl-1.0. MIT split the Kerberos applications from the
base Kerberos distribution, creating krb5-appl.
Notes
Notes: svn path=/head/; revision=253265
Diffstat (limited to 'security/krb5-appl/files/patch-ay')
-rw-r--r--security/krb5-appl/files/patch-ay21
1 files changed, 10 insertions, 11 deletions
diff --git a/security/krb5-appl/files/patch-ay b/security/krb5-appl/files/patch-ay
index a2141724855b..262474d0b4a7 100644
--- a/security/krb5-appl/files/patch-ay
+++ b/security/krb5-appl/files/patch-ay
@@ -1,25 +1,24 @@
---- appl/libpty/getpty.c.orig Wed Jan 9 14:28:37 2002
-+++ appl/libpty/getpty.c Thu Jan 10 21:30:40 2002
-@@ -24,14 +24,27 @@
- #include "libpty.h"
+--- libpty/getpty.c.orig 2009-11-05 12:15:06.000000000 -0800
++++ libpty/getpty.c 2010-04-21 21:36:45.637180364 -0700
+@@ -23,13 +23,26 @@
#include "pty-int.h"
- #include "k5-platform.h"
+ #include <k5-platform.h>
+#ifdef __FreeBSD__
-+#define PTYCHARS1 "pqrsPQRS"
-+#define PTYCHARS2 "0123456789abcdefghijklmnopqrstuv"
++#define PTYCHARS1 "pqrsPQRS"
++#define PTYCHARS2 "0123456789abcdefghijklmnopqrstuv"
+#endif
+
+#ifndef PTYCHARS1
-+#define PTYCHARS1 "pqrstuvwxyzPQRST"
++#define PTYCHARS1 "pqrstuvwxyzPQRST"
+#endif
+
+#ifndef PTYCHARS2
-+#define PTYCHARS2 "0123456789abcdef"
++#define PTYCHARS2 "0123456789abcdef"
+#endif
+
long
- ptyint_getpty_ext(int *fd, char *slave, int slavelength, int do_grantpt)
+ ptyint_getpty_ext(int *fd, char *slave, size_t slavelength, int do_grantpt)
{
+ int ptynum;
+ char *cp1, *cp2;
@@ -30,7 +29,7 @@
struct stat stb;
char slavebuf[1024];
#endif
-@@ -115,14 +128,14 @@
+@@ -112,14 +125,14 @@
strncpy(slave, slavebuf, slavelength);
return 0;
} else {