Dear all, we have presently two implementations of logwtmp():
libinetutils/logwtmpko.c ftpd/logwtmp.c both building a "keep open" variant. Then there is a backing code libinetutils/logwtmp.c which is written to build either "keep open" or "standard". The latter possibility is never used (see "logwtmpko.c"!), and this fact is the sole cause that "uucpd" cannot be built on Solaris, since there logwtmp(3) is missing and "libinetutils.a" is only offering logwtmp_keep_open(). On BSD systems or GLibc systems this passes, since the supply logwtmp(3) natively. For the next iteration this code duplication and missuse should be reviewed. Observe also that "ftpd/logwtmp.c" implements logwtmp(), but ftpd itself is using logwtmp_keep_open() from "libinetutils.a"! The only other users of logwtmp() present in our code base are rlogind and uucpd, and of course the code internal to "libinetutils.a". Best regards, Mats
