First read all stdin when applying a patch, in order to avoid blocking

Created by  pmeunier  on February 27, 2023
RFLKHQ2YJ3C547LMBM47Q5GHOUVYVT5LIUQVAA3GBGKQTJX6NOMQC
Change contents