More on utmpx and friends

Hal Murray hmurray at megapathdsl.net
Tue Feb 9 09:55:51 UTC 2016


On my fedora box, grep finds updwtmpx in /usr/include/utmpx.h
but config.h says:
  /* #undef HAVE_UPDWTMPX */

Looking deeper, it's inside an
  #ifdef __USE_GNU

------

That routing gets used in libntp/systime.c, there is about 10 lines of code.  
Looks like it writes a couple of records to the file.  It looks redundant to 
me.  Is there a reason we are preserving that code?


-- 
These are my opinions.  I hate spam.





More information about the devel mailing list