| 282 | } |
| 283 | |
| 284 | int get_tempfile_fd(struct tempfile *tempfile) |
| 285 | { |
| 286 | if (!is_tempfile_active(tempfile)) |
| 287 | BUG("get_tempfile_fd() called for inactive object"); |
| 288 | return tempfile->fd; |
| 289 | } |
| 290 | |
| 291 | FILE *get_tempfile_fp(struct tempfile *tempfile) |
| 292 | { |