Date: Mon, 22 Sep 1997 19:52:37 -0400 From: Drew Derbyshire <ahd@kew.com> To: "Jordan K. Hubbard" <jkh@time.cdrom.com> Cc: "John T. Farmer" <jfarmer@sabre.goldsword.com>, tom@uniserve.com, freebsd-stable@FreeBSD.ORG, jfarmer@goldsword.com, Studded@dal.net Subject: Re: >8 char usernames going into 2.2.5? Message-ID: <342704C5.A242A097@kew.com> References: <27009.874760684@time.cdrom.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Jordan K. Hubbard wrote: > Here, enjoy. :-) Okay, to further my enjoyment, two silly questions ... > diff -u -r1.15.2.2 param.h > --- param.h 1996/12/15 09:54:28 1.15.2.2 > +++ param.h 1997/09/20 13:04:06 > @@ -65,7 +65,7 @@ > -#define MAXLOGNAME 12 /* max login name length */ > +#define MAXLOGNAME 17 /* max login name length */ Why was this 12 and not 9? > diff -u -r1.2 utmp.h > --- utmp.h 1996/10/27 18:13:35 1.2 > +++ utmp.h 1997/09/20 13:03:42 > @@ -46,7 +46,7 @@ > #define _PATH_WTMP "/var/log/wtmp" > #define _PATH_LASTLOG "/var/log/lastlog" > > -#define UT_NAMESIZE 8 /* see MAXLOGNAME in <sys/param.h> */ > +#define UT_NAMESIZE 16 /* see MAXLOGNAME in <sys/param.h> */ Ummm, why isn't utmp.h using MAXLOGNAME+1 as a reasonable default? Morals require not including param.h? -- Internet: ahd@kew.com Voice: 781-279-9812 "Is a dream a lie if it don't come true, or is it something worse?" - Bruce Springsteen
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?342704C5.A242A097>