From: H.Merijn Brand Date: Tue, 5 Jan 2010 08:36:19 +0000 (+0100) Subject: FD 4 is not (yet) open at this stage. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=d03b3b00ac22f32af87a752669a46d9d06ae1561;p=p5sagit%2Fp5-mst-13.2.git FD 4 is not (yet) open at this stage. Regenerated after backporting 88a6f4fc380d30c40 Please *do* remember to notify the metaconfig folk when directly patching Configure Bring back Missing parts --- diff --git a/Configure b/Configure index bc78997..ed29551 100755 --- a/Configure +++ b/Configure @@ -30,7 +30,7 @@ # $Id: Head.U 6 2006-08-25 22:21:46Z rmanfredi $ # -# Generated on Fri Nov 6 07:43:05 CET 2009 [metaconfig 3.5 PL0] +# Generated on Tue Jan 5 09:34:08 CET 2010 [metaconfig 3.5 PL0] # (with additional metaconfig patches by perlbug@perl.org) cat >c1$$ <&4 <&4 <&4 + val="$define" + ;; +*) + echo "Too bad... We won't be using prototyped varargs functions..." >&4 + val="$undef" + ;; +esac +set vaproto +eval $setvar + : determine compiler compiler case "$yacc" in '') @@ -23279,6 +23295,7 @@ uvsize='$uvsize' uvtype='$uvtype' uvuformat='$uvuformat' uvxformat='$uvxformat' +vaproto='$vaproto' vendorarch='$vendorarch' vendorarchexp='$vendorarchexp' vendorbin='$vendorbin' diff --git a/Porting/Glossary b/Porting/Glossary index 8a40c32..e43fa89 100644 --- a/Porting/Glossary +++ b/Porting/Glossary @@ -5096,6 +5096,11 @@ uvXUformat (perlxvf.U): This variable contains the format string used for printing a Perl UV as an unsigned hexadecimal integer in uppercase ABCDEF. +vaproto (vaproto.U): + This variable conditionally defines CAN_VAPROTO on systems supporting + prototype declaration of functions with a variable number of + arguments. See also prototype. + vendorarch (vendorarch.U): This variable contains the value of the PERL_VENDORARCH symbol. It may have a ~ on the front. diff --git a/config_h.SH b/config_h.SH index ff4c860..8392c60 100755 --- a/config_h.SH +++ b/config_h.SH @@ -894,6 +894,28 @@ sed <$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un */ #$i_vfork I_VFORK /**/ +/* CAN_VAPROTO: + * This variable is defined on systems supporting prototype declaration + * of functions with a variable number of arguments. + */ +/* _V: + * This macro is used to declare function parameters in prototypes for + * functions with a variable number of parameters. Use double parentheses. + * For example: + * + * int printf _V((char *fmt, ...)); + * + * Remember to use the plain simple _() macro when declaring a function + * with no variable number of arguments, since it might be possible to + * have a non-effect _V() macro and still get prototypes via _(). + */ +#$vaproto CAN_VAPROTO /**/ +#ifdef CAN_VAPROTO +#define _V(args) args +#else +#define _V(args) () +#endif + /* INTSIZE: * This symbol contains the value of sizeof(int) so that the C * preprocessor can make decisions based on it. diff --git a/handy.h b/handy.h index 848cc0e..63f7fd8 100644 --- a/handy.h +++ b/handy.h @@ -208,7 +208,7 @@ typedef U64TYPE U64; * GMTIME_MAX GMTIME_MIN LOCALTIME_MAX LOCALTIME_MIN * HAS_CTIME64 HAS_LOCALTIME64 HAS_GMTIME64 HAS_DIFFTIME64 * HAS_MKTIME64 HAS_ASCTIME64 HAS_GETADDRINFO HAS_GETNAMEINFO - * HAS_INETNTOP HAS_INETPTON + * HAS_INETNTOP HAS_INETPTON CHARBITS * Not (yet) used at top level, but mention them for metaconfig */