From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <199604030622.XAA11547@koala.azstarnet.com> Date: Tue, 2 Apr 1996 23:22:54 -0700 From: David Mosberger-Tang Subject: Re: problem of protocol/talkd.h >>>>> On Tue, 2 Apr 1996 22:12:29 -0500 (EST), Erik Troan said: Erik> On Tue, 2 Apr 1996, David Mosberger-Tang wrote: >> I thought we had talk fixed and that there is an RPM of a working >> talk. According to the libc ChangeLog file, the header files got >> fixed on Feb 17. Have you tried newer versions of talk? Erik> I just saw a lot of "u_long" items in talk.h on Red Hat's Erik> latest libc. Too bad. Must have fallen through the cracks then. Here is a replay of that mail. I'm not a talk power user, but I know I tried talking to an x86 running Linux and that worked fine. --david ------- Start of forwarded message ------- Resent-Date: Sat, 17 Feb 1996 23:07:04 -0500 Date: Sat, 17 Feb 1996 21:06:41 -0700 From: David Mosberger-Tang To: axp-list@redhat.com, ewt@redhat.com In-reply-to: <199602180007.SAA32251@Bayou.UH.EDU> (yxc02740@Bayou.UH.EDU) Subject: Re: Talkd Resent-From: axp-list@redhat.com Reply-To: axp-list@redhat.com X-Mailing-List: archive/latest/322 X-Loop: axp-list@redhat.com Precedence: list Resent-Sender: axp-list-request@redhat.com X-URL: http://www.redhat.com >>>>> On Sat, 17 Feb 1996 18:07:15 -0600 (CST), (cosc1) 95h02740 said: >> I have RedHat AXP/Linux 2.1. My talk client dies with a memory >> violation of some kind when I try to use 'talk'. Is this a known >> problem? Is there a known fix? Noah> me too, don't know any fix yet, I think people still does not Noah> have time to fix it. For what it's worth, I just did: rpm --rebuild /cdrom/RedHat/SRPMS/NetKit-B-0.06-5.src.rpm and the resulting talk binary seems to work fine (notice that this is not the latest NetKit release by RedHat---I just happened to have this version on a CD-ROM and didn't feel like downloading 1.2MB of sources...). I would the newer release works too---probably something in the library fixed the segfault. But it won't work to other (non-Alpha) machines. Since just talking to yourself gets old after a while, I appended a patch that should fix this, too. >> Also, is this list archived? If so, where? Yes, try http://www.linux.ncm.com (or see the FAQ at http://www.azstarnet.com). --david --- --- usr/include/protocols/talkd.h~ Tue May 16 17:40:49 1995 +++ usr/include/protocols/talkd.h Sat Feb 17 20:23:51 1996 @@ -62,10 +62,10 @@ u_char type; /* request type, see below */ u_char answer; /* not used */ u_char pad; - u_long id_num; /* message id */ + u_int id_num; /* message id */ struct osockaddr addr; /* old (4.3) style */ struct osockaddr ctl_addr; /* old (4.3) style */ - long pid; /* caller's process id */ + int pid; /* caller's process id */ #define NAME_SIZE 12 char l_name[NAME_SIZE];/* caller's name */ char r_name[NAME_SIZE];/* callee's name */ @@ -81,7 +81,7 @@ u_char type; /* type of request message, see below */ u_char answer; /* respose to request message, see below */ u_char pad; - u_long id_num; /* message id */ + u_int id_num; /* message id */ struct osockaddr addr; /* address for establishing conversation */ } CTL_RESPONSE; --- usr/include/protocols/rwhod.h~ Tue May 16 17:40:49 1995 +++ usr/include/protocols/rwhod.h Sat Feb 17 20:24:16 1996 @@ -44,7 +44,7 @@ struct outmp { char out_line[8]; /* tty name */ char out_name[8]; /* user id */ - long out_time; /* time on */ + int out_time; /* time on */ }; struct whod { -- To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null ------- End of forwarded message -------