From: Gustaf N. <ne...@wu...> - 2010-04-13 10:59:53
|
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 |