2006-08-03 Paolo Bonzini <bonzini@gnu.org>
Corinna Vinschen <vinschen@redhat.com>
* lib/getline.c (getline): Remove Windows special casing.
* lib/utils.c (register_open_file, ck_fdopen): New.
(ck_fopen, ck_mkstemp): Use register_open_file.
* lib/utils.h (ck_fdopen): New.
* sed/execute.c (open_next_file): Reopen stdin.
* sed/sed.h (read_mode): New.
* sed/sed.c (read_mode): New.
(main): Set it on --binary.
(usage): Document --binary.
* sed/compile.c (get_openfile): Change second argument to char
and turn it into a string within the function. Adjust callers.
* sed/execute.c (dump_append_queue, open_next_file): Use it
as mode for ck_fopen.
git-archimport-id: bonzini@gnu.org--2004b/sed--stable--4.1--patch-71
2005-05-18 Maciej W. Rozycki <macro@linux-mips.org>
* configure.ac: Use a cache variable for the libcP test.
* configure: Regenerate.
git-archimport-id: bonzini@gnu.org--2004b/sed--stable--4.1--patch-48