Print this page
12306 XPG4v2 slave pty behaviour should generally be disabled
Reviewed by: Robert Mustacchi <rm@fingolfin.org>
Change-ID: I7ccd399c22866f34dd20c6bb9d28e77ba4e24c67

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/ed/ed.c
          +++ new/usr/src/cmd/ed/ed.c
↓ open down ↓ 153 lines elided ↑ open up ↑
 154  154  /* size of substitution replacement pattern buffer */
 155  155  #define RHSIZE  (LINE_MAX*2)
 156  156  
 157  157  #define KSIZE   8
 158  158  
 159  159  #define READ    0
 160  160  #define WRITE   1
 161  161  
 162  162  extern  char    *optarg;        /* Value of argument */
 163  163  extern  int     optind;         /* Indicator of argument */
 164      -extern  int __xpg4;     /* defined in xpg4.c; 0 if not xpg4-compiled program */
 165  164  
 166  165  struct  Fspec   {
 167  166          char    Ftabs[22];
 168  167          char    Fdel;
 169  168          unsigned char   Flim;
 170  169          char    Fmov;
 171  170          char    Ffill;
 172  171  };
 173  172  static struct  Fspec   fss;
 174  173  
↓ open down ↓ 3024 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX