Switch to unified view
a/src/internfile/internfile.cpp | b/src/internfile/internfile.cpp | ||
---|---|---|---|
... |
... |
||
1036 | struct stat st; |
1036 | struct stat st; |
1037 | if (stat(fn.c_str(), &st)) { |
1037 | if (stat(fn.c_str(), &st)) { |
1038 | perror("stat"); |
1038 | perror("stat"); |
1039 | exit(1); |
1039 | exit(1); |
1040 | } |
1040 | } |
1041 | FileInterner interner(fn, &st, config, "/tmp"); |
1041 | FileInterner interner(fn, &st, config, "/tmp", 0);
|
1042 | Rcl::Doc doc; |
1042 | Rcl::Doc doc; |
1043 | FileInterner::Status status = interner.internfile(doc, ipath); |
1043 | FileInterner::Status status = interner.internfile(doc, ipath); |
1044 | switch (status) { |
1044 | switch (status) { |
1045 | case FileInterner::FIDone: |
1045 | case FileInterner::FIDone: |
1046 | case FileInterner::FIAgain: |
1046 | case FileInterner::FIAgain: |