[NTG-pdftex] 1.30.0-rc5

Akira Kakuto kakuto at fsci.fuk.kindai.ac.jp
Tue Jul 26 16:02:33 CEST 2005


>http://sarovar.org/download.php/667/pdftex-1.30.0-rc5.zip
>
>A last rc, which should be very final.

I think access violation occurs if one uses an primitive
which calls makecfilename() in utils.c.
If I use the following, it became ok.

char *makecfilename(strnumber s) {
    char *name = makecstring(s);
#ifdef WIN32
    /* unquote file name */
    if (*name == '"') {
        char *p = name;
        char *q = name;
        while (p && *p) {
            *q = (*p == '"' ? *(++p) : *p);
            p++, q++;
        }
        *q = '\0';
    }
    fprintf(stderr, " %s\n", name);
#endif
    return name;
}

-- 
Akira Kakuto


More information about the ntg-pdftex mailing list