built by non-root user
* commands.c: cosmetic cleanup
* config.c: (security/paranoia) check permissions on citadel.config
+ * configure.in: check for ncurses if we can't find curses
+ * dynloader.c: warning fix
+ * sysdep.c: don't complain if initgroups() fails
Sun Mar 21 14:21:47 EST 1999 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
* messages.c: cosmetic cleanups to message reading loop
save_LIBS=$LIBS
AC_CHECK_LIB(termcap, tgetent, [LIBS="$LIBS -ltermcap"
CURSES=-ltermcap])
-AC_CHECK_LIB(curses, initscr, CURSES="-lcurses $CURSES")
+AC_CHECK_LIB(curses, initscr, CURSES="-lcurses $CURSES", [
+ AC_CHECK_LIB(ncurses, initscr, CURSES="-lncurses")])
LIBS=$save_LIBS
dnl Check for libpthread(s) if we're not using Digital UNIX. (On which the
void DLoader_Init(char *pathname)
{
void *fcn_handle;
- char *dl_error;
+ const char *dl_error;
DIR *dir;
struct dirent *dptr;
struct DLModule_Info* (*h_init_fcn)(void);
"Group IDs will be incorrect.\n", BBSUID,
strerror(errno));
else {
- if (initgroups(pw->pw_name, pw->pw_gid))
- lprintf(3, "initgroups(): %s\n",
- strerror(errno));
+ initgroups(pw->pw_name, pw->pw_gid);
if (setgid(pw->pw_gid))
lprintf(3, "setgid(%d): %s\n", pw->pw_gid,
strerror(errno));