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

Diff for /src/usr.bin/chpass/Attic/pw_yp.c between version 1.11 and 1.12

version 1.11, 1999/09/29 02:40:28 version 1.12, 1999/12/15 21:31:42
Line 259 
Line 259 
                 free(__yplin);                  free(__yplin);
         if (!(__yplin = (char *)malloc(vallen + 1)))          if (!(__yplin = (char *)malloc(vallen + 1)))
                 err(1, NULL);                  err(1, NULL);
         strcpy(__yplin, val);          strcpy(__yplin, val);   /* ok */
         free(val);          free(val);
   
         return(interpret(&pwent, __yplin));          return(interpret(&pwent, __yplin));
Line 295 
Line 295 
                 free(__yplin);                  free(__yplin);
         if (!(__yplin = (char *)malloc(vallen + 1)))          if (!(__yplin = (char *)malloc(vallen + 1)))
                 err(1, NULL);                  err(1, NULL);
         strcpy(__yplin, val);          strcpy(__yplin, val);   /* ok */
         free(val);          free(val);
   
         return(interpret(&pwent, __yplin));          return(interpret(&pwent, __yplin));

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12