• Show log

    Commit

  • Hash : 07b31a94
    Author : Pádraig Brady
    Date : 2024-04-03T15:46:47

    quotearg: fix shell-escape quoting with single quotes
    
    With shell-escape quoting, we misquoted strings
    where the first and last characters required escaping,
    while the string also contained single quotes.
    
    * lib/quotearg.c (quotearg_buffer_restyled): Ensure that
    pending_shell_escape_end is reset to the initial state
    when reprocessing input due to single quotes.
    * tests/test-quotearg-simple.c: Add a minimal test case.
    * tests/test-quotearg.c: Likewise.
    * tests/test-quotearg.h: Likewise.
    Reported by Grisha Levit
    

  • README

  • The files in this directory are used in many GNU packages,
    including coreutils, diffutils, and tar.
    The autoconf tests required for these files are in ../m4.