bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #58497] inconsistent newline removal in $(file <)


From: Paul D. Smith
Subject: [bug #58497] inconsistent newline removal in $(file <)
Date: Mon, 15 Mar 2021 03:35:13 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36

Update of bug #58497 (project make):

                  Status:                    None => Fixed                  
             Assigned to:                    None => psmith                 
             Open/Closed:                    Open => Closed                 
           Fixed Release:                    None => SCM                    
           Triage Status:                    None => Small Effort           

    _______________________________________________________

Follow-up Comment #3:

Thanks for the patch (Ken) and regression test (Dmitry).

I used Ken's idea of keeping a count: I think that since we need to compare
"buffer pointer - 1", not just equality, it's still possible get the wrong
behavior using pointer comparison.

I installed Dmitry's regression tests, with a few tweaks to avoid
system-specific behaviors (echo -n is not portable) and use a few handy Perl
and test suite methods.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?58497>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]