Prevent ptp.c from closing file descriptors it didn't open in the first place
2 files changed