[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#652907: xterm: no UTMP/WTMP update with kfreebsd-amd64



onsdag den 21 december 2011 klockan 16:57 skrev Thomas Dickey detta:
> On Wed, Dec 21, 2011 at 10:36:13PM +0100, Mats Erik Andersson wrote:
> > Not yet, still trying to understand the failure, since the use
> > of libutempter only dawned on me when rebuilding Xterm locally.
> 
> the first thing to check is whether main.o uses the symbols from
> utempter.  These are used in the configure check:
> 	addToUtmp("/dev/tty", 0, 1);
> 	removeFromUtmp();
> > 
> > However, I am amongst other things suspicious of the checking
> > against "/dev/" and whether "/dev/pts/5" with Linux versus
> > "/dev/ttyp6" with kFreeBSD could have a bearing here.
> > 
> > It was easier for me to grasp Xvt in my recent NMU, where
> > libutempter is not making a mess of things, as it obviously
> > is with Xterm!
> 
> actually, the checks for setuid/setgid behavior are a more promising
> place to look for a lost ifdef - looking at the ones in main.c for
> "USE_UTEMPTER":

/* build/xtermcfg.h
 *
 * on kgreebsd-amd64
 */

#define USE_SYSV_UTMP 1
#define USE_UTEMPTER  1

Thus libutempter is intended in the build.



Reply to: