From: Todd C. Miller Date: Tue, 1 Jan 2008 22:06:33 +0000 (+0000) Subject: Remove some already fixed XXXs X-Git-Tag: SUDO_1_7_0~270 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5a6ad03e5900c590432e36f4fd8e111caded5fa3;p=sudo Remove some already fixed XXXs --- diff --git a/gettime.c b/gettime.c index e4d7c64bf..f89067656 100644 --- a/gettime.c +++ b/gettime.c @@ -35,7 +35,6 @@ __unused static const char rcsid[] = "$Sudo$"; /* * Get the current time via gettimeofday() for systems with * timespecs in struct stat or, otherwise, using time(). - * XXX - configure check for gettimeofday() - XXX */ int gettime(ts) diff --git a/sudo.c b/sudo.c index 7d6c37413..a6e2823fc 100644 --- a/sudo.c +++ b/sudo.c @@ -1159,7 +1159,6 @@ set_loginclass(pw) errflags = NO_MAIL|MSG_ONLY|NO_EXIT; if (login_class && strcmp(login_class, "-") != 0) { - /* XXX - def_runas user may change after sudoers parse */ if (user_uid != 0 && strcmp(runas_user ? runas_user : def_runas_default, "root") != 0) errorx(1, "only root can use -c %s", login_class);