Follow-up Comment #1, bug #45345 (project screen): The relevant code (replacing getlogin()) is behind a BUGGYGETLOGIN. Is this macro nowadays still relevant? acconfig.h says about this macro:
/* * If ttyslot() breaks getlogin() by returning indexes to utmp entries * of type DEAD_PROCESS, then our getlogin() replacement should be * selected by defining BUGGYGETLOGIN. */ In contrast, we have in configure.in: oldlibs="$LIBS" LIBS="$LIBS -lelf" AC_CHECKING(SVR4) AC_TRY_LINK([#include <utmpx.h> ],, [AC_CHECK_HEADER(dwarf.h, AC_DEFINE(SVR4) AC_DEFINE(BUGGYGETLOGIN), [AC_CHECK_HEADER(elf.h, AC_DEFINE(SVR4) AC_DEFINE(BUGGYGETLOGIN))])] ,LIBS="$oldlibs") So whether getlogin() will be replaced depends on whether libelf is installed... _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?45345> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/