From 90874498a7a50b0afd2248dd2d6df787bb698802 Mon Sep 17 00:00:00 2001 From: Ed Schouten Date: Sun, 6 Dec 2009 01:27:28 +0000 Subject: Make pw(8) build without . The size of the username record in utmp files should not influence the maximum username length. Right now ut_user/ut_name is big enough, so in this case it's dead code anyway. --- pw/pw_user.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pw/pw_user.c b/pw/pw_user.c index 4c62fe8..c8364ca 100644 --- a/pw/pw_user.c +++ b/pw/pw_user.c @@ -41,16 +41,11 @@ static const char rcsid[] = #include #include #include -#include #include #include "pw.h" #include "bitmap.h" -#if (MAXLOGNAME-1) > UT_NAMESIZE -#define LOGNAMESIZE UT_NAMESIZE -#else #define LOGNAMESIZE (MAXLOGNAME-1) -#endif static char locked_str[] = "*LOCKED*"; -- cgit v1.2.3-56-ge451