This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Remove spurious LINT: directives
[metaconfig.git] / U / threads / d_getpwuid_r.U
index 61a28ef..14282e1 100644 (file)
@@ -1,12 +1,12 @@
 ?RCS: $Id: d_getpwuid_r.U,v 0RCS:
-?RCS: Copyright (c) 2002 Jarkko Hietaniemi
+?RCS: Copyright (c) 2002,2003 Jarkko Hietaniemi
 ?RCS:
 ?RCS: You may distribute under the terms of either the GNU General Public
 ?RCS: License or the Artistic License, as specified in the README file.
 ?RCS:
 ?RCS: Generated by the reentr.pl from the Perl 5.8 distribution.
 ?RCS:
-?MAKE:d_getpwuid_r getpwuid_r_proto: Inlibc Protochk Hasproto i_systypes i_pwd usethreads
+?MAKE:d_getpwuid_r getpwuid_r_proto: Inlibc Protochk Hasproto i_systypes usethreads i_pwd
 ?MAKE: -pick add $@ %<
 ?S:d_getpwuid_r:
 ?S:    This variable conditionally defines the HAS_GETPWUID_R symbol,
@@ -15,6 +15,9 @@
 ?S:.
 ?S:getpwuid_r_proto:
 ?S:    This variable encodes the prototype of getpwuid_r.
+?S:    It is zero if d_getpwuid_r is undef, and one of the
+?S:    REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwuid_r
+?S:    is defined.
 ?S:.
 ?C:HAS_GETPWUID_R:
 ?C:    This symbol, if defined, indicates that the getpwuid_r routine
 ?C:.
 ?C:GETPWUID_R_PROTO:
 ?C:    This symbol encodes the prototype of getpwuid_r.
+?C:    It is zero if d_getpwuid_r is undef, and one of the
+?C:    REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwuid_r
+?C:    is defined.
 ?C:.
 ?H:#$d_getpwuid_r HAS_GETPWUID_R          /**/
 ?H:#define GETPWUID_R_PROTO $getpwuid_r_proto     /**/
 ?H:.
 ?T:try hdrs d_getpwuid_r_proto
-?LINT:set d_getpwuid_r
-?LINT:set getpwuid_r_proto
 : see if getpwuid_r exists
 set getpwuid_r d_getpwuid_r
 eval $inlibc
@@ -60,7 +64,7 @@ case "$d_getpwuid_r" in
        ./protochk "extern $try" $hdrs && getpwuid_r_proto=S_TSBI ;;
        esac
        case "$getpwuid_r_proto" in
-       '')     d_getpwuid_r=undef
+       ''|0)   d_getpwuid_r=undef
                getpwuid_r_proto=0
                echo "Disabling getpwuid_r, cannot determine prototype." >&4 ;;
        * )     case "$getpwuid_r_proto" in
@@ -73,6 +77,8 @@ case "$d_getpwuid_r" in
        *)      case "$usethreads" in
                define) echo "getpwuid_r has no prototype, not using it." >&4 ;;
                esac
+               d_getpwuid_r=undef
+               getpwuid_r_proto=0
                ;;
        esac
        ;;