]> err.no Git - moreutils/commit
freebsd patch from Enrico Tassi
authorJoey Hess <joey@gnu.kitenet.net>
Tue, 9 Feb 2010 20:35:10 +0000 (15:35 -0500)
committerJoey Hess <joey@gnu.kitenet.net>
Tue, 9 Feb 2010 20:38:39 +0000 (15:38 -0500)
commitff93b6b5da3e3d404a659973fe898b9cfd3a8092
tree67b816f915ab65baef8e6c745668f22fbb921c95
parentad61b8762ecb666d386160df83031d34071e1031
freebsd patch from Enrico Tassi

  * ifdata:
    - Use unsigned long for ioctl command.
      On both Linux and FreeBSD ioctl expects an unsigned long command.
      FreeBSD kernel was complaining about the (by chance) signedness of
      the ioctl command (then probably ignored, since it worked both on
      Linux and FreeBSD).

        WARNING pid 799 (ifdata): ioctl sign-extension ioctl ffffffffc0206933

    - put #if defined(__linux__) around ioctls that are not supported by
      FreeBSD

    - Mention in the manpage that some options are Linux specific.
debian/changelog
ifdata.c
ifdata.docbook