[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#2278: MAP_FILE defined twice



>thanks for reporting this bug. I've noticed it myself when compiling
>electric fence. Since MAP_ANON and MAP_FILE are already defined in
>asm/mman.h which is part of the kernel package, I guess these defines
>can be removed from sys/mman.h.
>
>If you have 1.2.13 includes handy, would you please check if this
>assumption holds.

I only have 1.2.11 here, which doesn't seem to define MAP_FILE
anywhere.  I think we'd better stick with #ifdefs round them for a
while.

--
Richard Kettlewell richard@uk.geeks.org http://www.elmail.co.uk/staff/richard/


Reply to: