This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [libiberty patch]: Change strncmp test in the way it uses mmap


Ira Ruben <ira@apple.com> writes:

|> At 8:58 PM +0100 12/31/01, Andreas Schwab wrote:
|> 
|> >This should probable be MAP_ANONYMOUS instead of MAP_ANON since the
|> >conditional definition above prefers the former over the latter.
|> 
|> What is "this" in this case?

"this" refers to the line immediately above my quote.  On a system that
defines MAP_ANONYMOUS but not MAP_ANON this would not compile.  Previously
MAP_ANON were preferred over MAP_ANONYMOUS so that on such a system
MAP_ANON would be defined from MAP_ANONYMOUS.
.

Andreas.

-- 
Andreas Schwab                                  "And now for something
Andreas.Schwab@suse.de				completely different."
SuSE Labs, SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]