From 5186f9d1148dfcd0907922fb499ee1e0a96f7090 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Fri, 27 Nov 1998 22:55:41 +0000 Subject: [PATCH] * automake.in (quote_cond_val): Use "\002", not '\002', to represent null string. (unquote_cond_val): Removing all "\002" strings from result. Test cond7.test. --- ChangeLog | 5 +++++ automake.in | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3fc0c2fa..2e71e9e8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 1998-11-27 Tom Tromey + * automake.in (quote_cond_val): Use "\002", not '\002', to + represent null string. + (unquote_cond_val): Removing all "\002" strings from result. Test + cond7.test. + * automake.texi: Formatting changes for latest texinfo. * automake.in (handle_java): Removed debugging print. diff --git a/automake.in b/automake.in index 8c6fe9be..51c95d62 100755 --- a/automake.in +++ b/automake.in @@ -5082,7 +5082,7 @@ sub quote_cond_val local ($val) = @_; $val =~ s/ /\001/g; $val =~ s/\t/\003/g; - $val = '\002' if $val eq ''; + $val = "\002" if $val eq ''; return $val; } @@ -5092,7 +5092,7 @@ sub unquote_cond_val local ($val) = @_; $val =~ s/\001/ /g; $val =~ s/\003/\t/g; - $val = '' if $val eq '\002'; + $val =~ s/\002//g; return $val; } -- 2.43.5