Changes between Version 1 and Version 2 of Ticket #60852, comment 10


Ignore:
Timestamp:
Feb 22, 2022, 11:39:29 PM (2 years ago)
Author:
nospam2000 (Michael Dreher)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #60852, comment 10

    v1 v2  
    2929}}}
    3030
    31 Just until the next build error and the next patch:
    32 
    33 {{{
    34 --- tcp_connection.cc.orig      2022-02-23 00:14:50.000000000 +0100
    35 +++ tcp_connection.cc   2022-02-23 00:17:49.000000000 +0100
    36 @@ -45,7 +45,7 @@
    37      size_t len = pmt::blob_length(vector);
    38 
    39      // Asio async_write() requires the buffer to remain valid until the handler is called.
    40 -    std::shared_ptr<char[]> txbuf(new char[len]);
    41 +    std::shared_ptr<char*> txbuf(new char[len]);
    42 
    43      size_t temp = 0;
    44      memcpy(txbuf.get(), pmt::uniform_vector_elements(vector, temp), len);
    45 
    46 }}}
    47 
    48 until next error...
     31Just until the next build error...