Mageia Bugzilla – Attachment 5121 Details for
Bug 11867
make 3.82 target-specific variables fail if over 150 characters and contain semicolon
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
Patch to make 3.82 to fix this bug.
make-3.82-readc.patch (text/plain), 805 bytes, created by
Kevin Bulgrien
on 2014-04-17 07:10:09 CEST
(
hide
)
Description:
Patch to make 3.82 to fix this bug.
Filename:
MIME Type:
Creator:
Kevin Bulgrien
Created:
2014-04-17 07:10:09 CEST
Size:
805 bytes
patch
obsolete
>diff -Naur make-3.82-orig/read.c make-3.82/read.c >--- make-3.82-orig/read.c 2010-07-13 03:20:42.000000000 +0200 >+++ make-3.82/read.c 2012-04-05 23:25:12.155011371 +0200 >@@ -1071,12 +1071,12 @@ > after it. */ > if (semip) > { >- unsigned int l = p - variable_buffer; >+ unsigned int l = p2 - variable_buffer; > *(--semip) = ';'; > collapse_continuations (semip); > variable_buffer_output (p2 + strlen (p2), > semip, strlen (semip)+1); >- p = variable_buffer + l; >+ p2 = variable_buffer + l; > } > record_target_var (filenames, p2, > vmod.override_v ? o_override : o_file,
diff -Naur make-3.82-orig/read.c make-3.82/read.c --- make-3.82-orig/read.c 2010-07-13 03:20:42.000000000 +0200 +++ make-3.82/read.c 2012-04-05 23:25:12.155011371 +0200 @@ -1071,12 +1071,12 @@ after it. */ if (semip) { - unsigned int l = p - variable_buffer; + unsigned int l = p2 - variable_buffer; *(--semip) = ';'; collapse_continuations (semip); variable_buffer_output (p2 + strlen (p2), semip, strlen (semip)+1); - p = variable_buffer + l; + p2 = variable_buffer + l; } record_target_var (filenames, p2, vmod.override_v ? o_override : o_file,
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 11867
: 5121 |
5122