2.2-CVS failing on Solaris 8
Jeremy Allison
jeremy at valinux.com
Thu Jun 21 20:22:25 GMT 2001
Michael Collin Nielsen wrote:
>
> Great :-) Thanks a lot Jeremy. Actually the Solaris man page on mmap
> claims:
>
> Upon successful completion, the mmap() function returns the
> address at which the mapping was placed (pa); otherwise, it
> returns a value of MAP_FAILED and sets errno to indicate the
> error. The symbol MAP_FAILED is defined in the header
> <sys/mman.h>. No successful return from mmap() will return
> the value MAP_FAILED.
>
> So the patch probably could be made more readable (for Andrew ;-)
Yeah, I fixed it to check for MAP_FAILED in the CVS.
And it's not neccessarily Andrew, I just know he was
the last to change that code (I just hope it wasn't
me that regressed the bug :-) :-) :-).
Jeremy.
--
--------------------------------------------------------
Buying an operating system without source is like buying
a self-assembly Space Shuttle with no instructions.
--------------------------------------------------------
More information about the samba-technical
mailing list