macpeers / ttf2eot

Automatically exported from code.google.com/p/ttf2eot
0 stars 0 forks source link

%m in sprintf is only available with GNU libc #13

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. On Mac OS X, do anything with ttf2eot that causes an error message, for 
example "ttf2eot 
nonexistentfile"

What is the expected output? What do you see instead?

Expected: could not open input file nonexistentfile
Actual: could not open input file nonexistentfile, m

What version of the product are you using? On what operating system?

0.0.2-2 on Mac OS X (tested 10.4.11 and 10.5.8)

Please provide any additional information below.

The sprintf commands in ttf2eot use "%m" which I see is a GNU libc extension:

http://www.gnu.org/s/libc/manual/html_node/Table-of-Output-Conversions.html

Mac OS X does not use GNU libc and "%m" is not available in sprintf on Mac OS X.

Original issue reported on code.google.com by ryandesi...@gmail.com on 23 Aug 2009 at 10:00