From: Tom Tromey Date: Fri, 27 Nov 1998 22:55:43 +0000 (+0000) Subject: * automake.in (quote_cond_val): Use "\002", not '\002', to X-Git-Tag: v1.10.2~2822 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=30cd657ed7fc50ac7c7b26c8a26749b17eb65a40;p=platform%2Fupstream%2Fautomake.git * 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. --- diff --git a/ChangeLog b/ChangeLog index 3fc0c2f..2e71e9e 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 8c6fe9b..51c95d6 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; }