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



> 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?

Well, what's wrong with doing the /dev/zero file mmap is available,
and anonymous if not?


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