Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Sep 97 17:43:53 -0700
From:      "Studded" <Studded@dal.net>
To:        "Jordan K. Hubbard" <jkh@time.cdrom.com>
Cc:        "freebsd-stable@FreeBSD.ORG" <freebsd-stable@FreeBSD.ORG>
Subject:   Re: >8 char usernames going into 2.2.5?
Message-ID:  <199709210044.RAA18858@mail.san.rr.com>

next in thread | raw e-mail | index | archive | help
On Sat, 20 Sep 1997 06:04:44 -0700, Jordan K. Hubbard wrote:

>Here, enjoy. :-)

	Errr.. ok,  but can I ask some questions first?  :)

>Index: sys/sys/param.h
>=========================================================
>RCS file: /home/ncvs/src/sys/sys/param.h,v

>-#define	MAXLOGNAME	12  /* max login name length */
>+#define	MAXLOGNAME	17  /* max login name length */

>Index: include/utmp.h
>=========================================================
>RCS file: /home/ncvs/src/include/utmp.h,v

>-#define UT_NAMESIZE 8 /* see MAXLOGNAME in <sys/param.h> */
>+#define UT_NAMESIZE 16 /* see MAXLOGNAME in <sys/param.h> */

	Ok, why is there a discrepancy here?  If you told me that the change 
was easy to make, and all I had to do was change the numbers in those two 
files, the first thing I'd do is ask myself why they were already different, then 
I'd make them both 16.  Obviously I'd be wrong, but can someone explain to 
a non-programmer why I want the value in param.h to be higher than the 
one in utmp.h?  

Thanks,

Doug

Do thou amend thy face,
	and I'll amend my life.
-Shakespeare, "Henry V"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709210044.RAA18858>