=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/make/str.c,v retrieving revision 1.2 retrieving revision 1.3 diff -c -r1.2 -r1.3 *** src/usr.bin/make/str.c 1995/11/01 17:16:32 1.2 --- src/usr.bin/make/str.c 1996/04/21 23:43:26 1.3 *************** *** 1,4 **** ! /* $NetBSD: str.c,v 1.10.2.1 1995/10/30 22:55:14 jtc Exp $ */ /*- * Copyright (c) 1988, 1989, 1990 The Regents of the University of California. --- 1,4 ---- ! /* $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. *************** *** 42,48 **** #if 0 static char sccsid[] = "@(#)str.c 5.8 (Berkeley) 6/1/90"; #else ! static char rcsid[] = "$NetBSD: str.c,v 1.10.2.1 1995/10/30 22:55:14 jtc Exp $"; #endif #endif /* not lint */ --- 42,48 ---- #if 0 static char sccsid[] = "@(#)str.c 5.8 (Berkeley) 6/1/90"; #else ! static char rcsid[] = "$NetBSD: str.c,v 1.12 1996/03/29 02:17:34 jtc Exp $"; #endif #endif /* not lint */ *************** *** 206,214 **** *t++ = '\0'; if (argc == argmax) { argmax *= 2; /* ramp up fast */ ! if (!(argv = (char **)realloc(argv, ! (argmax + 1) * sizeof(char *)))) ! enomem(); } argv[argc++] = start; start = (char *)NULL; --- 206,213 ---- *t++ = '\0'; if (argc == argmax) { argmax *= 2; /* ramp up fast */ ! argv = (char **)erealloc(argv, ! (argmax + 1) * sizeof(char *)); } argv[argc++] = start; start = (char *)NULL;