| 20 | // |
| 21 | |
| 22 | ppdcFile::ppdcFile(const char *f, // I - File to open |
| 23 | cups_file_t *ffp) // I - File pointer to use |
| 24 | { |
| 25 | if (ffp) |
| 26 | { |
| 27 | fp = ffp; |
| 28 | cupsFileRewind(fp); |
| 29 | } |
| 30 | else |
| 31 | fp = cupsFileOpen(f, "r"); |
| 32 | |
| 33 | close_on_delete = !ffp; |
| 34 | filename = f; |
| 35 | line = 1; |
| 36 | |
| 37 | if (!fp) |
| 38 | _cupsLangPrintf(stderr, _("ppdc: Unable to open %s: %s"), f, |
| 39 | strerror(errno)); |
| 40 | } |
| 41 | |
| 42 | |
| 43 | // |
nothing calls this directly
no test coverage detected