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] |
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). Jakub
Attachment:
glibc-getservbyname.patch
Description: Text document
Attachment:
ypserv-servicesbyname.patch
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |