>>> "Eric" == Eric Blake <[EMAIL PROTECTED]> writes:
[...] Eric> So my previous patch did not solve the file read problem, and it hurt Eric> the file write problem as well (Makefile.in was being generated with Eric> some lines having \r\r\n, and perl's chomp only removes one of the two Eric> \r). Only *some*, not all? It would be intersting to see which lines get these characters (do these lines come from Makefile.am, or are they inserted by Automake?). I suspect \r\r\n is a \r\n on which perl has applied automatic \n -> \r\n translation on output (because you removed binmode). However I fail to see where the original \r\n comes from. -- Alexandre Duret-Lutz