[DVIPDFMx] [ulrich.seidl: [tex-live] dvipdfmx on solaris9]

Ulrich Seidl ulrich.seidl at gmail.com
Sat May 29 08:08:31 KST 2010


Hi there,

just tried the following:

#include <stdio.h>

int main ( int argc, int argv )
{
  FILE *file;
  unsigned char minor;
  file = fopen( "/tmp/test.txt", "r");
  rewind(file);
  fscanf(file, "%hu", &minor);
  return 0;
}


whereas "/tmp/test.txt" just contained a "4". Even though this works on
Linux, this leads to a Segmentation Fault on Solaris 9. Seems not to be
a viable solution. As already mentioned in the last mail, "%h" is not
available on Solaris 9.

Best regards,

Ulrich

> On Fri, May 28, 2010 at 08:51:13AM +0200, Ulrich Seidl wrote:
>   
>>> changed to "%hu" in cvs
>>>       
>   
>> not sure whether this works. 
>>     
> The "h" is the size modifier.
>   



More information about the dvipdfmx mailing list