From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 662 invoked from network); 8 Sep 2000 07:28:54 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 8 Sep 2000 07:28:54 -0000 Received: (qmail 3939 invoked by alias); 8 Sep 2000 07:28:18 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 12778 Received: (qmail 3926 invoked from network); 8 Sep 2000 07:28:17 -0000 X-Envelope-Sender-Is: Andrej.Borsenkow@mow.siemens.ru (at relayer goliath.siemens.de) From: "Andrej Borsenkow" To: "ZSH workers mailing list" Subject: OT: RE: PATCH: test for network libraries (for test only)/problems with name resolution Date: Fri, 8 Sep 2000 11:28:11 +0400 Message-ID: <000301c01966$57b67db0$21c9ca95@mow.siemens.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <000001c0195a$b9945130$21c9ca95@mow.siemens.ru> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 > > Yes, I was almost sure gethostbyname2 would be a problem. As I > wrote before it > means, Solaris 7 headers or libraries are broken. On the second thought, they are not. The presence of declaration in headers does not mean declared object is actually present (it may be declared "for internal use only"); conversely, there are (normally) many undeclared functions in system libraries. Any package that wants to be on safe side must check both for object *and* its declaration. Downside is, of course, without object declaration you never know if your usage of it is correct :-) -andrej