components/make/patches/36106.patch
branchs11-sru
changeset 2321 87c74fb0d4b7
equal deleted inserted replaced
2320:b7ab9ce71c42 2321:87c74fb0d4b7
       
     1 This patch is submitted upstream as:
       
     2 
       
     3 bug #36106: make target-specific variables fail if over 150 characters and contain semicolon
       
     4 http://savannah.gnu.org/bugs/index.php?36106
       
     5 
       
     6 --- a/read.c	2010-07-13 03:20:42.000000000 +0200
       
     7 +++ b/read.c	2012-04-05 23:25:12.155011371 +0200
       
     8 @@ -1071,12 +1071,12 @@
       
     9                 after it.  */
       
    10              if (semip)
       
    11                {
       
    12 -                unsigned int l = p - variable_buffer;
       
    13 +                unsigned int l = p2 - variable_buffer;
       
    14                  *(--semip) = ';';
       
    15                  collapse_continuations (semip);
       
    16                  variable_buffer_output (p2 + strlen (p2),
       
    17                                          semip, strlen (semip)+1);
       
    18 -                p = variable_buffer + l;
       
    19 +                p2 = variable_buffer + l;
       
    20                }
       
    21              record_target_var (filenames, p2,
       
    22                                 vmod.override_v ? o_override : o_file,