diff: fix small bug; don't make a copy for "/dev/null" case

1 file changed