[Fontconfig] fontconfig: Branch 'master'

Alan Coopersmith alan.coopersmith at oracle.com
Tue Jan 22 11:17:37 PST 2013


On 01/22/13 11:00 AM, Raimund Steger wrote:
> Raimund Steger wrote:
>>
>> On Tue, January 22, 2013 02:37, Akira TAGOH wrote:
>>> which one is preferred on Solaris? I see both APIs is available on Solaris
>>> 11 say.
>>
>> Oh you're right, this seems to be an addition in Solaris 11. I just built
>> it successfully without patch there.
>> I'm mostly running Solaris 10, so I didn't notice initially.
> 
> I forgot to say, on Solaris 11 getprogname seems to work like the BSD version,
> so fontconfig can perfectly default to it.

Yes, getprogname will let you use setprogname to change the reported string,
while getexecname always returns the string passed to exec().

getexecname() is often a full pathname, while I believe getprogname() is usually
just the basename.

-- 
	-Alan Coopersmith-              alan.coopersmith at oracle.com
	 Oracle Solaris Engineering - http://blogs.oracle.com/alanc


More information about the Fontconfig mailing list