tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: setsockopt() compat issue
On Mar 9, 7:02am, Manuel Bouyer wrote:
} On Thu, Oct 16, 2008 at 04:55:13PM -0500, Bryce Simonds wrote:
} > It should be noted that in the man page for setsockopt() and getsockopt()
} > the option value said to be an "int", and does not specify a particular size
} > of said int. If on the Alpha platform the default size of an "int" is
} > 64bits then (in my opinion) the functions should accept that platform's
} > default integer size. Any size of integer for this task should be fine for
} > that matter.
}
} No, on alpha sizeof(int) == 32. The issue here was that the application
} was using a void* and not a int (and so was 64bits and not 32).
Wow! An int that is 32 times the size of a char. Now, that's a
big int! :->
}-- End of excerpt from Manuel Bouyer
Home |
Main Index |
Thread Index |
Old Index