Hello Guillem, Guillem Jover <guillem@debian.org> wrote: > As being said on the list, explicitly checking for those on the source > is not usually the correct solution. I've taken a look at the xfe code But what is the correct solution? > now, and I see three portability checks. Thanks for looking! > For the tty ones in xvt/ttyinit.c the linux check is wrong, it should > check for __GLIBC__ (which is what was intended as can be read from But __GLIBC__ would be also true for GNU/kFreeBSD, but the existing device is not /dev/ptmx. So I must differentiate between GNU/Linux and GNU/kFreeBSD, isn't it? > Then there's the mount/unmount support, which seems to be truly Linux > specific. But I still I don't know how to change them for the right support on GNU/kFreeBSD and GNU/Hurd. I think I must speak with upstream. > And finally the package support, which should not be kernel dependent > at all (currently wrongly checks for Linux). This check should just be > removed and the functionality enabled at build or run time if dpkg or Where are the code about you speak here? I don't understand your idea and I don't know what I should change. Fondest regards, Joachim Wiedorn
Attachment:
signature.asc
Description: PGP signature