Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
re: CVS commit: src/sys/uvm
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.
Home |
Main Index |
Thread Index |
Old Index