Subject: re: CVS commit: src/sys/uvm
To: None <he@netbsd.org>
From: matthew green <mrg@eterna.com.au>
List: source-changes
Date: 02/03/2004 13:08:54
Module Name: src
Committed By: he
Date: Mon Feb 2 23:13:44 UTC 2004
Modified Files:
src/sys/uvm: uvm_map.c
Log Message:
Since the playstation2 port still uses a variant of gcc 2.95.2,
change to use a zero-sized array instead of c99 flexible array
member in a struct.
OK'ed by yamt.
is this change by itself sufficient? C99 "foo bar[]" takes no
size in the structure, unlike traditional "foo bar[1]", so you
have to modify the allocator for the structure to "+1" for C99.
i didn't see this change? at least it should only be allocating
1 too many, not too few :-)
.mrg.