From: garrett@sba70.berkeley.edu (Garrett D'Amore) Subject: Re: [Q - HELP] mini-inews headaches Date: 23 Apr 1993 01:07:20 GMT
Well... It appears that I have fixed the posting problem. (If you
are seeing this then it has been successfully posted from my linux
box. :)
The problem was a call to "gethostname" being made by uname.c in the
inews directory. I'm not exactly sure what was going on, but I believe
that the calls to gethostname and gethostbyname were circular in
nature, causing infinite recursion on my system. This was a BAD (tm)
THING.
The solution: I commented out the calls to both gethost's and replaced
them with "strcpy (a_string,"my_unqualified_host_name")"
Is this problem a bug in the libraries? Is it solved by using the
versions of the stuff in the /usr/include/bsd directory? Ideas?
====================================================================
Garrett D'Amore | garrett@haas.berkeley.edu
Software Co-Ordinator | 68 Barrows Hall, UC Berkeley
Haas Computing Services | Ph: 510-643-5923 Fax: 642-4769
====================================================================