🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #2334

Changes to INN FAQ Part 1/3: General Information, how to compile, how to operate

#2334
From: Tom Limoncelli
Date: Wed, 05 Jan 1994 05:00
43 lines
2369 bytes
Posted-By: auto-faq 2.4
Archive-name: inn-faq/diff1

*** FAQ-inn.1-lastposted	Mon Dec 20 00:00:17 1993
--- FAQ-inn.1	Wed Jan  5 00:00:02 1994
***************
*** 1,4 ****
! Last Changed: $Id: FAQ-inn.1,v 1.48 1993/11/30 19:28:52 tal Exp $
  
                            Table Of Contents:
                            ------------------
--- 1,4 ----
! Last Changed: $Id: FAQ-inn.1,v 1.49 1993/12/27 17:12:46 tal Exp $
  
                            Table Of Contents:
                            ------------------
***************
*** 458,463 ****
--- 458,475 ----
  beginning of each file using gethostbyname():
  
  #define gethostbyname __switch_gethostbyname
+ 
+ Under Solaris 2.x (where x = 0, 1, 2 or 3) you need to change
+ the file "getfqdn.c".  Find the lines that read:
+ 
+ 	if (strchr(hp->h_name, '.') == NULL) {
+ 		/* Try to force DNS lookup if NIS/whatever gets in the way. */
+ 		(void)strncpy(temp, buff, sizeof buff);
+ 		(void)strcat(temp, ".");
+ 		hp = gethostbyname(temp);
+ 	}
+ 
+ and delete them.
  
  
  ------------------------------
-- 
Tom Limoncelli -- tal@warren.mentorg.com (work) -- tal@plts.org (play)
"Psst!  Hey, Anthony!  Y'know what I        | Disclaimer:  I do not
like about existing?"  "Uh... uh... what?"  | speak for Mentor Graphics.
"Possessing a physical extension."  -TSA    |
Technical Details
Message-ID: <inn-faq-changes-1-757746010@Warren.MENTORG.COM>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.answers.mbox.zip!gmd.de!xlink.net!howland.reston.ans.net!pipex!uunet!news.mentorg.com!sdl!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <inn-faq-changes-1-757746010@Warren.MENTORG.COM>
Subject: Changes to INN FAQ Part 1/3: General Information, how to compile, how to operate
Date: Wed, 05 Jan 1994 05:00:11 +0000
From: tal@Warren.MENTORG.COM (Tom Limoncelli)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.answers.mbox.zip!gmd.de!xlink.net!howland.reston.ans.net!pipex!uunet!news.mentorg.com!sdl!not-for-mail
Newsgroups: news.software.nntp,news.software.b,news.answers
Supersedes: <inn-faq-changes-1-756363605@Warren.MENTORG.COM>
Followup-To: news.software.nntp
Organization: Mentor Graphics - IC Group, Warren, NJ, USA
Lines: 42
Sender: tal@Warren.MENTORG.COM
Approved: news-answers-request@MIT.Edu
Distribution: world
Reply-To: Tom_Limoncelli@Warren.MENTORG.COM (Tom Limoncelli)
NNTP-Posting-Host: sdl.warren.mentorg.com