Paolo Bonzini
db462e5466
update .pot file
...
2009-10-14 Paolo Bonzini <bonzini@gnu.org >
* po/sed.pot: Update.
2009-10-14 11:18:30 +02:00
Paolo Bonzini
db7165280c
more configury simplification
...
2009-10-14 Paolo Bonzini <bonzini@gnu.org >
* configure.ac: Use cache variables rather than AC_CHECK_FUNC.
2009-10-14 11:11:42 +02:00
Paolo Bonzini
089b72a0fe
simplify some configury
...
2009-10-14 Paolo Bonzini <bonzini@gnu.org >
* configure.ac: Remove obselete configure tests.
* sed/fmt.c: Assume limits.h is always present.
* sed/utils.c: Assume vfprintf is always present.
2009-10-14 11:06:05 +02:00
Yury G. Kudryashov
8507c64bf5
override LC_ALL in testsuite rather than LANG
...
2009-10-14 Yuri G. Kudryashov <urkud.urkud@gmail.com > (tiny change)
* testsuite/Makefile.tests: Override LC_ALL, not LANG.
2009-10-14 10:52:16 +02:00
Ralf Wildenhues
0827424285
manual fixes
...
2009-10-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de >
* doc/sed-in.texi (Invoking sed): Add index entries for --posix,
-s, --separate.
(Other Commands): Fix typo.
* doc/sed.texi: Regenerate.
2009-10-12 11:03:58 +02:00
Paolo Bonzini
365065b1d4
document how to separate commands
...
2009-09-07 Dmitry Chistikov <dd1email@gmail.com > (tiny change)
* doc/sed-in.texi: Document how to separate commands.
2009-09-07 08:55:31 +02:00
Paolo Bonzini
aa30554331
configury tweaks
...
2009-08-30 Paolo Bonzini <bonzini@gnu.org >
* autoboot.conf: Add ssize_t.
* configure.ac: Remove useless stuff, bump gettext requirement to 0.17.
2009-08-31 10:16:39 +02:00
Bake Timmons
593ca11bb8
Fix documentation typo.
...
2009-08-10 Bake Timmons <b3timmons@speedymail.org > (tiny change)
* doc/sed-in.texi: Fix typo.
2009-08-10 20:08:03 +02:00
Pádraig Brady
737ca5ec59
make -u unbuffer input files as per the documentation
...
* sed/execute.c: call setvbuf() to turn off input buffering
* sed/sed.c: rename unbuffered_output to more accurate unbuffered
* sed/sed.h: ditto
2009-07-22 18:41:52 +02:00
Paolo Bonzini
feaa20792f
bump version number to 4.2.1
...
2009-06-27 Paolo Bonzini <bonzini@gnu.org >
* configure.ac: Bump version.
* NEWS: Bump version.
* gnulib: Update.
* doc/sed.1: Regenerate.
v4.2.1
2009-06-27 15:25:59 +02:00
Paolo Bonzini
fa01dd7e73
preserve security contexts too on sed -i
...
2009-06-25 Paolo Bonzini <bonzini@gnu.org >
* autoboot.conf: Add selinux-h.
* execute.c: Copy over file creation context before creating a new file.
2009-06-26 12:13:56 +02:00
Paolo Bonzini
5156c19b23
security fixes for partially created files
...
2009-06-25 Paolo Bonzini <bonzini@gnu.org >
* execute.c: Do not copy ACLs until the file is copied.
* utils.c (ck_mkstemp): Set a restrictive umask on temporary files.
2009-06-26 12:03:10 +02:00
Paolo Bonzini
06f17e218d
do not use GIT_CONFIG_LOCAL
...
2009-06-26 Paolo Bonzini <bonzini@gnu.org >
* autoboot: Do not use GIT_CONFIG_LOCAL.
2009-06-26 12:01:50 +02:00
Paolo Bonzini
db28fcc669
add memchr module from gnulib again
...
2009-06-15 Paolo Bonzini <bonzini@gnu.org >
* autoboot.conf: Add memchr again.
* gnulib: Update.
2009-06-15 11:05:36 +02:00
Paolo Bonzini
a9841cc3f2
fix off-by-one bug causing -i problems under Cygwin
...
2009-06-11 Sergey Farbotka <z8sergey8z@gmail.com > (tiny change)
* sed/execute.c (open_next_file): Fix off-by-one causing problems
under Cygwin.
2009-06-11 12:09:31 +02:00
Paolo Bonzini
601f290184
fix bug with s/[[[]//
...
2009-05-11 Paolo Bonzini <bonzini@gnu.org >
* sed/compile.c (snarf_char_class): Fix logic bug with [[[ in regular
expressions (and a possibly uninitialized use of variable delim stemming
from the bug). Uninitialized variable bug reported by Zhongxing Xu.
* testsuite/brackets.good: New.
* testsuite/brackets.inp: New.
* testsuite/brackets.sed: New.
* testsuite/Makefile.am: Add test.
* testsuite/Makefile.tests: Add test.
2009-05-11 Paolo Bonzini <bonzini@gnu.org >
2009-05-11 10:47:06 +02:00
Paolo Bonzini
ff839b08be
fix copyright years and notice
...
2009-05-11 Paolo Bonzini <bonzini@gnu.org >
* configure.ac: Define COPYRIGHT_YEAR.
* Makefile.am (dist-hook): Test it.
* sed/mbcs.c: Fix copyright years.
* sed/sed.c: Fix copyright years. Change COPYRIGHT_NOTICE to
COPYRIGHT_YEAR.
* sed/utils.c: Fix copyright years.
* testsuite/version.gin: Use COPYRIGHT_YEAR.
2009-05-11 10:47:05 +02:00
Paolo Bonzini
5a30fa2129
bump version number
4.2
v4.2
2009-05-11 09:05:08 +02:00
Paolo Bonzini
af03c28be2
declare bool arguments as int instead to please AIX XLC
...
2009-04-30 Paolo Bonzini <bonzini@gnu.org >
* sed/compile.c: Declare bool arguments as int instead to please AIX XLC.
* sed/execute.c: Declare bool arguments as int instead to please AIX XLC.
* sed/utils.c: Declare bool arguments as int instead to please AIX XLC.
* sed/utils.h: Declare bool arguments as int instead to please AIX XLC.
2009-04-30 10:47:30 +02:00
Paolo Bonzini
4381be08bd
bump version
v4.1f
2009-04-28 08:55:08 +02:00
Paolo Bonzini
d42713f37e
fix readin test properly
...
2009-04-27 Paolo Bonzini <bonzini@gnu.org >
* configure.ac: Do not create homonymous links from builddir to srcdir.
* testsuite/Makefile.tests: Create readin.in2 here.
* testsuite/Makefile.am: Do not distribute it.
2009-04-28 08:55:08 +02:00
Paolo Bonzini
f83ff94827
add rename module from gnulib
...
2009-04-27 Paolo Bonzini <bonzini@gnu.org >
* autoboot.conf: Add rename.
* gnulib: Update.
2009-04-27 Paolo Bonzini <bonzini@gnu.org >
2009-04-28 08:55:07 +02:00
Paolo Bonzini
03c3b0f2dc
XFAIL utf8 tests where appropriate
...
2009-04-27 Paolo Bonzini <bonzini@gnu.org >
* configure.ac: XFAIL UTF-8 tests where appropriate.
2009-04-28 08:55:07 +02:00
Paolo Bonzini
f7e125b54d
handle CRLF endings in the testsuite for mingw
...
2009-04-27 Paolo Bonzini <bonzini@gnu.org >
* testsuite/Makefile.tests: Handle CRLF endings for mingw.
2009-04-27 11:36:12 +02:00
Paolo Bonzini
8172184989
fixes after Bruno's testing
...
2009-04-27 Paolo Bonzini <bonzini@gnu.org >
* configure.ac: Link readin.in2 into builddir.
* configure: Regenerate.
* doc/Makefile.am: Do not distribute sed.html. Do not update
sed.texi if the output does not change.
* sed/Makefile.am: Order libraries according to their dependencies.
* sed/compile.c (get_openfile): Declare FAIL as int.
* sed/sed.c: Avoid printf ("") if REG_PERL is not defined.
* testsuite/eval.in2: Do not include in the repository.
* testsuite/Makefile.am: Clean always eval.in2 and never readin.in2.
* testsuite/Makefile.tests: Provide a default empty definition of TIME
and remove rules for readin.in2.
2009-04-27 10:41:56 +02:00
Paolo Bonzini
9e971bab12
update gnulib prior to release
2009-03-31 10:02:59 +02:00
Paolo Bonzini
ca7820220c
fix macro redefinition warnings for bootstrap.sh
...
2009-03-31 Paolo Bonzini <bonzini@gnu.org >
* bootstrap.sh.in: Add __bool_true_false_are_defined.
* bootstrap.sh: Regenerate.
* basicdefs.h: Do not provide bool definitions for BOOTSTRAP at all.
2009-03-31 10:02:54 +02:00
Paolo Bonzini
d0d16cec98
improve `sed --version' output
...
2009-03-31 Paolo Bonzini <bonzini@gnu.org >
* sed/sed.c (contact): New.
(usage): From here.
(main): Use it for `sed --version' too.
* configure.ac: Point to GNU project mailing lists.
* sed/sed.c (contact): Use PACKAGE_BUGREPORT.
* testsuite/version.gin: Likewise.
* testsuite/version.good: Regenerate.
* doc/sed.1: Regenerate.
* bootstrap.sh.in (PACKAGE_BUGREPORT): New.
* bootstrap.sh: Regenerate.
2009-03-31 10:01:38 +02:00
Paolo Bonzini
694012c4e8
distribute utf8-3 and utf8-4 test files
...
2009-03-31 Paolo Bonzini <bonzini@gnu.org >
* testsuite/Makefile.am: Distribute utf8-3 and utf8-4 test files.
2009-03-31 09:39:16 +02:00
Paolo Bonzini
6e42ecdb94
avoid failures on the utf8-[1234] tests
...
2009-02-17 Paolo Bonzini <bonzini@gnu.org >
* testsuite/Makefile.tests: Rewrite rule for utf8-[1234].
Reported by Ralf Wildenhues.
2009-02-17 10:36:14 +01:00
Paolo Bonzini
ca37f7187e
include homepage URL in help messages.
...
2009-02-17 Paolo Bonzini <bonzini@gnu.org >
* sed/sed.c (usage): Print homepage URL.
* testsuite/version.gin: Update.
2009-02-17 10:35:03 +01:00
Paolo Bonzini
5dd4f61f54
do not print the bug report address when --help is printed and exit status != 0
...
2009-01-28 Paolo Bonzini <bonzini@gnu.org >
* sed/sed.c (usage): Only print the bug report address for `sed --help'.
(main): Print it for `sed --version' too.
* testsuite/version.gin: Adapt.
* testsuite/Makefile.tests: Refine help message test.
2009-01-28 08:54:04 +01:00
Paolo Bonzini
70341ff453
fix
2009-01-23 16:09:21 +01:00
Paolo Bonzini
e476324a7b
fix parsing of s commands for MBCS codes including \x5c
...
2009-01-23 Paolo Bonzini <bonzini@gnu.org >
Hideo AOKI <hideo.aoki.tk@hitachi.com >
* sed/compile.c (match_slash): Fix MBCS behavior.
* sed/sed.h (MBSINIT): New.
2009-01-23 15:30:43 +01:00
Paolo Bonzini
a25af355ed
remove memchr, memcmp, memmove compatibility code.
...
2009-01-20 Paolo Bonzini <bonzini@gnu.org >
* autoboot.conf, bootstrap.sh.in: Remove memchr, memcmp, memmove
compatibility code.
* gnulib: Update.
2009-01-20 10:20:38 +01:00
Paolo Bonzini
e5e82af9ad
update gnulib to fix two regex matcher bugs
...
2009-01-09 Paolo Bonzini <bonzini@gnu.org >
* tests/SPENCER.tests: Add testcases for glibc bugzilla 697.
2009-01-09 11:17:17 +01:00
Paolo Bonzini
12e758ad53
fix "x", "g", "G" commands with "sed -i" to match BSD sed
...
2009-01-05 Paolo Bonzini <bonzini@gnu.org >
* execute.c (read_pattern_space): Reset hold space at end-of-file
if input->reset_at_next_file.
2009-01-05 17:01:36 +01:00
Paolo Bonzini
6ea4dbce16
fix configure.ac version number
v4.1e
2009-01-04 14:38:29 +01:00
Ralf Wildenhues
ed1c249d94
Let --posix turn off more GNU extensions.
...
2008-12-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de >
Let --posix turn off more GNU extensions.
* sed/compile.c (mark_subst_opts): Turn off subst options i, I,
s, S, x, X, m, and M in --posix mode.
(compile_address): Disallow address modifiers, `FIRST~STEP',
`ADDR1,+N', and `ADDR1,~N' in --posix mode.
(compile_program): In --posix mode, do not accept e or z commands;
do not accept text between an a, c, or i command and the following
backslash; do not accept an argument to the l command.
2008-12-31 10:05:03 +01:00
Paolo Bonzini
559a106598
use gnulib's emulation for mb functions
...
2008-12-22 Paolo Bonzini <bonzini@gnu.org >
* autoboot.conf: Request modules emulating mb functions.
* configure.ac: Do not look for mb functions here.
2008-12-22 11:26:19 +01:00
Paolo Bonzini
b62309dbb9
switch to GFDL 1.3
2008-11-04 07:58:11 +01:00
Jim Meyering
51d634a52f
switch to external gettext
...
2008-10-03 Paolo Bonzini <bonzini@gnu.org >
Jim Meyering <meyering@redhat.com >
* Makefile.am: Remove intl subdir. Require Automake 1.10.
* configure.ac: Remove useless macros, switch to external gettext.
* lib/Makefile.am: Remove intl subdir from CPPFLAGS.
* sed/Makefile.am: Remove intl subdir from CPPFLAGS.
2008-10-03 10:34:54 +02:00
Paolo Bonzini
74687e4bf7
sync with gnulib
...
2008-10-02 Paolo Bonzini <bonzini@gnu.org >
* autoboot: Sync with gnulib's build-aux/bootstrap.
2008-10-02 11:10:48 +02:00
Paolo Bonzini
4c2a929a92
sync autoboot with gnulib's build-aux/bootstrap
...
2008-09-29 Paolo Bonzini <bonzini@gnu.org >
* autoboot: Sync with gnulib's build-aux/bootstrap.
2008-09-29 11:50:53 +02:00
Paolo Bonzini
08e0519f43
use git submodules for gnulib
2008-09-29 11:37:23 +02:00
Paolo Bonzini
d38fd83b62
add utf8 tests for commit 7f53c1c16e
...
2008-09-29 Paolo Bonzini <bonzini@gnu.org >
* testsuite/Makefile.am: Add the utf8-{1,2,3,4} tests.
* testsuite/Makefile.tests: Add the utf8-{1,2,3,4} tests.
* testsuite/runtest: Support skipping tests.
* testsuite/utf8-1.good: New.
* testsuite/utf8-1.inp: New.
* testsuite/utf8-1.sed: New.
* testsuite/utf8-2.good: New.
* testsuite/utf8-2.inp: New.
* testsuite/utf8-2.sed: New.
* testsuite/utf8-3.good: New.
* testsuite/utf8-3.inp: New.
* testsuite/utf8-3.sed: New.
* testsuite/utf8-4.good: New.
* testsuite/utf8-4.inp: New.
* testsuite/utf8-4.sed: New.
2008-09-29 10:54:15 +02:00
Paolo Bonzini
41e0cf2dac
add `z' extension
...
2008-09-29 Paolo Bonzini <bonzini@gnu.org >
* BUGS: Document s/.*.// behavior with invalid multibyte sequences.
* NEWS: Document `z' extension.
* doc/sed-in.texi: Document both things.
* sed/compile.c (compile_program): Recognize `z'.
* sed/execute.c (execute_program): Execute `z'.
* testsuite/Makefile.am: Add badenc test.
* testsuite/Makefile.tests: Add badenc test.
* testsuite/badenc.good: New.
* testsuite/badenc.inp: New.
* testsuite/badenc.sed: New.
2008-09-29 10:24:09 +02:00
Paolo Bonzini
07df2df3c2
update gnulib
...
2008-09-28 Paolo Bonzini <bonzini@gnu.org >
* basicdefs.h: Replace alloca cruft with alloca.h.
* bootstrap.sh.in: Update for new gnulib.
* bootstrap.sh: Update for new gnulib.
* configure.ac: Move gnulib macros earlier.
* sed/execute.c: Do not include acl.h when bootstrapping.
2008-09-28 18:47:58 +02:00
Paolo Bonzini
de0346581a
close input files if not in -i mode!
...
2008-08-27 Paolo Bonzini <bonzini@gnu.org >
* sed/execute.c (closedown): Close the input file!
2008-08-27 13:24:19 +02:00
Paolo Bonzini
48738553ce
add m4/.gitignore file
2008-08-21 09:31:25 +02:00