develooper Front page | perl.perl5.porters | Postings from August 2016

[perl #128598] Quadmath builds fail porting/libperl.t

Thread Previous
Tony Cook via RT
August 9, 2016 20:42
[perl #128598] Quadmath builds fail porting/libperl.t
Message ID:
On Thu Jul 14 19:58:13 2016, wrote:
> I believe we call some compilers on some platforms with just "-O".  I
> suspect that it's best to skip unless there is an explicit "-O0".

I believe the real problem is using strcat() at all, I suspect from this

+     * This is one of the few places in the perl core, where we can use
+     * standard functions like strlen() and strcat().  It's because we're
+     * looking for NULs. */

that you misunderstood why we avoid strcpy(), strcat().

We have my_strlcat() and my_strlcpy() that deal with NUL terminated strings
and are used throughout the perl core.

The attached replaces strcat() with my_strlcat() and removes the exception in


via perlbug:  queue: perl5 status: open

Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About