You (H.J. Lu) wrote: > Date: Tue, 26 Dec 1995 22:49:53 -0500 (EST) > From: "H.J. Lu" <[EMAIL PROTECTED]> > Subject: Re: Bug#2065: single user isn't > To: David Engel <[EMAIL PROTECTED]> > > > > Which brings up another question: in libc 5.2.18, struct utmp was changed. > > That may be my last emai for a while :-(. The change was made > in libc 5.2.10 and was documented in ChangeLog. Personally, > I think programs should use the interface provided in > <utmp.h> to access struct utmp, just like stdio. I am using > rxvt and it works just fine.
Okay, but init is a special case, that's why I asked. It does some more things with utmp, for example garbage cleanup. > The ut_id field in struct utmp was changed from 2 to 4 bytes. > Due to the padding, programs using the utmp interface do not > have any problems. I just checked, and sizeof(struct utmp) has indeed not changed. So there is no binary incompatibility. Sorry for the inconvinience, but I just thought I'd check first... init now supports 4 character ID fields, if compiled with libc5. There will be a release early next year... > H.J. -- Miquel van | Cistron Internet Services -- Alphen aan den Rijn. Smoorenburg, | mailto:[EMAIL PROTECTED] http://www.cistron.nl/ [EMAIL PROTECTED] | Tel: +31-172-419445 (Voice) 430979 (Fax) 442580 (Data)