]> granicus.if.org Git - sudo/commitdiff
Remove some already fixed XXXs
authorTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 1 Jan 2008 22:06:33 +0000 (22:06 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 1 Jan 2008 22:06:33 +0000 (22:06 +0000)
gettime.c
sudo.c

index e4d7c64bf6649177809d7a392c10f1a48d58e32b..f890676566d7be779691c78174231e75d8ff592e 100644 (file)
--- 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 7d6c37413d8ec42eb1fadda7b6593f5f3f87c2db..a6e2823fcb9b5a2a86ea031dab42d553c6c16c2c 100644 (file)
--- 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);