Review Request 122481: Fix use of environ for OS X

Kevin Funk kfunk at kde.org
Mon Feb 9 00:06:39 UTC 2015


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/122481/#review75645
-----------------------------------------------------------


Why not port to `http://doc.qt.io/qt-5/qprocessenvironment.html#systemEnvironment` instead?

Looks like you could get rid off the string conversion/parsing here.

- Kevin Funk


On Feb. 8, 2015, 10:06 p.m., Jeremy Whiting wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/122481/
> -----------------------------------------------------------
> 
> (Updated Feb. 8, 2015, 10:06 p.m.)
> 
> 
> Review request for KDE Frameworks, David Faure, Marko Käning, and René J.V. Bertin.
> 
> 
> Repository: kio
> 
> 
> Description
> -------
> 
> On OS X 10.7 environ needs to be #defined as _NSGetEnviron() from <crt_externs.h> according to man environ. This is also required for kio to build on OS X 10.7
> 
> 
> Diffs
> -----
> 
>   src/widgets/kurlcompletion.cpp 1871c49a936e2ca322286e23ad6fe976ae2c7044 
> 
> Diff: https://git.reviewboard.kde.org/r/122481/diff/
> 
> 
> Testing
> -------
> 
> kio builds with this patch on OS X 10.7 and 10.10
> 
> 
> Thanks,
> 
> Jeremy Whiting
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20150209/7f5cdad0/attachment.html>


More information about the Kde-frameworks-devel mailing list