Bruno Haible <[EMAIL PROTECTED]> writes: > Ben Pfaff wrote: >> Solaris has gethostname in libnsl, > > Solaris >= 2.5.1 also has it in libc. Since Solaris 2.4 is not worth > supporting > today any more, the current gethostname module is right in *not* testing for > -lnsl.
You are right, of course. I missed seeing that in the "show-portability" output, even though it was right there. I think that part of the reason was that the output is grouped by library. When I adjust the sorting to be by OS, it is easier for me to see that: libc aix-4.3.2 libc aix-5.1.0 libnet beos libc cygwin libc cygwin libc freebsd-5.2.1 libc freebsd-6.0 libc glibc-2.3.6 libc hpux-11.00 libc hpux-11.11 libc interix-3.5 libc irix-6.5 libc macosx-10.3 libc netbsd-3.0 libc openbsd-3.8 libc osf1-4.0d libc osf1-5.1a libc pips libc solaris-2.10 libnsl solaris-2.10 libnsl solaris-2.4 libc solaris-2.5.1 libnsl solaris-2.5.1 libc solaris-2.6 libnsl solaris-2.6 libc solaris-2.7 libnsl solaris-2.7 libc solaris-2.8 libnsl solaris-2.8 libc solaris-2.9 libnsl solaris-2.9 MISSING in mingw nsk-G06 --- tmp/various-symlists/show-portability 2008-01-13 12:51:54.000000000 -0800 +++ various-symlists/show-portability 2008-08-12 19:46:40.000000000 -0700 @@ -79,7 +79,7 @@ -e 's,^libroot beos$,libc beos,' grep '^'"$symbol"'$' $d/* >/dev/null || echo $os 1>&3 done \ - | sed -e 's,^\(....................\) *,\1,' | sort -k1,80 + | sed -e 's,^\(....................\) *,\1,' | sort -b -k 2,2 -k 1,1 } 3> .missing missing=`cat .missing` rm -f .missing -- I love deadlines. I love the whooshing noise they make as they go by. --Douglas Adams