[BACK]Return to tip.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / tip

Diff for /src/usr.bin/tip/Attic/tip.c between version 1.32 and 1.33

version 1.32, 2006/11/27 23:19:41 version 1.33, 2007/05/15 19:42:05
Line 62 
Line 62 
 int  int
 main(int argc, char *argv[])  main(int argc, char *argv[])
 {  {
         char *sys = NOSTR, sbuf[12], *p;          char *sys = NULL, sbuf[12], *p;
         int i;          int i;
   
         /* XXX preserve previous braindamaged behavior */          /* XXX preserve previous braindamaged behavior */
Line 112 
Line 112 
                 }                  }
         }          }
   
         if (sys == NOSTR)          if (sys == NULL)
                 goto notnumber;                  goto notnumber;
         if (isalpha(*sys))          if (isalpha(*sys))
                 goto notnumber;                  goto notnumber;
Line 165 
Line 165 
          * Kludge, their's no easy way to get the initialization           * Kludge, their's no easy way to get the initialization
          *   in the right order, so force it here           *   in the right order, so force it here
          */           */
         if ((PH = getenv("PHONES")) == NOSTR)          if ((PH = getenv("PHONES")) == NULL)
                 PH = _PATH_PHONES;                  PH = _PATH_PHONES;
         vinit();                                /* init variables */          vinit();                                /* init variables */
         setparity("none");                      /* set the parity table */          setparity("none");                      /* set the parity table */
Line 589 
Line 589 
         char *parity;          char *parity;
         extern const unsigned char evenpartab[];          extern const unsigned char evenpartab[];
   
         if (value(PARITY) == NOSTR)          if (value(PARITY) == NULL)
                 value(PARITY) = defparity;                  value(PARITY) = defparity;
         parity = value(PARITY);          parity = value(PARITY);
         if (equal(parity, "none")) {          if (equal(parity, "none")) {

Legend:
Removed from v.1.32  
changed lines
  Added in v.1.33