=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/make/buf.c,v retrieving revision 1.1 retrieving revision 1.2 diff -c -r1.1 -r1.2 *** src/usr.bin/make/buf.c 1995/10/18 08:45:41 1.1 --- src/usr.bin/make/buf.c 1996/04/21 23:43:17 1.2 *************** *** 1,4 **** ! /* $NetBSD: buf.c,v 1.6 1995/06/14 15:18:51 christos Exp $ */ /* * Copyright (c) 1988, 1989, 1990 The Regents of the University of California. --- 1,4 ---- ! /* $NetBSD: buf.c,v 1.7 1996/03/29 02:17:13 jtc Exp $ */ /* * Copyright (c) 1988, 1989, 1990 The Regents of the University of California. *************** *** 42,48 **** #if 0 static char sccsid[] = "@(#)buf.c 5.5 (Berkeley) 12/28/90"; #else ! static char rcsid[] = "$NetBSD: buf.c,v 1.6 1995/06/14 15:18:51 christos Exp $"; #endif #endif /* not lint */ --- 42,48 ---- #if 0 static char sccsid[] = "@(#)buf.c 5.5 (Berkeley) 12/28/90"; #else ! static char rcsid[] = "$NetBSD: buf.c,v 1.7 1996/03/29 02:17:13 jtc Exp $"; #endif #endif /* not lint */ *************** *** 69,75 **** #define BufExpand(bp,nb) \ if (bp->left < (nb)+1) {\ int newSize = (bp)->size + max((nb)+1,BUF_ADD_INC); \ ! Byte *newBuf = (Byte *) realloc((bp)->buffer, newSize); \ \ (bp)->inPtr = newBuf + ((bp)->inPtr - (bp)->buffer); \ (bp)->outPtr = newBuf + ((bp)->outPtr - (bp)->buffer);\ --- 69,75 ---- #define BufExpand(bp,nb) \ if (bp->left < (nb)+1) {\ int newSize = (bp)->size + max((nb)+1,BUF_ADD_INC); \ ! Byte *newBuf = (Byte *) erealloc((bp)->buffer, newSize); \ \ (bp)->inPtr = newBuf + ((bp)->inPtr - (bp)->buffer); \ (bp)->outPtr = newBuf + ((bp)->outPtr - (bp)->buffer);\