fix 0~2, signaled by Guglielmo Bondioni
2005-08-30 Paolo Bonzini <bonzini@gnu.org> * sed/execute.c (reset_addresses): Never activate ADDR_IS_NUM_MOD addresses. * testsuite/modulo.good, testsuite/modulo.inp, testsuite/modulo.sed: New. * testsuite/Makefile.tests: Add new testcase. * testsuite/Makefile.am: Add new testcase. * testsuite/Makefile.in: Regenerate. git-archimport-id: bonzini@gnu.org--2004b/sed--stable--4.1--patch-52
This commit is contained in:
1 parent
bdbfe6d711
commit
9015803ab0
9 files changed
+65
-6
No files matched your search
@@ -1,3 +1,13 @@
|
||||
2005-08-30 Paolo Bonzini <bonzini@gnu.org>
|
||||
|
||||
* sed/execute.c (reset_addresses): Never activate ADDR_IS_NUM_MOD
|
||||
addresses.
|
||||
* testsuite/modulo.good, testsuite/modulo.inp, testsuite/modulo.sed:
|
||||
New.
|
||||
* testsuite/Makefile.tests: Add new testcase.
|
||||
* testsuite/Makefile.am: Add new testcase.
|
||||
* testsuite/Makefile.in: Regenerate.
|
||||
|
||||
2005-05-18 Maciej W. Rozycki <macro@linux-mips.org>
|
||||
|
||||
* configure.ac: Use a cache variable for the libcP test.
|
||||
@@ -15,6 +25,9 @@
|
||||
|
||||
2005-02-10 Paolo Bonzini <bonzini@gnu.org>
|
||||
|
||||
* testsuite/Makefile.tests: Add new testcase.
|
||||
* testsuite/Makefile.am: Add new testcase.
|
||||
* testsuite/Makefile.in: Regenerate.
|
||||
* testsuite/appquit.good, testsuite/appquit.inp,
|
||||
testsuite/appquit.sed: New testcase.
|
||||
* testsuite/readin.sed: Quit after the last r command.
|
||||
|
||||
+2
-1
@@ -26,7 +26,8 @@ dist-hook:
|
||||
# This rule is used if --enable-html is passed
|
||||
if BUILD_HTML
|
||||
docdir = $(datadir)/doc
|
||||
doc_DATA = sed.html
|
||||
pkgdocdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)
|
||||
pkgdoc_DATA = sed.html
|
||||
|
||||
all: html
|
||||
|
||||
|
||||
+1
-2
@@ -738,8 +738,7 @@ reset_addresses(vec)
|
||||
|
||||
for (cur_cmd = vec->v, n = vec->v_length; n--; cur_cmd++)
|
||||
if (cur_cmd->a1
|
||||
&& (cur_cmd->a1->addr_type == ADDR_IS_NUM
|
||||
|| cur_cmd->a1->addr_type == ADDR_IS_NUM_MOD)
|
||||
&& cur_cmd->a1->addr_type == ADDR_IS_NUM
|
||||
&& cur_cmd->a1->addr_number == 0)
|
||||
cur_cmd->range_state = RANGE_ACTIVE;
|
||||
else
|
||||
|
||||
@@ -18,7 +18,7 @@ endif
|
||||
|
||||
SEDTESTS += \
|
||||
appquit enable sep inclib 8bit newjis xabcx dollar noeol noeolw \
|
||||
numsub numsub2 numsub3 numsub4 numsub5 0range bkslashes \
|
||||
modulo numsub numsub2 numsub3 numsub4 numsub5 0range bkslashes \
|
||||
head madding mac-mf empty xbxcx xbxcx3 recall recall2 xemacs \
|
||||
fasts uniq manis khadafy linecnt eval distrib 8to7 \
|
||||
allsub cv-vars classes middle bsd stdin flipcase \
|
||||
@@ -60,6 +60,7 @@ EXTRA_DIST = \
|
||||
madding.good madding.inp madding.sed \
|
||||
manis.good manis.inp manis.sed \
|
||||
middle.good middle.sed middle.inp \
|
||||
modulo.good modulo.sed modulo.inp \
|
||||
newjis.good newjis.inp newjis.sed \
|
||||
noeol.good noeol.inp noeol.sed \
|
||||
noeolw.good noeolw.1good noeolw.2good noeolw.sed \
|
||||
|
||||
@@ -13,7 +13,7 @@ RM=rm -f
|
||||
|
||||
enable sep inclib 8bit 8to7 newjis xabcx dollar noeol bkslashes \
|
||||
numsub head madding mac-mf empty xbxcx xbxcx3 recall recall2 xemacs \
|
||||
appquit fasts uniq manis linecnt khadafy allsub flipcase space::
|
||||
appquit fasts uniq manis linecnt khadafy allsub flipcase space modulo::
|
||||
$(SEDENV) $(SED) -f $(srcdir)/$@.sed \
|
||||
< $(srcdir)/$@.inp > $@.out
|
||||
$(CMP) $(srcdir)/$@.good $@.out
|
||||
|
||||
+1
-1
@@ -1,3 +1,3 @@
|
||||
31
|
||||
March 2002
|
||||
1.6A09E667A
|
||||
1.6A09E667A
|
||||
@@ -0,0 +1,22 @@
|
||||
1
|
||||
s%@CFLAGS@%%g
|
||||
3
|
||||
s%@CXXFLAGS@%-x c++%g
|
||||
5
|
||||
s%@LDFLAGS@%-L/usr/lib%g
|
||||
7
|
||||
s%@exec_prefix@%%g
|
||||
9
|
||||
s%@RANLIB@%$RANLIB%g
|
||||
11
|
||||
s%@CPP@%$CPP%g
|
||||
13
|
||||
s%@XINCLUDES@%$XINCLUDES%g
|
||||
15
|
||||
s%@XPROGS@%$XPROGS%g
|
||||
17
|
||||
s%@TCLLIB@%$TCLLIB%g
|
||||
19
|
||||
s%@TKLIB@%$TKLIB%g
|
||||
21
|
||||
s%@EVENT_TYPE@%$EVENT_TYPE%g
|
||||
@@ -0,0 +1,22 @@
|
||||
s%@CFLAGS@%%g
|
||||
s%@CPPFLAGS@%-I/%g
|
||||
s%@CXXFLAGS@%-x c++%g
|
||||
s%@DEFS@%$DEFS%g
|
||||
s%@LDFLAGS@%-L/usr/lib%g
|
||||
s%@LIBS@%-lgnu -lbfd%g
|
||||
s%@exec_prefix@%%g
|
||||
s%@prefix@%$prefix%g
|
||||
s%@RANLIB@%$RANLIB%g
|
||||
s%@CC@%/usr/local/bin/gcc%g
|
||||
s%@CPP@%$CPP%g
|
||||
s%@XCFLAGS@%$XCFLAGS%g
|
||||
s%@XINCLUDES@%$XINCLUDES%g
|
||||
s%@XLIBS@%$XLIBS%g
|
||||
s%@XPROGS@%$XPROGS%g
|
||||
s%@TCLHDIR@%$TCLHDIR%g
|
||||
s%@TCLLIB@%$TCLLIB%g
|
||||
s%@TKHDIR@%$TKHDIR%g
|
||||
s%@TKLIB@%$TKLIB%g
|
||||
s%@PTY_TYPE@%$PTY_TYPE%g
|
||||
s%@EVENT_TYPE@%$EVENT_TYPE%g
|
||||
s%@SETUID@%$SETUID%g
|
||||
@@ -0,0 +1 @@
|
||||
0~2d;=
|
||||
Reference in new issue
Block a user