|
Author | Thread |
---|---|
cha05e90 |
Published: 2012/4/15 16:20 Updated:
2012/4/15 16:20
|
Quite a regular
Joined: 03/10/2009
From: Germany
Comments: 651
|
Re: NetSurf 2.9
Thanks to this new release! Works up to now really nice - just oe remark:
In my SObjs: drawer libpng.so is linked to libpng.15.so, which Netsurf 2.9 doesn't like. I just copied the supplied libpng.12.so into the Netsurf root drawer to circumvent this. |
Chris |
Published: 2012/4/15 17:11 Updated:
2012/4/15 17:11
|
Amigans Defender
Joined: 11/17/2006
From: England
Comments: 3409
|
Re: NetSurf 2.9
Anything that uses Cairo won't like that. Our version of libcairo looks for libpng.so but doesn't work with libpng 1.4 or higher. Hence you *must* have libpng.so linked to libpng12.so.
|
xenic |
Published: 2012/4/15 18:14 Updated:
2012/4/15 18:14
|
Just can't stay away
Joined: 01/06/2008
From: Pennsylvania, USA
Comments: 1356
|
Re: NetSurf 2.9
@Chris
Just put the sobjs in a NetSurf directory (Sobjs) and load them from there to eliminate any confusion. In fact, put the Amiga libraries in a NetSurf directory too. Why crowd the SYS: partition with libraries that only one program will use? |
Chris |
Published: 2012/4/15 20:12 Updated:
2012/4/15 20:12
|
Amigans Defender
Joined: 11/17/2006
From: England
Comments: 3409
|
Re: NetSurf 2.9
@xenic
Quote: Just put the sobjs in a NetSurf directory (Sobjs) and load them from there to eliminate any confusion. libcairo is part of the OS, as is libpng12 (I include a newer build of libpng12 due to bugs in the OS shipped version). If I'd put the SObjs into NetSurf's directory this issue would still have occured, as libcairo would still have been in SObjs: and does not work with libpng 1.4+. Quote: In fact, put the Amiga libraries in a NetSurf directory too. Why crowd the SYS: partition with libraries that only one program will use? There's nothing to stop other programs from using them, even if nothing else on AmigaOS does yet (excluding nsbmp.library, iconv.library and the non-NetSurf SObjs). In fact, I uploaded the includes for hubbub.library and parserutils.library last week. If they were private libraries with no public API I'd agree with you. |
colinw |
Published: 2012/4/18 5:53 Updated:
2012/4/18 5:53
|
Just popping in
Joined: 06/05/2007
From: Brisbane, AUSTRALIA
Comments: 126
|
Re: NetSurf 2.9
Coders, please be aware that the clib function
strncpy() does not guarantee nul-termination, you need strlcpy() for where it is being used instead. http://www.cplusplus.com/reference/clibrary/cstring/strncpy/ |