zp_fontconfig_cache_1.sh exit code 2

Ken Brown kbrown@cornell.edu
Sun Jun 12 23:15:00 GMT 2016


On 6/12/2016 5:32 PM, Mark McGregor wrote:
> ... and after one more installation, I get exit code 1. Don't ask me why.

The exit code is the number of font caches that fontconfig thinks it 
failed to write.
In fact, I'm pretty sure it actually did successfully write the cache, 
and the error message is bogus. You can test this by adding the -v flag 
to the fc-cache invocation in zp_fontconfig_cache_1.sh:
 /usr/libexec/fc-cache-1 -sv
I think you'll find that if you rerun zp_fontconfig_cache_1.sh after it 
has reported "failed to write cache" on a certain font directory, it 
will then give a message saying the cache is up to date and doesn't need 
to be rewritten.
That's what I've found, anyway.
Ken
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /