aboutsummaryrefslogtreecommitdiffstats
path: root/security/ssh/files/patch-af
blob: 1534ce2649fa5c7a1e2f2a2dd0f393add5875e4d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
*** pty.c.bak   Fri Oct  4 17:00:42 1996
--- pty.c   Tue Nov 12 03:00:54 1996
***************
*** 306,314 ****
--- 306,319 ----
  #else         /* not SCO UNIX */
    char buf[64];
    int i;
+ #ifdef __FreeBSD__
+   const char *ptymajors = "pqrsPQRS";
+   const char *ptyminors = "0123456789abcdefghijklmnopqrstuv";
+ #else
    const char *ptymajors = 
      "pqrstuvwxyzabcdefghijklmnoABCDEFGHIJKLMNOPQRSTUVWXYZ";
    const char *ptyminors = "0123456789abcdef";
+ #endif
    int num_minors = strlen(ptyminors);
    int num_ptys = strlen(ptymajors) * num_minors;