* main_loop.c (exec_command): Return ERR if 'system' can't
create a shell process.
* main_loop.c (main_loop): Flush stdout/stderr before reading a
new command.
* buffer.c (put_sbuf_line): Added size parameter.
* ed.1: Man page is now generated with 'help2man'.
* ed.1: All command-line options are now documented in the man page.
* Restored copyright notices of Andrew L. Moore. It seems Andrew
granted some permissions but never assigned copyright to the FSF.
* buffer.c (append_lines): Fixed 'a', 'c' and 'i' commands.
(When used in a global command list, the commands following
them in the list were ignored).
* main_loop.c (exec_command): Fixed 'e' command.
(It quitted when invoked a second time with a modified buffer).
* main.c: Added new option '--restricted'.
* 'red' has been converted to a script invoking 'ed --restricted'.
* Description of ed in the manual has been changed.
* testsuite: Modified some tests and removed obsolete posix tests.
* main_loop.c: 'ibufp' variable made local to main_loop.
* Defined type bool to make clear which functions and variables
are Boolean.
* Added 'const' to all pointer declarations accepting it.
* regex.c (replace_matching_text): Make se_max an enum.
* signal.c: Include termios.h
* Converted C99 style comments '//' to C89 style comments '/* */'.
* ed.texinfo: Fixed an erratum.
* Changed copyright holder from Andrew, Antonio to the FSF.
* buffer.c, main_loop.c: Undo now restores the modified status.
* regex.c (search_and_replace): Fixed a race condition with user
interrupt.
* signal.c: Added functions resize_line_buffer and
resize_undo_buffer to definitively fix the aliasing warnings.
* Some minor corrections have been made to the manual.
* carg_parser.c (ap_resize_buffer): An aliasing related segfault
that only occurs when overoptimizing with GCC on some
architectures (alpha, sparc) has been (hopefully) fixed.
* signal.c (resize_buffer): Likewise.
* configure: Locale has been fixed to 'C'.
* Makefile.in: Man page is now installed by default.
* 'make install-info' should now work on Debian and OS X.
* ed.texinfo: License updated to GFDL version 1.3 or later.
Both patches changed. I made new patches to support being able
to install to program_prefix. (I supplied these upstream too.)
From change log:
2008-02-24 Antonio Diaz
* Version 0.9 released.
* signal.c (sighup_handler): Return 0 if no error.
* Arg_parser updated to 1.1.
2007-08-18 Antonio Diaz
* Version 0.8 released.
* check.sh: Testsuite exits unsuccesfully in case of error.
* ed.1: Fixed some minor problems in the manual page.
* ed.texinfo: Added 21kB of legalese (fdl.texinfo).
2007-07-18 Antonio Diaz
* Version 0.7 released.
* buf.c (dec_addr): Now returns correct address when wrapping.
2007-06-29 Antonio Diaz
* Version 0.6 released.
* License updated to GPL version 3 or later.
* signal.c (sigwinch_handler, set_signal):
Fixed two minor compatibility problems.
* main_loop.c (main_loop):
Fixed an infinite loop when reading an empty script.
2007-03-09 Antonio Diaz
* Version 0.5 released.
* main_loop.c (next_addr): '%' reimplemented as it was in ed 0.2.
2007-01-15 Antonio Diaz
* Version 0.4 released.
* Fixed some minor problems in the testsuite.
2006-11-11 Antonio Diaz
* Version 0.3 released.
* buf.c (open_sbuf):
Fixed symlink vulnerability using standard function `tmpfile'.
* signal.c: Fixed signal handling for SIGINT.
* main_loop.c (exec_command): Fixed `c' and `i' commands with address 0.
* The pause mode has been removed.
* main.c: Added new options `--loose-exit-status' and `--verbose'.
* carg_parser.c: New argument parser that replaces `getopt_long'.
* `configure' and `Makefile.in' have been replaced.
* Removed recursive make for testsuite.
* Created directory `doc'.
* Removed all pre ISO C89 code.
* Removed all global variables.
* ed.texinfo: Added to the manual the changes from Andrew and some mine.
and replace with appropriate references to PKGINFODIR instead.
* Properly account for split info files during installation.
* Move info file listings directly into the package PLISTs.
This fixes info-file-related PLIST problems.
"yes"). So any packages that have old GNU configure script that
does not support --infodir option (while using INFO_FILES) can set
CONFIGURE_HAS_INFODIR=NO.
This was suggested by agc@ as a clearer definition.