| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a follow-up to 12f55bbce575aecc, which fell victim to a
bug workaround. Because the broken pipes on VMS sometimes put
multiple blank lines in test output, we collapse multiple newlines
into one. Which breaks tests that genuinely have multiple blank
lines in the output.
So don't leave the output blank, which coincidentally makes it a
lot easier to see which print statement produces which line of
output.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Upstream, but we are adding a platform specific hints file.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
For S_ functions, remove the context.
For Perl_ functions, add PERL_UNUSED_CONTEXT.
Tricky because sometimes depends on DEBUGGING, and sometimes
on whether we are have PERL_IMPLICIT_SYS.
(Why all the mathoms Perl_is_uni_... and Perl_is_utf8_...
functions are not being whined about is a mystery.)
vutil.c (included via util.c) has one of these, but it's cpan/,
and a known problem: https://rt.cpan.org/Ticket/Display.html?id=96100
|
|
|
|
|
|
| |
This reverts commit 148f39b7de6eae9ddd59e0b0aff691d6abea7aca.
(Still needs more work, but wanted to see how well this passed with Jenkins.)
|
|
|
|
|
|
| |
Definitely not *after* it. It marks the start of the unreachable,
not the first unrechable line. And if they are in that order,
it looks better to linebreak after the lint hint.
|
|
|
|
| |
(Worked in smokes, bombed under Jenkins.)
|
|
|
|
|
|
|
| |
Furthermore, make the GCC_DIAG_IGNORE and _RESTORE to be dNOOPs,
so that they can be at any level of the code, including global, even
when the compiler is not gcc (or lookalike). If they are just empty,
";" will be left at the call site.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This problem turns out to be a misspelling in two places of a compiler
definition. Since the definition didn't exist (as it was misspelled),
the #ifdef failed.
I don't know how really to test this as it is locale collation, which
varies by locale, and we would be relying on vendor-supplied locales
which may be inconsistent between platforms. I intend to tackle
improvements to collaction later this release cycle, and should come up
with tests at that time. The failing tests in the module were comparing
the Perl sort results with those of the module, and finding they differ.
|
| |
|
| |
|
|
|
|
| |
This fixes the GCC_DIAG_IGNORE() + GCC_DIAG_RESTORE with clang.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Has been AFAICT for years / always, the documentation just
had it wrong in pre-4.0 gccs.
|
|
|
|
|
| |
For C89 compliancy, this is the most common thinko people make.
While waiting for -pedantic -std=c89, which will catch the same.
|
| |
|
|
|
|
| |
"clean" as in "not needed anymore".
|
| |
|
|
|
|
|
|
| |
Another possibility is that clang has become smarter,
and that needs to be made dependent on clang version.
But for now, let's opt for simplicity and less logic.
|
|
|
|
|
| |
Even though it can't be reached, the absence of a return statement
makes the VMS C compiler warn that it's missing.
|
| |
|
|
|
|
|
|
|
|
| |
(Except for the possible toke_cflags customizations.)
Do the -Wno-unused-... edits only if -Wall.
Echo the edits done during extraction time, to make the magic more visible.
|
| |
|
|
|
|
| |
Indent inside a newly-formed block
|
|
|
|
|
| |
Some platforms don't have LC_MESSAGES for some or all locales, so skip
these tests on them.
|
|
|
|
|
|
| |
It turns out that the bug is in OS X for this Chinese Big5 locale. So
this patch just makes the failing test one that we don't fail the whole
.t for unless too many locales fail.
|
|
|
|
|
|
|
| |
On netbsd, not all locales have an LC_TIME, and so they are all failing
the tests for that. This is true even though they have LC_ALL. I don't
know if that is legal or not, but Perl can't do anything about it, so
this skips the LC_TIME tests for locales that don't have it.
|
|
|
|
|
| |
This can also output alpha text, so should be included in the alpha
tests for strftime.
|
|
|
|
| |
This will aid in debugging on platforms where strftime has problems
|
|
|
|
|
| |
This prints out a string unambiguously, both well and ill-formed UTF-8.
The next commit will use it.
|
|
|
|
|
|
|
|
| |
The debugging statements should begin with a '#' so TAP ignores them.
It's easier to do this in the subroutine that prints them, rather than
remember to do so in each call to it. This doesn't change the few
debugf() calls, because one doesn't want a # (it just outputs an empty
line)
|
|
|
|
|
|
| |
There are quite a few tests that depend on LC_NUMERIC. Some platforms
will say they have LC_ALL, but that doesn't include all the official
categories, so check that does include LC_NUMERIC
|
|
|
|
|
| |
These tests can go in the same straight-line code as they are the same
in both branches they were previously in.
|