Allow escaped delimiters in transform expressions.

Patch provided by Charles McGarvey and Flavio Poletti.

* src/transform.c (parse_transform_expr): Allow escaped delimiters
in transform expressions.
* tests/xform02.at: New test case.
* tests/Makefile.am: Add xform02.at
* tests/testsuite.at: Include xform02.at
* THANKS: Update.
This commit is contained in:
Sergey Poznyakoff
2016-01-20 11:16:02 +02:00
parent 445293654d
commit 63f2e969dd
5 changed files with 50 additions and 8 deletions

View File

@@ -1,7 +1,7 @@
# Process this file with autom4te to create testsuite. -*- Autotest -*-
# Test suite for GNU tar.
# Copyright 2004-2008, 2010-2015 Free Software Foundation, Inc.
# Copyright 2004-2008, 2010-2016 Free Software Foundation, Inc.
# This file is part of GNU tar.
@@ -247,6 +247,7 @@ m4_include([append04.at])
AT_BANNER([Transforms])
m4_include([xform-h.at])
m4_include([xform01.at])
m4_include([xform02.at])
AT_BANNER([Exclude])
m4_include([exclude.at])