* automake.in (quote_cond_val): Use "\002", not '\002', to
authorTom Tromey <tromey@redhat.com>
Fri, 27 Nov 1998 22:55:43 +0000 (22:55 +0000)
committerTom Tromey <tromey@redhat.com>
Fri, 27 Nov 1998 22:55:43 +0000 (22:55 +0000)
represent null string.
(unquote_cond_val): Removing all "\002" strings from result.  Test
cond7.test.

ChangeLog
automake.in

index 3fc0c2f..2e71e9e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 1998-11-27  Tom Tromey  <tromey@cygnus.com>
 
+       * 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.
index 8c6fe9b..51c95d6 100755 (executable)
@@ -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;
 }