diff options
author | Robin Watts <robin.watts@artifex.com> | 2015-02-26 10:19:16 +0000 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2015-02-26 10:19:16 +0000 |
commit | f8809680945937d49f70be417e2f8ffda8a57558 (patch) | |
tree | badd75fe8e180c288207369f53e011951c6a0250 /source/pdf/pdf-op-run.c | |
parent | c47220017efa6daccd6e12ebb93b0d82b892dad3 (diff) | |
download | mupdf-f8809680945937d49f70be417e2f8ffda8a57558.tar.xz |
tweak pdf_parse_file_spec
pdf_parse_file_spec sometimes extracts the wrong path from a FileSpec:
E.g. the /DOS path should never be returned under Unix systems, neither
should be the old /Mac paths.
For consistency, this patch also converts filesystem paths under
Windows into a format applications will expect (e.g. from "/C/path/..."
to "C:\path\...").
Finally, pdf_parse_file_spec is exposed to callers (SumatraPDF requires
that for manually processing FZ_ANNOT_FILEATTACHMENT and embedded files).
Diffstat (limited to 'source/pdf/pdf-op-run.c')
0 files changed, 0 insertions, 0 deletions