In perl.git, the branch alh/rt-126579-newline-filename-warnings has been created

<http://perl5.git.perl.org/perl.git/commitdiff/ab3be07ebaf7e0b17d0482e6a74e69074f0f6e33?hp=0000000000000000000000000000000000000000>

        at  ab3be07ebaf7e0b17d0482e6a74e69074f0f6e33 (commit)

- Log -----------------------------------------------------------------
commit ab3be07ebaf7e0b17d0482e6a74e69074f0f6e33
Author: Matthew Horsfall <[email protected]>
Date:   Sun Apr 24 12:57:56 2016 -0400

    RT: #126579 Warn on failed 3-arg-open with newlines, not 2-arg.
    
    openn_cleanup claims it wants the oname (original name?) of the
    file, but was actually taking whatever the second argument to
    open() was.
    
    Instead, pass it the actual file name that we attempt to open
    (if any).
    
      * For 2-arg open, the \n is stripped, so we will never warn.
      * For 3-arg open, the \n is not stripped, so we should warn.
-----------------------------------------------------------------------

--
Perl5 Master Repository

Reply via email to