Files
sed/lib
Paul Eggert d43a870aa2 sed: simplify reading commands from file
This refactoring should help make future changes easier.
* bootstrap.conf (gnulib_modules): Add read-file.
* configure.ac (HAVE_FOPEN_RT): Remove; no longer used.
* lib/.gitignore: Adjust for read-file files.
* sed/compile.c: Include errno.h, read-file.h.
(struct prog_info.file): Remove.  All uses removed.
(inchar, savchar, compile_program): Just read from the string.
Assume ! (NULL < NULL) && (NULL - NULL) == 0,
as per Gnulib guidelines.  This should speed things up here.
(compile_file): Read the file into a string, and process the string.
2026-08-17 01:17:23 -07:00
..
2026-01-02 17:33:20 -08:00