This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
metaconfig.git
4 weeks agoFix typo master
H.Merijn Brand [Fri, 28 Oct 2022 14:26:33 +0000 (16:26 +0200)]
Fix typo

3 months agoRevert "Added unit to ask whether they want to build perl with taint support"
H.Merijn Brand [Thu, 25 Aug 2022 14:55:38 +0000 (16:55 +0200)]
Revert "Added unit to ask whether they want to build perl with taint support"

This reverts commit fc6cc8689bae156e96def93cdd177618b22fbc73.

3 months agoUpdate libsearch paths for cygwin
H.Merijn Brand [Thu, 25 Aug 2022 14:54:13 +0000 (16:54 +0200)]
Update libsearch paths for cygwin

Backport of f15e478c60445e7053811660fb7e10b6c857569e

3 months agohide private functions with __attribute__((visibility("hidden")))
H.Merijn Brand [Thu, 25 Aug 2022 14:49:59 +0000 (16:49 +0200)]
hide private functions with __attribute__((visibility("hidden")))

Backport of 0351a629e71de127cbfd1b142e9eaa6069deabf5

This allows us to enforce API boundaries and potentially enables
compiler optimisations.

We've been always hiding non-public symbols on Windows. This commit
brings that to the other platforms.

3 months agoForgot counter initialization in backport
H.Merijn Brand [Thu, 25 Aug 2022 14:05:58 +0000 (16:05 +0200)]
Forgot counter initialization in backport

Tux--

3 months agoConfigure: Add missing `#include <inttypes.h>` to test programs
H.Merijn Brand [Thu, 25 Aug 2022 13:55:40 +0000 (15:55 +0200)]
Configure: Add missing `#include <inttypes.h>` to test programs

Backport of e005a3c01bac8d86418336885e3501ef90aeac10

With -Duse64bitint on 32-bit machines, UV might be configured
to `uint64_t`.  But some Configure tests used $uvtype without including
<inttypes.h>, which may cause compilation error of those tests on
sucn configurations, and eventually make perl not built correctly.

3 months agoConfigure: Fix typos for C99 macro name PRIX64
H.Merijn Brand [Thu, 25 Aug 2022 13:48:47 +0000 (15:48 +0200)]
Configure: Fix typos for C99 macro name PRIX64

Backport of fc3ce1a8e466bab895f3b03009890b56e655d90d

There are no macros named PRIXU64.  This line seems to date back to
commit 6b356c8efb963846940ef92952cf77e5b86bd65e which renamed shell
variable names to work well with case-insensitive systems,
but could have overdone a bit.

3 months agoproperly populate osvers on Dragonfly BSD when the hostname isn't set
H.Merijn Brand [Thu, 25 Aug 2022 13:35:28 +0000 (15:35 +0200)]
properly populate osvers on Dragonfly BSD when the hostname isn't set

Backport of be2d063f33e907f7892a8ff7e6f73cf7aa86397a
With additional changes to leading whitespace to make the file consistent again

A default installation of DragonflyBSD doesn't necessarily set the
hostname, resulting in a `uname -a` like:

  DragonFly  6.2-RELEASE DragonFly v6.2.2-RELEASE ...

which resulted in osvers being set to "dragonfly", which isn't
especially useful.

So check that $3 is numeric in some sense before using it, falling
back to $2 if it isn't.  This should only happen when the hostname
isn't set.

3 months agoConfigure should avoid looping infinitely repeating the same question
H.Merijn Brand [Thu, 25 Aug 2022 12:30:44 +0000 (14:30 +0200)]
Configure should avoid looping infinitely repeating the same question

Backport of 46bfb3c49f22629a21d99ff2d02461a2a8a9aac4
Author: Nicholas Clark <nick@ccl4.org>
Date:   Tue Aug 2 16:40:39 2022 +0200

Configure's helper function ./myread is intended to loop until it gets an
acceptable answer. For a couple of cases, an empty string is not acceptable
(eg 'Where is your C library?', if all automated attempts at answering this
have failed). In these cases, if Configure's standard input is /dev/null (or
closed), the shell read returns an empty string, and ./myread repeats the
question.
Before this commit, it would loop infinitely (generating continuous terminal
output). With this commit, we add a retry counter - if it asks the same
question to many times, it aborts Configure. This means that unattended
./Configure runs should now always terminate, as termination with an error
is better than spinning forever.

8 months agoMerge pull request #79 from neilb/taintsupport
H.Merijn Brand [Mon, 21 Mar 2022 19:42:49 +0000 (20:42 +0100)]
Merge pull request #79 from neilb/taintsupport

Add unit to ask whether user wants to build perl with taint support

8 months agoMerge pull request #77 from khwilliamson/master 5.36.0
H.Merijn Brand [Mon, 7 Mar 2022 14:20:14 +0000 (15:20 +0100)]
Merge pull request #77 from khwilliamson/master

Fix possible syntax error for Inf/NaN

8 months agoMerge branch 'Perl:master' into master 77/head
Karl Williamson [Sun, 6 Mar 2022 02:14:29 +0000 (19:14 -0700)]
Merge branch 'Perl:master' into master

8 months agoFix possible syntax error for Inf/NaN
Karl Williamson [Sun, 6 Mar 2022 02:11:30 +0000 (19:11 -0700)]
Fix possible syntax error for Inf/NaN

This copies the fix in https://github.com/Perl/perl5/pull/19216 to
metaconfig

9 months agoAdeed unit to ask whether they want to build perl with taint support 79/head
Neil Bowers [Sun, 27 Feb 2022 19:59:37 +0000 (19:59 +0000)]
Adeed unit to ask whether they want to build perl with taint support

9 months agoAdd not for ?MAKE: -pick
H.Merijn Brand [Mon, 21 Feb 2022 16:38:29 +0000 (17:38 +0100)]
Add not for ?MAKE: -pick

These are the counts for the lines currently fond in the units donw this
repository folder

1548 -pick add $@ %<
   2 -pick add.Null $@ %<
   2 -pick cm_h_weed $@ %<
   2 -pick cm_h_weed $@ ./Magic_h
   2 -pick prepend $@ ./Obsol_h
   2 -pick prepend $@ ./Obsol_sh
  32 -pick wipe $@ %<
   3 -pick add $@ ./Obsol_sh
   3 -pick add.Config_sh $@ %<
   3 -pick c_h_weed $@ %<
   3 -pick c_h_weed $@ ./Config_h
   3 -pick c_h_weed $@ ./Obsol_h
   3 -pick close.Config_sh $@ %<
   3 -pick weed $@ ./Init
   6 -pick weed $@ %<

13 months agoTeach Configure and cflags.SH about C99
H.Merijn Brand [Fri, 29 Oct 2021 15:35:45 +0000 (17:35 +0200)]
Teach Configure and cflags.SH about C99
Test declarations after statement in Configure's C99 probe code

Probe to see whether we need -std=gnu99 or -std=c99 to get C99 code to
compile. In cflags.SH, remove code that added gcc warning flags that were
compatible with C89 but are not compatible with C99.

Also ensure that the relevant failure error message is output even with
Configure's -s flag, as we shouldn't stay silent for a message that causes
Configure default to aborting.

With these changes, Configure will fail the C99 probe test if passed
-Accflags="-Werror=declaration-after-statement" or
-Accflags="-Werror=long-long"

Backport of 0c7be120244c1a6aae9b1ae30124265bcb8184da
        and d34aca5e9e57e3f0b5d25d451759237b40647664

13 months agoA Configure test for C11 thread local storage specificer, _Thread_local
H.Merijn Brand [Fri, 29 Oct 2021 15:25:19 +0000 (17:25 +0200)]
A Configure test for C11 thread local storage specificer, _Thread_local

We also provbe for gcc's earlier syntax, __thread.

Backport of 65f7068160bfc9a3f4b195a579c881188cc4fff3

13 months agodetect struct stat.st_dev's size and signedness, and return it safely
H.Merijn Brand [Fri, 29 Oct 2021 15:07:24 +0000 (17:07 +0200)]
detect struct stat.st_dev's size and signedness, and return it safely

On FreeBSD dev_t (and hence the st_dev member of struct stat) is an
unsigned 64-bit integer, and the previous simple PUSHi() corrupted
that.

A previous version of this reflected the st_ino code and implemented
our own number to string conversion, but a system with such a large
st_dev should be assumed to have inttypes.h, and an intmax_t which is
no smaller than st_dev.

The st_ino code could probably be changed similarly, but 64-bit inode
numbers are not a new thing, so it may be riskier.

Backport of 9b5699737a6b587546239d586832f420cf7f2dea

13 months agoSend bugs to GitHub
H.Merijn Brand [Fri, 29 Oct 2021 14:36:07 +0000 (16:36 +0200)]
Send bugs to GitHub

Do not advise sending mail to 'perlbug@perl.org', as that now simply
triggers a response redirecting sender to GitHub.

Backport of 786c02c9305b1cb8b2a0ee2cb2921888bb720499

15 months agoonly #include <xlocale.h> when it is actually needed
H.Merijn Brand [Wed, 11 Aug 2021 11:22:25 +0000 (13:22 +0200)]
only #include <xlocale.h> when it is actually needed

Backport of 68f1b6d700b9662cfdec43ceddbd086d4b59c87e

This header was originally only needed for builds on darwin and
FreeBSD, but was being included whenever it was detected.

This has caused problems when what was an internal header was
removed (from glibc) and in general wasn't needed anyway.

On FreeBSD only localeconv_l() requires xlocale.h, so we test
specifically for that.

17 months agoMerge pull request #76 from jkeenan/readme-typo-20210610
James E Keenan [Tue, 22 Jun 2021 13:50:31 +0000 (09:50 -0400)]
Merge pull request #76 from jkeenan/readme-typo-20210610

Correct probable typo.

17 months agoDisambiguate what user sees in interactive Configure
H.Merijn Brand [Wed, 16 Jun 2021 06:28:48 +0000 (08:28 +0200)]
Disambiguate what user sees in interactive Configure

User should expect to see configuration questions spelled 'UTF-8', not
'UTF8' (even if we store information internally or in config.sh without
the hyphen).

Correct user prompts accordingly.

For: #18844

https://github.com/Perl/perl5/pull/18870 by @jkeenan

17 months agoCorrect probable typo. 76/head
James E Keenan [Thu, 10 Jun 2021 21:32:45 +0000 (21:32 +0000)]
Correct probable typo.

17 months agoprevent undefined behaviour at a language level while probing getenv
H.Merijn Brand [Wed, 9 Jun 2021 08:22:49 +0000 (10:22 +0200)]
prevent undefined behaviour at a language level while probing getenv

Backport of a5823872283be23731f1bcde7e19a926c44b31a4

This test in Configure tries to probe for undefined behaviour in
getenv (), but provokes undefined behaviour in C/C++ by falling off
the end of a function with a non-void return type.

Without optimization clang++ generated a ud2 instruction here on
amd64 producing an illegal instruction exception.  With optimization
the test case fell off the end and started re-executing main (),
eventually producing a SIGBUS.

Simply dropping the value of getenv () here and returning NULL wasn't
useful, under -O2 the compiler optimized away the getenv () call,
voiding the whole point of the test.

17 months agoMerge pull request #75 from khwilliamson/master
H.Merijn Brand [Sat, 5 Jun 2021 09:27:49 +0000 (11:27 +0200)]
Merge pull request #75 from khwilliamson/master

Add new probes:  XXX I don't know what to change in the RCS lines

17 months agoAdd probes for ffs, ffsl 75/head
Karl Williamson [Fri, 4 Jun 2021 17:16:07 +0000 (11:16 -0600)]
Add probes for ffs, ffsl

17 months agoXXX RCS changes? Add probe for strxfrm_l
Karl Williamson [Fri, 4 Jun 2021 16:53:22 +0000 (10:53 -0600)]
XXX RCS changes? Add probe for strxfrm_l

17 months agod_endpwent.U: Fix typo in comment
Karl Williamson [Thu, 3 Jun 2021 11:03:34 +0000 (05:03 -0600)]
d_endpwent.U: Fix typo in comment

17 months agoAdd check for nl_langinfo_l()
Karl Williamson [Sun, 9 May 2021 14:48:26 +0000 (08:48 -0600)]
Add check for nl_langinfo_l()

There is already a check for this, but it fails unless the function is
thread safe.  This adds a symbol for when it exists but isn't thread
safe.

18 months agoMake libpth dist compliant
H.Merijn Brand [Mon, 31 May 2021 13:18:09 +0000 (15:18 +0200)]
Make libpth dist compliant

18 months agoMerge pull request #70 from khwilliamson/master
H.Merijn Brand [Mon, 31 May 2021 13:13:30 +0000 (15:13 +0200)]
Merge pull request #70 from khwilliamson/master

Some fixups, and printing to >&4 that needs review

18 months agoMerge pull request #73 from Perl/ntyni/incpath-backport 5.34.0
H.Merijn Brand [Fri, 28 May 2021 12:14:59 +0000 (14:14 +0200)]
Merge pull request #73 from Perl/ntyni/incpath-backport

Backport: Prevent incpath to spill into libpth

18 months agoPrevent incpath to spill into libpth ntyni/incpath-backport 73/head
H.Merijn Brand [Fri, 12 Feb 2021 15:42:42 +0000 (16:42 +0100)]
Prevent incpath to spill into libpth

• Use realpath if available
• This might catch more duplicate paths
• Only include real existing paths
• Filter inc paths out of libpth

Before:
incpth: /usr/lib64/gcc/x86_64-suse-linux/7/include /usr/local/include /usr/lib64/gcc/x86_64-suse-linux/7/include-fixed /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/include /usr/include
libpth: /usr/local/lib /usr/lib64/gcc/x86_64-suse-linux/7/include-fixed /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/lib /usr/lib /pro/local/lib /lib/../lib64 /usr/lib/../lib64 /lib /lib64 /usr/lib64 /usr/local/lib64

After:
incpth: /usr/lib64/gcc/x86_64-suse-linux/7/include /usr/local/include /usr/lib64/gcc/x86_64-suse-linux/7/include-fixed /usr/x86_64-suse-linux/include /usr/include
libpth: /usr/local/lib /usr/x86_64-suse-linux/lib /usr/lib /pro/local/lib /lib64 /usr/lib64 /lib /usr/local/lib64

(Backported from perl.git d3144c9253d3244cd259a0ae4c0fe81519bf5b53 to
 metaconfig.git by Niko Tyni)

20 months agobetter de-dup metagrep
H.Merijn Brand [Tue, 9 Mar 2021 13:10:31 +0000 (14:10 +0100)]
better de-dup metagrep

and skip old working tree

21 months agoReword usage messages (thank you Jim)
H.Merijn Brand [Thu, 18 Feb 2021 15:23:26 +0000 (16:23 +0100)]
Reword usage messages (thank you Jim)

Backport of 0484bfe840704c501e4b0d8949d48017b336d71e

21 months agoFixes backported from Porting/Glossary commits
H.Merijn Brand [Sun, 14 Feb 2021 10:23:53 +0000 (11:23 +0100)]
Fixes backported from Porting/Glossary commits

21 months agoTest that gcvt/qgcvt are not buggy (Issue 18170)
H.Merijn Brand [Sun, 14 Feb 2021 10:17:53 +0000 (11:17 +0100)]
Test that gcvt/qgcvt are not buggy (Issue 18170)

Backport of cfc95b5630c63927ab68bb4cdc08b1dec23c5569 and previous commits

21 months agoConsistent indent/whitespace
H.Merijn Brand [Sun, 14 Feb 2021 10:17:00 +0000 (11:17 +0100)]
Consistent indent/whitespace

21 months agoWhitespace change from 6b6e83fce2074294ac11d547c8a75bc106bebab9
H.Merijn Brand [Sun, 14 Feb 2021 10:08:51 +0000 (11:08 +0100)]
Whitespace change from 6b6e83fce2074294ac11d547c8a75bc106bebab9

21 months agoAdd Configure probe for getenv() buffer race
H.Merijn Brand [Sun, 14 Feb 2021 10:03:01 +0000 (11:03 +0100)]
Add Configure probe for getenv() buffer race

Backport of 9d228af78ad17dabb51f9059d215cc88c059a22a

Most implementations do not have a problem with two getenv()'s running
simultaneously in different threads.  But Posix doesn't require such
good behavior.  This adds a simple probe to test the current system.

21 months agoPrevent non-ASCII in comment
H.Merijn Brand [Fri, 12 Feb 2021 16:05:42 +0000 (17:05 +0100)]
Prevent non-ASCII in comment

This will cause havoc on EBCDIC systems

2 years agoFix build on Haiku beta
H.Merijn Brand [Sat, 24 Oct 2020 10:30:50 +0000 (12:30 +0200)]
Fix build on Haiku beta

Backport of 6b6e83fce2074294ac11d547c8a75bc106bebab9
set correct Haiku usrinc and locinc , add -fno-stack-protector to hints
for amigaos.sh and haiku.sh (and disable accordingly -fstack-protector*
in Configure)

2 years agotest that gcvt/qgcvt are not buggy (Issue 18170)
H.Merijn Brand [Sat, 24 Oct 2020 10:23:52 +0000 (12:23 +0200)]
test that gcvt/qgcvt are not buggy (Issue 18170)

Backport of e8b4b5cb56db51c60d23a47fbb2f897e1206c9af
Author: sisyphus <sisyphus@cpan.org>
Date:   Wed Oct 21 10:52:11 2020 +1100

But style adjusted to surrounding code

2 years agoPrevent errors when run outside metaconfig folder
H.Merijn Brand [Sat, 24 Oct 2020 10:21:01 +0000 (12:21 +0200)]
Prevent errors when run outside metaconfig folder

2 years agoAdd the Configure option to enable strict by default in perl programs.
H.Merijn Brand [Tue, 22 Sep 2020 12:26:22 +0000 (14:26 +0200)]
Add the Configure option to enable strict by default in perl programs.

Do not set strict by default on -e or -E

This is a development only feature to allow us to clean up blead.

./Configure -Dusedevel -des -Dusedefaultstrict

2 years agoTrap SIGBUS when Configure checks for va_copy (#18148)
H.Merijn Brand [Tue, 22 Sep 2020 11:14:51 +0000 (13:14 +0200)]
Trap SIGBUS when Configure checks for va_copy (#18148)

On several systems the attempt to determine if we &quot;need va_copy() or
similar&quot; results in a SIGBUS instead of a SIGSEGV because the fault
happens pointing at an io device address.

While reviewing accounting logs during the OpenBSD system build, bluhm@
noticed a core dump and deraadt@ tracked it down.

While researching it was discovered that this is a fairly common case in
other systems as well.

Original diff by deraadt@

2 years agoForce comments for L_R_TZSET to end in config_h.SH
H.Merijn Brand [Mon, 7 Sep 2020 12:23:24 +0000 (14:23 +0200)]
Force comments for L_R_TZSET to end in config_h.SH

2 years agoMerge pull request #71 from richardleach/patch-1
H.Merijn Brand [Wed, 2 Sep 2020 12:48:40 +0000 (14:48 +0200)]
Merge pull request #71 from richardleach/patch-1

d_localtime_r.U - explicitly free() allocations

2 years agod_localtime_r.U - explicitly free() allocations 71/head
Richard Leach [Wed, 2 Sep 2020 12:24:03 +0000 (13:24 +0100)]
d_localtime_r.U - explicitly free() allocations

To keep LeakSanitizer happy. See https://github.com/Perl/perl5/issues/18107 for background.

2 years agod_faststdio.U: Use >&4, not >& 4 70/head
Karl Williamson [Sat, 22 Aug 2020 20:41:50 +0000 (14:41 -0600)]
d_faststdio.U: Use >&4, not >& 4

2 years agoperl/perlxv.U: Change some echo 2>&1
Karl Williamson [Mon, 13 Jul 2020 15:08:21 +0000 (09:08 -0600)]
perl/perlxv.U: Change some echo 2>&1

I don't know why this is redirecting stderr to stdout; why it thinks the
echo could generate output to stderr, but the file descriptor most
things should go to is >&4.

2 years agoU/perl/Checkcc.U: Use >&4 instead of >&2 for output
Karl Williamson [Mon, 13 Jul 2020 15:06:08 +0000 (09:06 -0600)]
U/perl/Checkcc.U: Use >&4 instead of >&2 for output

2 years agocompline/ccflags.U: Change some echo 2>&1
Karl Williamson [Mon, 13 Jul 2020 15:02:45 +0000 (09:02 -0600)]
compline/ccflags.U: Change some echo 2>&1

I don't know why this is redirecting stderr to stdout; why it thinks the
echo could generate output to stderr, but the file descriptor most
things should go to is >&4.

2 years agoREADME: Small fix ups
Karl Williamson [Mon, 13 Jul 2020 16:47:20 +0000 (10:47 -0600)]
README: Small fix ups

2 years agoMerge pull request #69 from khwilliamson/master
H.Merijn Brand [Sat, 22 Aug 2020 07:53:55 +0000 (09:53 +0200)]
Merge pull request #69 from khwilliamson/master

Fixes for EBCDIC, AIX, cleanup, some thread cleanup, docs

2 years agousethreads.U: Rmv unused variable 69/head
Karl Williamson [Fri, 21 Aug 2020 20:31:45 +0000 (14:31 -0600)]
usethreads.U: Rmv unused variable

2 years agoExtensions.U: remove unused variable
Karl Williamson [Fri, 21 Aug 2020 20:31:18 +0000 (14:31 -0600)]
Extensions.U: remove unused variable

2 years agoREADME: Add instrs for modified units
Karl Williamson [Fri, 21 Aug 2020 20:30:34 +0000 (14:30 -0600)]
README: Add instrs for modified units

2 years agoREADME: Fix typo
Karl Williamson [Fri, 21 Aug 2020 20:29:55 +0000 (14:29 -0600)]
README: Fix typo

2 years agod_longdbl.U: Always echo to &4 file descriptor
Karl Williamson [Tue, 18 Aug 2020 21:33:05 +0000 (15:33 -0600)]
d_longdbl.U: Always echo to &4 file descriptor

Previously only some did; this also removes the space in '>& 4' used in
some places

2 years agod_longdbl.U: Mention two symbols in ?C:
Karl Williamson [Tue, 18 Aug 2020 21:31:30 +0000 (15:31 -0600)]
d_longdbl.U: Mention two symbols in ?C:

These two symbols are defined by this unit, but went unmentioned.

2 years agod_union_semun.U: Indent two ?C: lines
Karl Williamson [Tue, 18 Aug 2020 21:22:18 +0000 (15:22 -0600)]
d_union_semun.U: Indent two ?C: lines

These two lines are for describing a data structure.  I've written code
that converts config.h items into pod.  These are the only two lines that
are really problematic, and it is because they should render as-is, but
to indicate that, they shouldn't be at the left margin.

2 years agoAdd d_bitfield.U to see if non-int struct bitfields
Karl Williamson [Sun, 21 Jun 2020 18:48:51 +0000 (12:48 -0600)]
Add d_bitfield.U to see if non-int struct bitfields

The C standard says only int and unsigned int bitfields in structs need
to be supported.  Many compilers also support other-sized ones, such as
short, but not all.  This adds a probe to detect this.

2 years agoi_db.U: Use new compiler_warning.U
Karl Williamson [Sun, 21 Jun 2020 18:40:28 +0000 (12:40 -0600)]
i_db.U: Use new compiler_warning.U

2 years agovoidflags.U: Use new compiler_warning.U
Karl Williamson [Sun, 21 Jun 2020 18:39:34 +0000 (12:39 -0600)]
voidflags.U: Use new compiler_warning.U

2 years agod_attribut.U: Use new compiler_warning.U
Karl Williamson [Sun, 21 Jun 2020 18:38:50 +0000 (12:38 -0600)]
d_attribut.U: Use new compiler_warning.U

2 years agoAdd compiler_warning.U
Karl Williamson [Sun, 21 Jun 2020 18:36:28 +0000 (12:36 -0600)]
Add compiler_warning.U

This is to see if there were compiler warnings generated.  It turns out
that AIX has very weird syntax for warnings, that don't include that
word, so there is special code for that os.

Also, some compiler's warnings aren't all lowercase.

2 years agocontains.U: Need a path to the generated script
Karl Williamson [Sun, 21 Jun 2020 18:33:25 +0000 (12:33 -0600)]
contains.U: Need a path to the generated script

I tested what would happen with 'contains' if grep is actually broken on
the box, and it failed because it didn't know where the generated
work-around script is.

This commit fixes this, but the fact that no failures have been showing
up indicates that modern greps just aren't broken this way.

2 years agocontains.U: echo should go to >&4
Karl Williamson [Tue, 18 Aug 2020 18:30:50 +0000 (12:30 -0600)]
contains.U: echo should go to >&4

2 years agoCopy contains.U from dist to U/modified
Karl Williamson [Tue, 18 Aug 2020 18:24:31 +0000 (12:24 -0600)]
Copy contains.U from dist to U/modified

This is in preparation for modifying it

2 years agod_setlocale.U: Add more info to user messages
Karl Williamson [Mon, 13 Jul 2020 17:55:30 +0000 (11:55 -0600)]
d_setlocale.U: Add more info to user messages

2 years agod_setlocale.U: Pay attention to hints file
Karl Williamson [Sun, 21 Jun 2020 18:46:00 +0000 (12:46 -0600)]
d_setlocale.U: Pay attention to hints file

This was ignoring any hints file setting of d_setlocale, and checking if
the system appears to have a sane one.  But there are cases where the
setlocale isn't really sane, even though it appears to be, and the hints
file is used to override this setting.  This commit now pays attention
to that override.

2 years agoModernize getverlist
H.Merijn Brand [Fri, 21 Aug 2020 13:46:22 +0000 (15:46 +0200)]
Modernize getverlist

- use strict/warnings
- pack "s>s>s>" to ensure best sorting
- fix small typo in comment

2 years agoRemove final vestiges of 5.005 threads
Dagfinn Ilmari Mannsåker [Mon, 10 Aug 2020 18:43:51 +0000 (19:43 +0100)]
Remove final vestiges of 5.005 threads

2 years agoBackport more blead Glossary typo fixes
Dagfinn Ilmari Mannsåker [Mon, 10 Aug 2020 19:02:44 +0000 (20:02 +0100)]
Backport more blead Glossary typo fixes

Commit bc2d571f1bf96e369c3d80c4294161b1d3180299 backported the
"patern" typo fix from
https://github.com/Perl/perl5/commit/4357af6ce6bbf62e83c554355bd8063b6fd0880a,
but missed the instances of "usally" on the same lines.

2 years agoHead.U: Fix Github repository URL
Dagfinn Ilmari Mannsåker [Wed, 8 Jul 2020 21:05:48 +0000 (22:05 +0100)]
Head.U: Fix Github repository URL

2 years agoMerge pull request #64 from ntyni/blead-changes 5.32.0
H.Merijn Brand [Sun, 17 May 2020 12:35:21 +0000 (14:35 +0200)]
Merge pull request #64 from ntyni/blead-changes

Blead changes

2 years agoBackport blead Glossary change fixing typos 64/head
Niko Tyni [Fri, 15 May 2020 21:33:38 +0000 (00:33 +0300)]
Backport blead Glossary change fixing typos

The Glossary change is part of

 https://github.com/Perl/perl5/commit/4357af6ce6bbf62e83c554355bd8063b6fd0880a

2 years agoBackport blead Configure change to contact instructions
Niko Tyni [Fri, 15 May 2020 21:13:25 +0000 (00:13 +0300)]
Backport blead Configure change to contact instructions

The Configure change is part of

 https://github.com/Perl/perl5/commit/35e21c5bf73a6039193bb688ec85ff2cc7716443

2 years agoMinor cleanups
H.Merijn Brand - Tux [Thu, 30 Apr 2020 08:36:59 +0000 (10:36 +0200)]
Minor cleanups

2 years agoMerge pull request #63 from xenu/xenu/sockaddr-storage
H.Merijn Brand [Thu, 30 Apr 2020 08:31:34 +0000 (10:31 +0200)]
Merge pull request #63 from xenu/xenu/sockaddr-storage

add probe for struct sockaddr_storage

2 years agoadd probe for struct sockaddr_storage 63/head
Tomasz Konojacki [Thu, 30 Apr 2020 07:00:25 +0000 (07:00 +0000)]
add probe for struct sockaddr_storage

Perl/perl5#17764 needs this

2 years agoMerge pull request #62 from Perl/fix-repeated-words
H.Merijn Brand [Fri, 24 Apr 2020 11:20:51 +0000 (13:20 +0200)]
Merge pull request #62 from Perl/fix-repeated-words

Fix repeated-word typos

2 years agoFix repeated-word typos 62/head
Dagfinn Ilmari Mannsåker [Thu, 23 Apr 2020 20:04:47 +0000 (21:04 +0100)]
Fix repeated-word typos

2 years agoAdapt Configure to GCC version 10
H.Merijn Brand - Tux [Tue, 21 Jan 2020 19:57:37 +0000 (20:57 +0100)]
Adapt Configure to GCC version 10

backport of 9f4e6307232229875331a55e44e1245b0b91e219

2 years agoPartly revert 9c359e8280d731ca92428e10705200e1c7ebf844
H.Merijn Brand - Tux [Tue, 21 Jan 2020 19:51:45 +0000 (20:51 +0100)]
Partly revert 9c359e8280d731ca92428e10705200e1c7ebf844

No here doc inside case

2 years agoSync with minor changes in blead
H.Merijn Brand - Tux [Tue, 21 Jan 2020 16:28:45 +0000 (17:28 +0100)]
Sync with minor changes in blead

2 years agoAdd <stdlib.h> for futimes compilation test
H.Merijn Brand - Tux [Tue, 21 Jan 2020 16:15:01 +0000 (17:15 +0100)]
Add <stdlib.h> for futimes compilation test

Backport f16c94bc75aefb81949b423b399fac4071859f6d

2 years agoRemove -DUSE_C_BACKTRACE part: from e849841dca2a8b1111999
H.Merijn Brand - Tux [Tue, 21 Jan 2020 16:14:21 +0000 (17:14 +0100)]
Remove -DUSE_C_BACKTRACE part: from e849841dca2a8b1111999

2 years agoPatches for meta are never directly from the perl5 tree
H.Merijn Brand - Tux [Tue, 21 Jan 2020 16:03:03 +0000 (17:03 +0100)]
Patches for meta are never directly from the perl5 tree

2 years agoUpdate the reference to the GitHub issue tracker
H.Merijn Brand - Tux [Tue, 21 Jan 2020 15:59:03 +0000 (16:59 +0100)]
Update the reference to the GitHub issue tracker

2 years agoDeclare temporary file 'try' for metalint.
Andy Dougherty [Tue, 31 Dec 2019 00:58:38 +0000 (19:58 -0500)]
Declare temporary file 'try' for metalint.

2 years agoFix strtoul probe to compile under clang++.
Andy Dougherty [Tue, 31 Dec 2019 00:50:41 +0000 (19:50 -0500)]
Fix strtoul probe to compile under clang++.

Add the missing stdlib.h header and remove an unnecessary prototype.

2 years agoFix strtoll, strotoull, and strtouq probes to compile under clang++.
Andy Dougherty [Mon, 30 Dec 2019 02:43:24 +0000 (21:43 -0500)]
Fix strtoll, strotoull, and strtouq probes to compile under clang++.

The test programs were missing the stdlib.h header, and needed
tweaks to the check() prototype to compile under clang++.  These
changes should be fine for C compilers as well, but they have typically
been more forgiving, so shouldn't be affected.

2 years agoInclude <stdio.h> in getpgrp/setpgrp probes for printf prototype.
Andy Dougherty [Mon, 30 Dec 2019 02:11:23 +0000 (21:11 -0500)]
Include <stdio.h> in getpgrp/setpgrp probes for printf prototype.

C compilers typically issue a warning, but c++ compilers may abort with
an error.

2 years agoUse a compile and run test for clang++.
Andy Dougherty [Tue, 27 Aug 2019 01:39:57 +0000 (21:39 -0400)]
Use a compile and run test for clang++.

For glibc, previous reports were that some functions (such as lchown())
are present in libc, but are unimplemented.  That is, they always fail
and set errno=ENOSYS.  Unfortunately, the stub test doesn't work under
clang++.  Thus use a compile and run test.

3 years agoMerge pull request #61 from xenu/master
Karl Williamson [Fri, 22 Nov 2019 19:50:59 +0000 (11:50 -0800)]
Merge pull request #61 from xenu/master

add probe for __attribute__(always_inline)

3 years agoadd probe for __attribute__(always_inline) 61/head
Tomasz Konojacki [Fri, 22 Nov 2019 18:43:22 +0000 (18:43 +0000)]
add probe for __attribute__(always_inline)

3 years agoisless probe in Configure broken #17216
H.Merijn Brand - Tux [Thu, 21 Nov 2019 15:00:45 +0000 (16:00 +0100)]
isless probe in Configure broken #17216

3 years agoUpdate README to reflect new location on github
H.Merijn Brand - Tux [Tue, 29 Oct 2019 17:08:25 +0000 (18:08 +0100)]
Update README to reflect new location on github