FreeBSD Port: sysutils/userinfo

2011-01-09 Thread Ben Kibbey
/modules/login.h b/src/modules/login.h index 55bd5bb..2a20765 100644 --- a/src/modules/login.h +++ b/src/modules/login.h @@ -59,6 +59,7 @@ #endif typedef struct utmpx UTMP; #else +#include utmp.h typedef struct utmp UTMP; #endif -- Ben Kibbey [XMPP: bjk AT thiessen DOT org] - [IRC: (bjk

Re: FreeBSD Port: sysutils/userinfo

2011-01-09 Thread Ben Kibbey
)); ... } }}} It won't protect you from overrunning 'line', because the last argument of that strncat specifies how many bytes from _buf_ we want to copy at most. You will likely want to read the Thanks for the input. I'll fix those soon! -- Ben Kibbey [XMPP: bjk AT thiessen