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


At 2:26 PM -0500 12/31/01, DJ Delorie wrote:

>Would it be possible to have the test try both mmap calls if possible,
>and use whichever works?

What's wrong with the change I did?  Yes, both kinds of mmap's could be done.  But what's wrong with doing the anonymous mmap if that is available and the "/dev/zero" file mmap if not.  Why do both?

Ira


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