This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Do getservbyname{,_r} with NULL protocol differently


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]