From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3790 invoked by alias); 1 Apr 2004 09:16:59 -0000 Mailing-List: contact libc-hacker-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sources.redhat.com Received: (qmail 3691 invoked from network); 1 Apr 2004 09:16:56 -0000 Received: from unknown (HELO Cantor.suse.de) (195.135.220.2) by sources.redhat.com with SMTP; 1 Apr 2004 09:16:56 -0000 Received: from hermes.suse.de (Hermes.suse.de [195.135.221.8]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by Cantor.suse.de (Postfix) with ESMTP id D2B4C3C166F; Thu, 1 Apr 2004 11:16:09 +0200 (CEST) Date: Thu, 01 Apr 2004 09:16:00 -0000 From: Thorsten Kukuk To: Jakub Jelinek Cc: Glibc hackers Subject: Re: [PATCH] Do getservbyname{,_r} with NULL protocol differently Message-ID: <20040401091609.GA11805@suse.de> References: <20040401062422.GF514@sunsite.ms.mff.cuni.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040401062422.GF514@sunsite.ms.mff.cuni.cz> User-Agent: Mutt/1.4i Organization: SuSE Linux AG, Nuernberg, Germany X-SW-Source: 2004-04/txt/msg00004.txt.bz2 On Thu, Apr 01, Jakub Jelinek wrote: > Hi! > > It seems at least some Solaris ypserv's put records with name (without > /proto) as keys into services.byservicename map, which is obviously better > than trying /tcp, /udp and fallback. Fallback is still needed, as aliases > are not put into the database without /proto (and for Linux ypserv > which doesn't put them in). > Attached is a glibc patch plus ypserv patch to make Linux ypserv behave like > Solaris (and fix a bug in it which would trim any digits from protocol's > name). Thanks, I applied this to ypserv. Thorsten -- Thorsten Kukuk http://www.suse.de/~kukuk/ kukuk@suse.de SuSE Linux AG Maxfeldstr. 5 D-90409 Nuernberg -------------------------------------------------------------------- Key fingerprint = A368 676B 5E1B 3E46 CFCE 2D97 F8FD 4E23 56C6 FB4B