Re: Safe conversion TQString to char* in TQt3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun February 3 2019 03:55:00 Slávek Banko wrote:
> Hello to all programmers,
>
> please give your attention and share your opinion to the proposed patch
> for TQt3. For a detailed description of the problem, see the
> pull-request:
>
> https://mirror.git.trinitydesktop.org/gitea/TDE/tqt3/pulls/6

Hi Slavek,

Sorry I don't have time to fully understand this code.  All the levels
of nested classes and shallow copying made my head spin but I don't
see any obvious problems there.  So just a couple of quick thoughts:

(1) I see a mutex and a lot of code that is not - at least to me -
    obviously thread safe.

(2) Having the cstring in the TQStringData but the assignments to
    ctring in the TQString methods seems awkward but may be the best
    solution available.

--Mike

---------------------------------------------------------------------
To unsubscribe, e-mail: trinity-devel-unsubscribe@xxxxxxxxxxxxxxxxxxxxxxxxxx
For additional commands, e-mail: trinity-devel-help@xxxxxxxxxxxxxxxxxxxxxxxxxx
Read list messages on the web archive: http://trinity-devel.pearsoncomputing.net/
Please remember not to top-post: http://trinity.pearsoncomputing.net/mailing_lists/#top-posting





[Index of Archives]     [Trinity Users]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [KDE]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]     [Trinity Desktop Environment]

  Powered by Linux