Re: svn commit: r191898 - head/sys/compat/linux

2009-05-07 Thread Jamie Gritton
True. Int isn't really the proper type for the situation, but it's what the function uses, signed and too-short as it may be. I fall into this habit of thinking "lengths are size_t" when it's untrue in a lot of existing code. Juli Mallett wrote: Worth remembering: the difference is not just th

Re: svn commit: r191898 - head/sys/compat/linux

2009-05-07 Thread Juli Mallett
Worth remembering: the difference is not just that their sizes may (often do) differ. size_t is unsigned. ssize_t is signed. An unqualified int is signed. On Thu, May 7, 2009 at 12:46 PM, Jamie Gritton wrote: > Author: jamie > Date: Thu May  7 19:46:29 2009 > New Revision: 191898 > URL: http:/

svn commit: r191898 - head/sys/compat/linux

2009-05-07 Thread Jamie Gritton
Author: jamie Date: Thu May 7 19:46:29 2009 New Revision: 191898 URL: http://svn.freebsd.org/changeset/base/191898 Log: Give vfs_getopt the type it's expecting. Write 100 times: "32 bits is so twentieth century." Noticed by: dchagin Modified: head/sys/compat/linux/linux_mib.c Modif