Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37038225
en ru br
Репозитории ALT
S:4.4.0-alt2
5.1: 3.81-alt5
4.1: 3.81-alt2
4.0: 3.81-alt2
3.0: 3.81beta3-alt4
www.altlinux.org/Changes

Группа :: Разработка/Прочее
Пакет: make

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: make-3.82-cvs-28.patch
Скачать


2012-09-09  Paul Smith  <psmith@gnu.org>
	* scripts/features/escape: Check that backslashes before
	non-special characters are not removed.
--- a/tests/scripts/features/escape
+++ b/tests/scripts/features/escape
@@ -4,7 +4,8 @@ $description = "Test various types of escaping in makefiles.";
 $details = "\
 Make sure that escaping of ':' works in target names.
 Make sure escaping of whitespace works in target names.
-Make sure that escaping of '#' works.";
+Make sure that escaping of '#' works.
+Make sure that backslash before non-special characters are kept.";
 
 
 close(MAKEFILE);
@@ -62,5 +63,13 @@ foo foo\\:bar foo\\\\\\:bar foo\\\\\\\\\\:bar: ; @echo '$@'
 !,
               '', "foo:bar\nfoo\\:bar\nfoo\\\\:bar\nfoo\n");
 
+# Test backslash before non-special chars: should be kept as-is
+
+run_make_test(q!
+all: ..\foo
+.DEFAULT: ; @echo '$@'
+!,
+              '', '..\foo');
+
 # This tells the test driver that the perl test script executed properly.
 1;
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin