Am 12.04.10 18:30, schrieb Stephen Deasey:
> Actually this doesn't make any sense and shows how long it's been
> since I've touched any C.
>    

i haven't found any manpage where accepts results different errors than -1.

>> But, i got that sucker: In the following ioctl (and others
>> maybe as well) the "long" is wrong, since linux expects
>> there an int.  That's why we see the problem with 64bit
>> machines and on bsd!
>>      
> Well spotted.
>    
>> Does anyone know, how to figure out, on which platforms
>> the long is wanted? The majority seems to be "int".
>>      
>
> Not sure. Just go with int? How many people are running on MKS or Amiga?
>    
replaced 2 occurrences of the problem with int
and undid the first fix.

Best regards
-gustaf neumann


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/naviserver-devel

Reply via email to