Change 15286 by jhi@alpha on 2002/03/18 13:39:20
More prototypes blindness in Solaris.
(TODO: readdir64_r really needs to be seen.)
Affected files ...
.... //depot/perl/hints/solaris_2.sh#76 edit
Differences ...
==== //depot/perl/hints/solaris_2.sh#76 (text) ====
Index: perl/hints/solaris_2.sh
--- perl/hints/solaris_2.sh.~1~ Mon Mar 18 06:45:05 2002
+++ perl/hints/solaris_2.sh Mon Mar 18 06:45:05 2002
@@ -394,7 +394,8 @@
# These prototypes should be visible since we using
# -D_REENTRANT, but that does not seem to work.
- # It does seem to work for getnetbyaddr_r, weirdly enough.
+ # It does seem to work for getnetbyaddr_r, weirdly enough,
+ # and other _r functions. (Solaris 8)
d_ctermid_r_proto="$define"
d_gethostbyaddr_r_proto="$define"
@@ -405,6 +406,10 @@
d_getservbyname_r_proto="$define"
d_getservbyport_r_proto="$define"
+ # Ditto. (Solaris 7)
+ d_readdir_r_proto="$define"
+ d_readdir64_r_proto="$define"
+
;;
esac
EOCBU
End of Patch.