=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/make/Attic/config.h,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- src/usr.bin/make/Attic/config.h 2001/05/03 13:41:03 1.10 +++ src/usr.bin/make/Attic/config.h 2001/05/23 12:34:41 1.11 @@ -1,5 +1,8 @@ +#ifndef CONFIG_H +#define CONFIG_H + /* $OpenPackages$ */ -/* $OpenBSD: config.h,v 1.10 2001/05/03 13:41:03 espie Exp $ */ +/* $OpenBSD: config.h,v 1.11 2001/05/23 12:34:41 espie Exp $ */ /* $NetBSD: config.h,v 1.7 1996/11/06 17:59:03 christos Exp $ */ /* @@ -143,3 +146,16 @@ #define FEATURE_CONDINCLUDE 256 #define FEATURE_ASSIGN 512 #define FEATURE_EXECMOD 1024 + +/* + * There are several places where expandable buffers are used (parse.c and + * var.c). This constant is merely the starting point for those buffers. If + * lines tend to be much shorter than this, it would be best to reduce BSIZE. + * If longer, it should be increased. Reducing it will cause more copying to + * be done for longer lines, but will save space for shorter ones. In any + * case, it ought to be a power of two simply because most storage allocation + * schemes allocate in powers of two. + */ +#define MAKE_BSIZE 256 /* starting size for expandable buffers */ + +#endif