Nasty bug.

SIZE_TYPE documentation:
	The string must exactly match one of the data types defined in
	the function `init_decl_processing in the file c-decl.c.

Otherwise, first invocation of newly-built cc1 will result in a core-dump.
This commit is contained in:
espie 1999-01-21 16:39:26 +00:00
parent a197ce64d4
commit c4609584ef
2 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/* $OpenBSD: openbsd.h,v 1.3 1999/01/18 10:23:25 espie Exp $ */
/* $OpenBSD: openbsd.h,v 1.4 1999/01/21 16:39:26 espie Exp $ */
/* vi:ts=8:
*/
@ -19,7 +19,7 @@
* ------------------------------------ */
/* this must agree with <machine/ansi.h> */
#undef SIZE_TYPE
#define SIZE_TYPE "unsigned long"
#define SIZE_TYPE "long unsigned int"
#undef PTRDIFF_TYPE
#define PTRDIFF_TYPE "long"

View File

@ -1,4 +1,4 @@
/* $OpenBSD: openbsd.h,v 1.3 1999/01/18 10:23:25 espie Exp $ */
/* $OpenBSD: openbsd.h,v 1.4 1999/01/21 16:39:26 espie Exp $ */
/* vi:ts=8:
*/
@ -19,7 +19,7 @@
* ------------------------------------ */
/* this must agree with <machine/ansi.h> */
#undef SIZE_TYPE
#define SIZE_TYPE "unsigned long"
#define SIZE_TYPE "long unsigned int"
#undef PTRDIFF_TYPE
#define PTRDIFF_TYPE "long"