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

Diff for /src/usr.bin/make/str.c between version 1.2 and 1.3

version 1.2, 1995/11/01 17:16:32 version 1.3, 1996/04/21 23:43:26
Line 1 
Line 1 
 /*      $NetBSD: str.c,v 1.10.2.1 1995/10/30 22:55:14 jtc Exp $ */  /*      $NetBSD: str.c,v 1.12 1996/03/29 02:17:34 jtc Exp $     */
   
 /*-  /*-
  * Copyright (c) 1988, 1989, 1990 The Regents of the University of California.   * Copyright (c) 1988, 1989, 1990 The Regents of the University of California.
Line 42 
Line 42 
 #if 0  #if 0
 static char     sccsid[] = "@(#)str.c   5.8 (Berkeley) 6/1/90";  static char     sccsid[] = "@(#)str.c   5.8 (Berkeley) 6/1/90";
 #else  #else
 static char rcsid[] = "$NetBSD: str.c,v 1.10.2.1 1995/10/30 22:55:14 jtc Exp $";  static char rcsid[] = "$NetBSD: str.c,v 1.12 1996/03/29 02:17:34 jtc Exp $";
 #endif  #endif
 #endif                          /* not lint */  #endif                          /* not lint */
   
Line 206 
Line 206 
                         *t++ = '\0';                          *t++ = '\0';
                         if (argc == argmax) {                          if (argc == argmax) {
                                 argmax *= 2;            /* ramp up fast */                                  argmax *= 2;            /* ramp up fast */
                                 if (!(argv = (char **)realloc(argv,                                  argv = (char **)erealloc(argv,
                                     (argmax + 1) * sizeof(char *))))                                      (argmax + 1) * sizeof(char *));
                                 enomem();  
                         }                          }
                         argv[argc++] = start;                          argv[argc++] = start;
                         start = (char *)NULL;                          start = (char *)NULL;

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3