summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/perl/plan9
diff options
context:
space:
mode:
authorafresh1 <afresh1@openbsd.org>2019-02-13 21:15:00 +0000
committerafresh1 <afresh1@openbsd.org>2019-02-13 21:15:00 +0000
commit9f11ffb7133c203312a01e4b986886bc88c7d74b (patch)
tree6618511204c614b20256e4ef9dea39a7b311d638 /gnu/usr.bin/perl/plan9
parentImport perl-5.28.1 (diff)
downloadwireguard-openbsd-9f11ffb7133c203312a01e4b986886bc88c7d74b.tar.xz
wireguard-openbsd-9f11ffb7133c203312a01e4b986886bc88c7d74b.zip
Fix merge issues, remove excess files - match perl-5.28.1 dist
looking good sthen@, Great! bluhm@
Diffstat (limited to 'gnu/usr.bin/perl/plan9')
-rw-r--r--gnu/usr.bin/perl/plan9/config.plan9226
-rw-r--r--gnu/usr.bin/perl/plan9/config_h.sample222
-rw-r--r--gnu/usr.bin/perl/plan9/config_sh.sample113
-rw-r--r--gnu/usr.bin/perl/plan9/genconfig.pl10
-rw-r--r--gnu/usr.bin/perl/plan9/plan9ish.h2
5 files changed, 72 insertions, 501 deletions
diff --git a/gnu/usr.bin/perl/plan9/config.plan9 b/gnu/usr.bin/perl/plan9/config.plan9
index 0518c582bc9..8c3f0ff48cc 100644
--- a/gnu/usr.bin/perl/plan9/config.plan9
+++ b/gnu/usr.bin/perl/plan9/config.plan9
@@ -92,24 +92,6 @@
#define __attribute__(_arg_)
#endif
-/* HAS_BCMP:
- * This symbol is defined if the bcmp() routine is available to
- * compare blocks of memory.
- */
-#define HAS_BCMP /**/
-
-/* HAS_BCOPY:
- * This symbol is defined if the bcopy() routine is available to
- * copy blocks of memory.
- */
-#define HAS_BCOPY /**/
-
-/* HAS_BZERO:
- * This symbol is defined if the bzero() routine is available to
- * set a memory block to 0.
- */
-#define HAS_BZERO /**/
-
/* HAS_CHOWN:
* This symbol, if defined, indicates that the chown routine is
* available.
@@ -145,14 +127,6 @@
*/
#define HAS_CUSERID /**/
-/* HAS_DBL_DIG:
- * This symbol, if defined, indicates that this system's <float.h>
- * or <limits.h> defines the symbol DBL_DIG, which is the number
- * of significant digits in a double precision number. If this
- * symbol is not defined, a guess of 15 is usually pretty good.
- */
-#define HAS_DBL_DIG /* */
-
/* HAS_DIFFTIME:
* This symbol, if defined, indicates that the difftime routine is
* available.
@@ -319,32 +293,6 @@
*/
#define HAS_MBTOWC /**/
-/* HAS_MEMCMP:
- * This symbol, if defined, indicates that the memcmp routine is available
- * to compare blocks of memory.
- */
-#define HAS_MEMCMP /**/
-
-/* HAS_MEMCPY:
- * This symbol, if defined, indicates that the memcpy routine is available
- * to copy blocks of memory.
- */
-#define HAS_MEMCPY /**/
-
-/* HAS_MEMMOVE:
- * This symbol, if defined, indicates that the memmove routine is available
- * to copy potentially overlapping blocks of memory. This should be used
- * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your
- * own version.
- */
-#define HAS_MEMMOVE /**/
-
-/* HAS_MEMSET:
- * This symbol, if defined, indicates that the memset routine is available
- * to set blocks of memory.
- */
-#define HAS_MEMSET /**/
-
/* HAS_MKDIR:
* This symbol, if defined, indicates that the mkdir routine is available
* to create directories. Otherwise you should fork off a new process to
@@ -555,31 +503,12 @@
*/
#define HAS_SETSID /**/
-/* HAS_STRCHR:
- * This symbol is defined to indicate that the strchr()/strrchr()
- * functions are available for string searching. If not, try the
- * index()/rindex() pair.
- */
-/* HAS_INDEX:
- * This symbol is defined to indicate that the index()/rindex()
- * functions are available for string searching.
- */
-#define HAS_STRCHR /**/
-/*#define HAS_INDEX / **/
-
/* HAS_STRCOLL:
* This symbol, if defined, indicates that the strcoll routine is
* available to compare strings using collating information.
*/
#define HAS_STRCOLL /**/
-/* USE_STRUCT_COPY:
- * This symbol, if defined, indicates that this C compiler knows how
- * to copy structures. If undefined, you'll need to use a block copy
- * routine of some sort instead.
- */
-#define USE_STRUCT_COPY /**/
-
/* HAS_STRTOD:
* This symbol, if defined, indicates that the strtod routine is
* available to provide better numeric string conversion than atof().
@@ -658,15 +587,6 @@
*/
/*#define HAS_USLEEP / **/
-/* HASVOLATILE:
- * This symbol, if defined, indicates that this C compiler knows about
- * the volatile declaration.
- */
-#define HASVOLATILE /**/
-#ifndef HASVOLATILE
-#define volatile /* config-skip */
-#endif
-
/* HAS_WAIT4:
* This symbol, if defined, indicates that wait4() exists.
*/
@@ -738,38 +658,12 @@
*/
#define I_FCNTL /**/
-/* I_FLOAT:
- * This symbol, if defined, indicates to the C program that it should
- * include <float.h> to get definition of symbols like DBL_MAX or
- * DBL_MIN, i.e. machine dependent floating point values.
- */
-#define I_FLOAT /**/
-
-/* I_LIMITS:
- * This symbol, if defined, indicates to the C program that it should
- * include <limits.h> to get definition of symbols like WORD_BIT or
- * LONG_MAX, i.e. machine dependant limitations.
- */
-#define I_LIMITS /**/
-
/* I_LOCALE:
* This symbol, if defined, indicates to the C program that it should
* include <locale.h>.
*/
#define I_LOCALE /**/
-/* I_MATH:
- * This symbol, if defined, indicates to the C program that it should
- * include <math.h>.
- */
-#define I_MATH /**/
-
-/* I_MEMORY:
- * This symbol, if defined, indicates to the C program that it should
- * include <memory.h>.
- */
-/*#define I_MEMORY / **/
-
/* I_NET_ERRNO:
* This symbol, if defined, indicates that <net/errno.h> exists and
* should be included.
@@ -782,24 +676,6 @@
*/
#define I_NETINET_IN /* config-skip */
-/* I_STDDEF:
- * This symbol, if defined, indicates that <stddef.h> exists and should
- * be included.
- */
-#define I_STDDEF /**/
-
-/* I_STDLIB:
- * This symbol, if defined, indicates that <stdlib.h> exists and should
- * be included.
- */
-#define I_STDLIB /**/
-
-/* I_STRING:
- * This symbol, if defined, indicates to the C program that it should
- * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
- */
-#define I_STRING /**/
-
/* I_SYS_DIR:
* This symbol, if defined, indicates to the C program that it should
* include <sys/dir.h>.
@@ -910,14 +786,6 @@
*/
#define I_UTIME /**/
-/* I_VALUES:
- * This symbol, if defined, indicates to the C program that it should
- * include <values.h> to get definition of symbols like MINFLOAT or
- * MAXLONG, i.e. machine dependant limitations. Probably, you
- * should use <limits.h> instead, if it is available.
- */
-/*#define I_VALUES / **/
-
/* I_VFORK:
* This symbol, if defined, indicates to the C program that it should
* include vfork.h.
@@ -2012,12 +1880,6 @@
*/
/*#define HAS_MADVISE / **/
-/* HAS_MEMCHR:
- * This symbol, if defined, indicates that the memchr routine is available
- * to locate characters within a C string.
- */
-#define HAS_MEMCHR /**/
-
/* HAS_MKDTEMP:
* This symbol, if defined, indicates that the mkdtemp routine is
* available to exclusively create a uniquely named temporary directory.
@@ -2154,29 +2016,6 @@
*/
/*#define HAS_RECVMSG / **/
-/* HAS_SAFE_BCOPY:
- * This symbol, if defined, indicates that the bcopy routine is available
- * to copy potentially overlapping memory blocks. Normally, you should
- * probably use memmove() or memcpy(). If neither is defined, roll your
- * own version.
- */
-/*#define HAS_SAFE_BCOPY / **/
-
-/* HAS_SAFE_MEMCPY:
- * This symbol, if defined, indicates that the memcpy routine is available
- * to copy potentially overlapping memory blocks. If you need to
- * copy overlapping memory blocks, you should check HAS_MEMMOVE and
- * use memmove() instead, if available.
- */
-/*#define HAS_SAFE_MEMCPY / **/
-
-/* HAS_SANE_MEMCMP:
- * This symbol, if defined, indicates that the memcmp routine is available
- * and can be used to compare relative magnitudes of chars with their high
- * bits set. If it is not defined, roll your own version.
- */
-#define HAS_SANE_MEMCMP /**/
-
/* HAS_SBRK_PROTO:
* This symbol, if defined, indicates that the system provides
* a prototype for the sbrk() function. Otherwise, it is up
@@ -2518,24 +2357,12 @@
#define FILE_bufsiz(fp) ((fp)->_cnt + (fp)->_ptr - (fp)->_base)
#endif
-/* HAS_STRERROR:
- * This symbol, if defined, indicates that the strerror routine is
- * available to translate error numbers to strings. See the writeup
- * of Strerror() in this file before you try to define your own.
- */
/* HAS_SYS_ERRLIST:
* This symbol, if defined, indicates that the sys_errlist array is
* available to translate error numbers to strings. The extern int
* sys_nerr gives the size of that table.
*/
-/* Strerror:
- * This preprocessor symbol is defined as a macro if strerror() is
- * not available to translate error numbers to strings but sys_errlist[]
- * array is there.
- */
-#define HAS_STRERROR /**/
#define HAS_SYS_ERRLIST /**/
-#define Strerror(e) strerror(e)
/* HAS_STRERROR_R:
* This symbol, if defined, indicates that the strerror_r routine
@@ -2679,20 +2506,6 @@
*/
#define Signal_t void /* Signal handler's return type */
-/* HAS_VPRINTF:
- * This symbol, if defined, indicates that the vprintf routine is available
- * to printf with a pointer to an argument list. If unavailable, you
- * may need to write your own, probably in terms of _doprnt().
- */
-/* USE_CHAR_VSPRINTF:
- * This symbol is defined if this system has vsprintf() returning type
- * (char*). The trend seems to be to declare it as "int vsprintf()". It
- * is up to the package author to declare vsprintf correctly based on the
- * symbol.
- */
-#define HAS_VPRINTF /**/
-#define USE_CHAR_VSPRINTF /**/
-
/* HAS_WRITEV:
* This symbol, if defined, indicates that the writev routine is
* available to do scatter writes.
@@ -3329,8 +3142,8 @@
* This symbol contains the ~name expanded version of PRIVLIB, to be used
* in programs that are not prepared to deal with ~ expansion at run-time.
*/
-#define PRIVLIB "/sys/lib/perl/5.24.3" /**/
-#define PRIVLIB_EXP "/sys/lib/perl/5.24.3" /**/
+#define PRIVLIB "/sys/lib/perl/5.28.1" /**/
+#define PRIVLIB_EXP "/sys/lib/perl/5.28.1" /**/
/* PTRSIZE:
* This symbol contains the size of a pointer, so that the C preprocessor
@@ -3457,9 +3270,9 @@
* removed. The elements in inc_version_list (inc_version_list.U) can
* be tacked onto this variable to generate a list of directories to search.
*/
-#define SITELIB "/sys/lib/perl/5.24.3/site_perl" /**/
-#define SITELIB_EXP "/sys/lib/perl/5.24.3/site_perl" /**/
-#define SITELIB_STEM "/sys/lib/perl/5.24.3/site_perl" /**/
+#define SITELIB "/sys/lib/perl/5.28.1/site_perl" /**/
+#define SITELIB_EXP "/sys/lib/perl/5.28.1/site_perl" /**/
+#define SITELIB_STEM "/sys/lib/perl/5.28.1/site_perl" /**/
/* Size_t_size:
* This symbol holds the size of a Size_t in bytes.
@@ -3722,35 +3535,6 @@
*/
/*#define I_NDBM / **/
-/* I_STDARG:
- * This symbol, if defined, indicates that <stdarg.h> exists and should
- * be included.
- */
-/* I_VARARGS:
- * This symbol, if defined, indicates to the C program that it should
- * include <varargs.h>.
- */
-#define I_STDARG /**/
-/*#define I_VARARGS / **/
-
-/* CAN_PROTOTYPE:
- * If defined, this macro indicates that the C compiler can handle
- * function prototypes.
- */
-/* _:
- * This macro is used to declare function parameters for folks who want
- * to make declarations with prototypes using a different style than
- * the above macros. Use double parentheses. For example:
- *
- * int main _((int argc, char *argv[]));
- */
-#define CAN_PROTOTYPE /**/
-#ifdef CAN_PROTOTYPE
-#define _(args) args
-#else
-#define _(args) ()
-#endif
-
/* SH_PATH:
* This symbol contains the full pathname to the shell used on this
* on this system to execute Bourne shell scripts. Usually, this will be
diff --git a/gnu/usr.bin/perl/plan9/config_h.sample b/gnu/usr.bin/perl/plan9/config_h.sample
index d88498430ce..d888d07f431 100644
--- a/gnu/usr.bin/perl/plan9/config_h.sample
+++ b/gnu/usr.bin/perl/plan9/config_h.sample
@@ -50,24 +50,6 @@
#define __attribute__(_arg_)
#endif
-/* HAS_BCMP:
- * This symbol is defined if the bcmp() routine is available to
- * compare blocks of memory.
- */
-#define HAS_BCMP /**/
-
-/* HAS_BCOPY:
- * This symbol is defined if the bcopy() routine is available to
- * copy blocks of memory.
- */
-#define HAS_BCOPY /**/
-
-/* HAS_BZERO:
- * This symbol is defined if the bzero() routine is available to
- * set a memory block to 0.
- */
-#define HAS_BZERO /**/
-
/* HAS_CHOWN:
* This symbol, if defined, indicates that the chown routine is
* available.
@@ -103,14 +85,6 @@
*/
#define HAS_CUSERID /**/
-/* HAS_DBL_DIG:
- * This symbol, if defined, indicates that this system's <float.h>
- * or <limits.h> defines the symbol DBL_DIG, which is the number
- * of significant digits in a double precision number. If this
- * symbol is not defined, a guess of 15 is usually pretty good.
- */
-#define HAS_DBL_DIG /* */
-
/* HAS_DIFFTIME:
* This symbol, if defined, indicates that the difftime routine is
* available.
@@ -277,32 +251,6 @@
*/
#define HAS_MBTOWC /**/
-/* HAS_MEMCMP:
- * This symbol, if defined, indicates that the memcmp routine is available
- * to compare blocks of memory.
- */
-#define HAS_MEMCMP /**/
-
-/* HAS_MEMCPY:
- * This symbol, if defined, indicates that the memcpy routine is available
- * to copy blocks of memory.
- */
-#define HAS_MEMCPY /**/
-
-/* HAS_MEMMOVE:
- * This symbol, if defined, indicates that the memmove routine is available
- * to copy potentially overlapping blocks of memory. This should be used
- * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your
- * own version.
- */
-#define HAS_MEMMOVE /**/
-
-/* HAS_MEMSET:
- * This symbol, if defined, indicates that the memset routine is available
- * to set blocks of memory.
- */
-#define HAS_MEMSET /**/
-
/* HAS_MKDIR:
* This symbol, if defined, indicates that the mkdir routine is available
* to create directories. Otherwise you should fork off a new process to
@@ -513,31 +461,12 @@
*/
#define HAS_SETSID /**/
-/* HAS_STRCHR:
- * This symbol is defined to indicate that the strchr()/strrchr()
- * functions are available for string searching. If not, try the
- * index()/rindex() pair.
- */
-/* HAS_INDEX:
- * This symbol is defined to indicate that the index()/rindex()
- * functions are available for string searching.
- */
-#define HAS_STRCHR /**/
-/*#define HAS_INDEX / **/
-
/* HAS_STRCOLL:
* This symbol, if defined, indicates that the strcoll routine is
* available to compare strings using collating information.
*/
#define HAS_STRCOLL /**/
-/* USE_STRUCT_COPY:
- * This symbol, if defined, indicates that this C compiler knows how
- * to copy structures. If undefined, you'll need to use a block copy
- * routine of some sort instead.
- */
-#define USE_STRUCT_COPY /**/
-
/* HAS_STRTOD:
* This symbol, if defined, indicates that the strtod routine is
* available to provide better numeric string conversion than atof().
@@ -616,15 +545,6 @@
*/
/*#define HAS_USLEEP / **/
-/* HASVOLATILE:
- * This symbol, if defined, indicates that this C compiler knows about
- * the volatile declaration.
- */
-#define HASVOLATILE /**/
-#ifndef HASVOLATILE
-#define volatile
-#endif
-
/* HAS_WAIT4:
* This symbol, if defined, indicates that wait4() exists.
*/
@@ -654,12 +574,6 @@
*/
#define I_ARPA_INET /**/
-/* I_ASSERT:
- * This symbol, if defined, indicates to the C program that it could
- * include <assert.h> to get the assert() macro.
- */
-#define I_ASSERT /**/
-
/* I_DBM:
* This symbol, if defined, indicates that <dbm.h> exists and should
* be included.
@@ -702,38 +616,12 @@
*/
#define I_FCNTL /**/
-/* I_FLOAT:
- * This symbol, if defined, indicates to the C program that it should
- * include <float.h> to get definition of symbols like DBL_MAX or
- * DBL_MIN, i.e. machine dependent floating point values.
- */
-#define I_FLOAT /**/
-
-/* I_LIMITS:
- * This symbol, if defined, indicates to the C program that it should
- * include <limits.h> to get definition of symbols like WORD_BIT or
- * LONG_MAX, i.e. machine dependant limitations.
- */
-#define I_LIMITS /**/
-
/* I_LOCALE:
* This symbol, if defined, indicates to the C program that it should
* include <locale.h>.
*/
#define I_LOCALE /**/
-/* I_MATH:
- * This symbol, if defined, indicates to the C program that it should
- * include <math.h>.
- */
-#define I_MATH /**/
-
-/* I_MEMORY:
- * This symbol, if defined, indicates to the C program that it should
- * include <memory.h>.
- */
-/*#define I_MEMORY / **/
-
/* I_NET_ERRNO:
* This symbol, if defined, indicates that <net/errno.h> exists and
* should be included.
@@ -746,24 +634,6 @@
*/
#define I_NETINET_IN /**/
-/* I_STDDEF:
- * This symbol, if defined, indicates that <stddef.h> exists and should
- * be included.
- */
-#define I_STDDEF /**/
-
-/* I_STDLIB:
- * This symbol, if defined, indicates that <stdlib.h> exists and should
- * be included.
- */
-#define I_STDLIB /**/
-
-/* I_STRING:
- * This symbol, if defined, indicates to the C program that it should
- * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
- */
-#define I_STRING /**/
-
/* I_SYS_DIR:
* This symbol, if defined, indicates to the C program that it should
* include <sys/dir.h>.
@@ -873,14 +743,6 @@
*/
#define I_UTIME /**/
-/* I_VALUES:
- * This symbol, if defined, indicates to the C program that it should
- * include <values.h> to get definition of symbols like MINFLOAT or
- * MAXLONG, i.e. machine dependant limitations. Probably, you
- * should use <limits.h> instead, if it is available.
- */
-/*#define I_VALUES / **/
-
/* I_VFORK:
* This symbol, if defined, indicates to the C program that it should
* include vfork.h.
@@ -1965,12 +1827,6 @@
*/
/*#define HAS_MADVISE / **/
-/* HAS_MEMCHR:
- * This symbol, if defined, indicates that the memchr routine is available
- * to locate characters within a C string.
- */
-#define HAS_MEMCHR /**/
-
/* HAS_MKDTEMP:
* This symbol, if defined, indicates that the mkdtemp routine is
* available to exclusively create a uniquely named temporary directory.
@@ -2107,29 +1963,6 @@
*/
/*#define HAS_RECVMSG / **/
-/* HAS_SAFE_BCOPY:
- * This symbol, if defined, indicates that the bcopy routine is available
- * to copy potentially overlapping memory blocks. Normally, you should
- * probably use memmove() or memcpy(). If neither is defined, roll your
- * own version.
- */
-/*#define HAS_SAFE_BCOPY / **/
-
-/* HAS_SAFE_MEMCPY:
- * This symbol, if defined, indicates that the memcpy routine is available
- * to copy potentially overlapping memory blocks. If you need to
- * copy overlapping memory blocks, you should check HAS_MEMMOVE and
- * use memmove() instead, if available.
- */
-/*#define HAS_SAFE_MEMCPY / **/
-
-/* HAS_SANE_MEMCMP:
- * This symbol, if defined, indicates that the memcmp routine is available
- * and can be used to compare relative magnitudes of chars with their high
- * bits set. If it is not defined, roll your own version.
- */
-#define HAS_SANE_MEMCMP /**/
-
/* HAS_SBRK_PROTO:
* This symbol, if defined, indicates that the system provides
* a prototype for the sbrk() function. Otherwise, it is up
@@ -2450,24 +2283,12 @@
#define FILE_bufsiz(fp) ((fp)->_cnt + (fp)->_ptr - (fp)->_base)
#endif
-/* HAS_STRERROR:
- * This symbol, if defined, indicates that the strerror routine is
- * available to translate error numbers to strings. See the writeup
- * of Strerror() in this file before you try to define your own.
- */
/* HAS_SYS_ERRLIST:
* This symbol, if defined, indicates that the sys_errlist array is
* available to translate error numbers to strings. The extern int
* sys_nerr gives the size of that table.
*/
-/* Strerror:
- * This preprocessor symbol is defined as a macro if strerror() is
- * not available to translate error numbers to strings but sys_errlist[]
- * array is there.
- */
-#define HAS_STRERROR /**/
#define HAS_SYS_ERRLIST /**/
-#define Strerror(e) strerror(e)
/* HAS_STRERROR_R:
* This symbol, if defined, indicates that the strerror_r routine
@@ -2611,20 +2432,6 @@
*/
#define Signal_t void /* Signal handler's return type */
-/* HAS_VPRINTF:
- * This symbol, if defined, indicates that the vprintf routine is available
- * to printf with a pointer to an argument list. If unavailable, you
- * may need to write your own, probably in terms of _doprnt().
- */
-/* USE_CHAR_VSPRINTF:
- * This symbol is defined if this system has vsprintf() returning type
- * (char*). The trend seems to be to declare it as "int vsprintf()". It
- * is up to the package author to declare vsprintf correctly based on the
- * symbol.
- */
-#define HAS_VPRINTF /**/
-#define USE_CHAR_VSPRINTF /**/
-
/* HAS_WRITEV:
* This symbol, if defined, indicates that the writev routine is
* available to do scatter writes.
@@ -3652,35 +3459,6 @@
*/
/*#define I_NDBM / **/
-/* I_STDARG:
- * This symbol, if defined, indicates that <stdarg.h> exists and should
- * be included.
- */
-/* I_VARARGS:
- * This symbol, if defined, indicates to the C program that it should
- * include <varargs.h>.
- */
-#define I_STDARG /**/
-/*#define I_VARARGS / **/
-
-/* CAN_PROTOTYPE:
- * If defined, this macro indicates that the C compiler can handle
- * function prototypes.
- */
-/* _:
- * This macro is used to declare function parameters for folks who want
- * to make declarations with prototypes using a different style than
- * the above macros. Use double parentheses. For example:
- *
- * int main _((int argc, char *argv[]));
- */
-#define CAN_PROTOTYPE /**/
-#ifdef CAN_PROTOTYPE
-#define _(args) args
-#else
-#define _(args) ()
-#endif
-
/* SH_PATH:
* This symbol contains the full pathname to the shell used on this
* on this system to execute Bourne shell scripts. Usually, this will be
diff --git a/gnu/usr.bin/perl/plan9/config_sh.sample b/gnu/usr.bin/perl/plan9/config_sh.sample
index 1f240f49e33..fb032aa6e4a 100644
--- a/gnu/usr.bin/perl/plan9/config_sh.sample
+++ b/gnu/usr.bin/perl/plan9/config_sh.sample
@@ -29,15 +29,14 @@ _o='.o'
afs='false'
afsroot='/afs'
alignbytes='4'
-ansi2knr=''
aphostname='/bin/uname -n'
api_revision='5'
api_subversion='0'
-api_version='24'
-api_versionstring='5.24.0'
+api_version='28'
+api_versionstring='5.28.0'
ar='ar'
-archlib='/sys/lib/perl5/5.24.3/386'
-archlibexp='/sys/lib/perl5/5.24.3/386'
+archlib='/sys/lib/perl5/5.28.1/386'
+archlibexp='/sys/lib/perl5/5.28.1/386'
archname64=''
archname='386'
archobjs=''
@@ -104,6 +103,7 @@ d_PRIu64='define'
d_PRIx64='define'
d_SCNfldbl='define'
d__fwalk='undef'
+d_accept4='undef'
d_access='define'
d_accessx='undef'
d_acosh='undef'
@@ -125,19 +125,18 @@ d_attribute_pure='undef'
d_attribute_unused='undef'
d_attribute_warn_unused_result='undef'
d_backtrace='undef'
-d_bcmp='define'
-d_bcopy='define'
d_bsd='undef'
d_bsdgetpgrp='undef'
d_bsdsetpgrp='undef'
+d_builtin_add_overflow='undef'
d_builtin_choose_expr='undef'
d_builtin_expect='undef'
-d_bzero='define'
+d_builtin_mul_overflow='undef'
+d_builtin_sub_overflow='undef'
d_c99_variadic_macros='undef'
d_casti32='undef'
d_castneg='undef'
d_cbrt='undef'
-d_charvspr='define'
d_chown='define'
d_chroot='undef'
d_chsize='undef'
@@ -169,9 +168,19 @@ d_dlerror='undef'
d_dlopen='undef'
d_dlsymun='undef'
d_dosuid='undef'
+d_double_has_inf='define'
+d_double_has_nan='define'
+d_double_has_negative_zero='define'
+d_double_has_subnormals='define'
+d_double_style_cray='undef'
+d_double_style_ibm='undef'
+d_double_style_ieee='define'
+d_double_style_vax='undef'
d_drand48_r='undef'
d_drand48proto='undef'
d_dup2='define'
+d_dup3='undef'
+d_duplocale='undef'
d_eaccess='undef'
d_endgrent='define'
d_endgrent_r='undef'
@@ -194,6 +203,7 @@ d_expm1='undef'
d_faststdio='undef'
d_fchdir='undef'
d_fchmod='define'
+d_fchmodat='undef'
d_fchown='undef'
d_fcntl='define'
d_fcntl_can_lock='undef'
@@ -233,6 +243,7 @@ d_fsync='define'
d_ftello='undef'
d_ftime='undef'
d_futimes='undef'
+d_gai_strerror='undef'
d_gdbm_ndbm_h_uses_prototypes='undef'
d_gdbmndbm_h_uses_prototypes='undef'
d_getaddrinfo='undef'
@@ -333,10 +344,12 @@ d_lgamma='undef'
d_lgamma_r='undef'
d_libm_lib_version='0'
d_link='define'
+d_linkat='undef'
d_llrint='undef'
d_llrintl='undef'
d_llround='undef'
d_llroundl='undef'
+d_localeconv_l='undef'
d_localtime64='undef'
d_localtime_r='undef'
d_localtime_r_needs_tzset='undef'
@@ -345,6 +358,11 @@ d_lockf='undef'
d_log1p='undef'
d_log2='undef'
d_logb='undef'
+d_long_double_style_ieee='undef'
+d_long_double_style_ieee_doubledouble='undef'
+d_long_double_style_ieee_extended='define'
+d_long_double_style_ieee_std='undef'
+d_long_double_style_vax='undef'
d_longdbl='define'
d_longlong='define'
d_lrint='undef'
@@ -357,17 +375,16 @@ d_madvise='undef'
d_malloc_good_size='undef'
d_malloc_size='undef'
d_mblen='define'
+d_mbrlen='undef'
+d_mbrtowc='undef'
d_mbstowcs='define'
d_mbtowc='define'
-d_memchr='define'
-d_memcmp='define'
-d_memcpy='define'
d_memmem='undef'
-d_memmove='define'
-d_memset='define'
+d_memrchr='undef'
d_mkdir='define'
d_mkdtemp='undef'
d_mkfifo='define'
+d_mkostemp='undef'
d_mkstemp='undef'
d_mkstemps='undef'
d_mktime64='undef'
@@ -392,6 +409,7 @@ d_msync='undef'
d_munmap='undef'
d_mymalloc='define'
d_nan='undef'
+d_nanosleep='undef'
d_ndbm_h_uses_prototypes='undef'
d_nearbyint='undef'
d_newlocale='undef'
@@ -406,10 +424,12 @@ d_old_pthread_create_joinable='undef'
d_oldpthreads='undef'
d_oldsock='undef'
d_open3='define'
+d_openat='undef'
d_pathconf='define'
d_pause='define'
d_perl_otherlibdirs='undef'
d_phostname='undef'
+d_pipe2='undef'
d_pipe='define'
d_poll='undef'
d_portable='define'
@@ -432,6 +452,7 @@ d_pwpasswd='undef'
d_pwquota='undef'
d_qgcvt='undef'
d_quad='define'
+d_querylocale='undef'
d_random_r='undef'
d_readdir64_r='undef'
d_readdir='define'
@@ -443,13 +464,11 @@ d_regcomp='undef'
d_remainder='undef'
d_remquo='undef'
d_rename='define'
+d_renameat='undef'
d_rewinddir='define'
d_rint='undef'
d_rmdir='define'
d_round='undef'
-d_safebcpy='undef'
-d_safemcpy='undef'
-d_sanemcmp='define'
d_sbrkproto='undef'
d_scalbn='undef'
d_scalbnl='undef'
@@ -524,7 +543,6 @@ d_socket='define'
d_socklen_t='undef'
d_sockpair='define'
d_socks5_init='undef'
-d_sprintf_returns_strlen='undef'
d_sqrtl='undef'
d_srand48_r='undef'
d_srandom_r='undef'
@@ -543,18 +561,18 @@ d_stdio_ptr_lval_sets_cnt='undef'
d_stdio_stream_array='undef'
d_stdiobase='undef'
d_stdstdio='undef'
-d_strchr='define'
d_strcoll='define'
-d_strctcpy='define'
-d_strerrm='strerror(e)'
-d_strerror='define'
+d_strerror_l='undef'
d_strerror_r='undef'
d_strftime='define'
d_strlcat='undef'
d_strlcpy='undef'
+d_strnlen='undef'
d_strtod='define'
+d_strtod_l='undef'
d_strtol='define'
d_strtold='undef'
+d_strtold_l='undef'
d_strtoll='undef'
d_strtoq='undef'
d_strtoul='define'
@@ -574,6 +592,7 @@ d_tcsetpgrp='define'
d_telldir='undef'
d_telldirproto='undef'
d_tgamma='undef'
+d_thread_safe_nl_langinfo_l='undef'
d_time='define'
d_timegm='undef'
d_times='define'
@@ -590,6 +609,7 @@ d_ualarm='undef'
d_umask='define'
d_uname='define'
d_union_semun='undef'
+d_unlinkat='undef'
d_unordered='undef'
d_unsetenv='undef'
d_uselocale='undef'
@@ -603,8 +623,6 @@ d_vfork='undef'
d_void_closedir='undef'
d_voidsig='define'
d_voidtty=''
-d_volatile='define'
-d_vprintf='define'
d_vsnprintf='undef'
d_wait4='undef'
d_waitpid='define'
@@ -620,6 +638,7 @@ db_prefixtype='size_t'
db_version_major=''
db_version_minor=''
db_version_patch=''
+default_inc_excludes_dot='undef'
direntrytype='struct dirent'
dlext='none'
dlsrc='dl_none.xs'
@@ -707,7 +726,6 @@ i64type='long long'
i8size='1'
i8type='char'
i_arpainet='define'
-i_assert='define'
i_bfd='undef'
i_bsdioctl=''
i_crypt='undef'
@@ -718,7 +736,6 @@ i_dlfcn='undef'
i_execinfo='undef'
i_fcntl='define'
i_fenv='undef'
-i_float='define'
i_fp='undef'
i_fp_class='undef'
i_gdbm='undef'
@@ -729,13 +746,10 @@ i_ieeefp='undef'
i_inttypes='define'
i_langinfo='undef'
i_libutil='undef'
-i_limits='define'
i_locale='define'
i_machcthr='undef'
i_malloc='undef'
i_mallocmalloc='undef'
-i_math='define'
-i_memory='undef'
i_mntent='undef'
i_ndbm='undef'
i_netdb='define'
@@ -751,12 +765,9 @@ i_rpcsvcdbm='undef'
i_sgtty='undef'
i_shadow='undef'
i_socks='undef'
-i_stdarg='define'
i_stdbool='undef'
-i_stddef='define'
i_stdint='undef'
i_stdlib='define'
-i_string='define'
i_sunmath='undef'
i_sysaccess='undef'
i_sysdir='undef'
@@ -793,26 +804,25 @@ i_time='define'
i_unistd='define'
i_ustat='undef'
i_utime='define'
-i_values='undef'
-i_varargs='undef'
-i_varhdr='stdarg.h'
i_vfork='undef'
+i_wchar='undef'
+i_xlocale='undef'
ignore_versioned_solibs=''
inc_version_list=' '
inc_version_list_init='0'
incpath=''
inews=''
-installarchlib='/sys/lib/perl/5.24.3/386'
+installarchlib='/sys/lib/perl/5.28.1/386'
installbin='/usr/bin'
installman1dir='/sys/man/1pub'
installman3dir='/sys/man/2pub'
installprefix='/usr'
installprefixexp='/usr'
-installprivlib='/sys/lib/perl/5.24.3'
+installprivlib='/sys/lib/perl/5.28.1'
installscript='/usr/bin'
-installsitearch='/sys/lib/perl/5.24.3/site_perl/386'
+installsitearch='/sys/lib/perl/5.28.1/site_perl/386'
installsitebin='/usr/bin'
-installsitelib='/sys/lib/perl/5.24.3/site_perl'
+installsitelib='/sys/lib/perl/5.28.1/site_perl'
installstyle='lib/perl5'
installusrbinperl='undef'
installvendorarch=''
@@ -937,8 +947,8 @@ pmake=''
pr=''
prefix='/usr'
prefixexp='/usr'
-privlib='/sys/lib/perl/5.24.3'
-privlibexp='/sys/lib/perl/5.24.3'
+privlib='/sys/lib/perl/5.28.1'
+privlibexp='/sys/lib/perl/5.28.1'
procselfexe=''
prototype='define'
ptrsize='4'
@@ -1003,13 +1013,13 @@ sig_num='0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
sig_num_init='0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 0'
sig_size='50'
signal_t='void'
-sitearch='/sys/lib/perl/5.24.3/site_perl/386'
+sitearch='/sys/lib/perl/5.28.1/site_perl/386'
sitearchexp='/sys/lib/perl/site_perl/386'
sitebin='/usr/bin'
sitebinexp='/usr/bin'
-sitelib='/sys/lib/perl/5.24.3/site_perl'
-sitelib_stem='/sys/lib/perl/5.24.3/site_perl'
-sitelibexp='/sys/lib/perl/5.24.3/site_perl'
+sitelib='/sys/lib/perl/5.28.1/site_perl'
+sitelib_stem='/sys/lib/perl/5.28.1/site_perl'
+sitelibexp='/sys/lib/perl/5.28.1/site_perl'
siteprefix='/usr'
siteprefixexp='/usr'
sizesize='4'
@@ -1042,7 +1052,7 @@ stdio_stream_array=''
strerror_r_proto='0'
strings='/sys/include/ape/string.h'
submit=''
-subversion='3'
+subversion='1'
sysman='/sys/man/1pub'
tail=''
tar=''
@@ -1114,7 +1124,6 @@ uvsize='4'
uvtype='unsigned long'
uvuformat='"lu"'
uvxformat='"lx"'
-vaproto='undef'
vendorarch=''
vendorarchexp=''
vendorbin=''
@@ -1124,8 +1133,8 @@ vendorlib_stem=''
vendorlibexp=''
vendorprefix=''
vendorprefixexp=''
-version='5.24.3'
-version_patchlevel_string='version 24 subversion 3'
+version='5.28.1'
+version_patchlevel_string='version 28 subversion 1'
versiononly='undef'
vi=''
xlibpth=''
@@ -1138,10 +1147,10 @@ config_arg0='./Configure'
config_args=''
config_argc=0
PERL_REVISION=5
-PERL_VERSION=24
-PERL_SUBVERSION=3
+PERL_VERSION=28
+PERL_SUBVERSION=1
PERL_API_REVISION=5
-PERL_API_VERSION=24
+PERL_API_VERSION=28
PERL_API_SUBVERSION=0
PERL_PATCHLEVEL=
PERL_CONFIG_SH=true
diff --git a/gnu/usr.bin/perl/plan9/genconfig.pl b/gnu/usr.bin/perl/plan9/genconfig.pl
index 623423d7d44..ebd97db0183 100644
--- a/gnu/usr.bin/perl/plan9/genconfig.pl
+++ b/gnu/usr.bin/perl/plan9/genconfig.pl
@@ -28,7 +28,7 @@ unshift(@INC,'lib'); # In case someone didn't define Perl_Root
# before the build
if ($ARGV[0] eq '-f') {
- open(ARGS,$ARGV[1]) or die "Can't read data from $ARGV[1]: $!\n";
+ open(ARGS,'<',$ARGV[1]) or die "Can't read data from $ARGV[1]: $!\n";
@ARGV = ();
while (<ARGS>) {
push(@ARGV,split(/\|/,$_));
@@ -47,8 +47,8 @@ Can't find config.h to read!
EndOfGasp
}
$outdir = '';
-open(IN,"$infile") || die "Can't open $infile: $!\n";
-open(OUT,">${outdir}config.sh") || die "Can't open ${outdir}config.sh: $!\n";
+open(IN,'<',$infile) || die "Can't open $infile: $!\n";
+open(OUT,'>',"${outdir}config.sh") || die "Can't open ${outdir}config.sh: $!\n";
$time = localtime;
$cf_by = $ENV{'user'};
@@ -174,7 +174,7 @@ print OUT "myuname='Plan9 $myname $osvers $p9p_objtype'\n";
# Before we read the C header file, find out what config.sh constants are
# equivalent to the C preprocessor macros
-if (open(SH,"${outdir}config_h.SH")) {
+if (open(SH,'<',"${outdir}config_h.SH")) {
while (<SH>) {
next unless m%^#(?!if).*\$%;
s/^#//; s!(.*?)\s*/\*.*!$1!;
@@ -267,7 +267,7 @@ foreach (sort keys %val_vars) {
# print OUT "libs='",join(' ',@libs),"'\n";
# print OUT "libc='",join(' ',@crtls),"'\n";
-if (open(PL,"${outdir}patchlevel.h")) {
+if (open(PL,'<',"${outdir}patchlevel.h")) {
while (<PL>) {
if (/^#define PERL_VERSION\s+(\S+)/) {
print OUT "PERL_VERSION='$1'\n";
diff --git a/gnu/usr.bin/perl/plan9/plan9ish.h b/gnu/usr.bin/perl/plan9/plan9ish.h
index 0fdce125be8..5c326f674bd 100644
--- a/gnu/usr.bin/perl/plan9/plan9ish.h
+++ b/gnu/usr.bin/perl/plan9/plan9ish.h
@@ -106,7 +106,7 @@
#define BIT_BUCKET "/dev/null"
#define PERL_SYS_INIT_BODY(c,v) \
MALLOC_CHECK_TAINT2(*c,*v) PERLIO_INIT; MALLOC_INIT
-#define dXSUB_SYS
+#define dXSUB_SYS dNOOP
#define PERL_SYS_TERM_BODY() PERLIO_TERM; MALLOC_TERM
/*