Paul Eggert
1e096959ac
sed: fix \[cdox] at end of input
...
* sed/compile.c: Include minmax.h. Do not include ctype.h.
(convert_number): Examine starting at BUF, not at BUF + 1; caller
changed. Use a clearer way to stop the loop, which involves
addition not multiplication. Always store the resulting integer,
not a byte taken possibly from after end of input.
(normalize_text): Do not go past end of input. Treat incomplete
\c, \d, \o, and \x escapes like other unrecognized escapes.
Use c_toupper, not toupper, to avoid glitches in Turkish locales.
* testsuite/normalize-text.sh:
Test the fixed behavior, removing a TODO.
* testsuite/recursive-escape-c.sh: Adjust to new behavior.
2026-08-17 01:17:23 -07:00
..
2004-10-20 21:42:31 +00:00
2004-10-20 21:42:31 +00:00
2026-01-02 17:33:20 -08:00
2026-01-02 17:33:20 -08:00
2026-04-18 15:40:14 -07:00
2026-01-02 17:33:20 -08:00
2014-11-30 18:59:32 -08:00
2014-11-30 18:59:32 -08:00
2014-11-30 18:59:32 -08:00
2026-01-02 17:33:20 -08:00
2026-04-11 10:35:43 -07:00
2026-01-02 17:33:20 -08:00
2008-04-24 16:22:56 +02:00
2023-01-30 09:58:54 -08:00
2026-01-02 17:33:20 -08:00
2026-01-02 17:33:20 -08:00
2026-01-02 17:33:20 -08:00
2026-03-21 18:58:36 -07:00
2026-01-02 17:33:20 -08:00
2026-08-17 01:17:23 -07:00
2026-01-02 17:33:20 -08:00
2026-01-02 17:33:20 -08:00
2026-01-02 17:33:20 -08:00
2026-01-02 17:33:20 -08:00
2026-04-10 18:57:01 -07:00
2026-01-02 17:33:20 -08:00
2026-01-02 17:33:20 -08:00
2026-01-02 17:33:20 -08:00
2026-01-02 17:33:20 -08:00
2026-01-02 17:33:20 -08:00
2004-10-20 21:42:31 +00:00
2026-01-02 17:33:20 -08:00
2026-04-11 13:17:39 -07:00
2026-01-02 17:33:20 -08:00
2025-03-29 11:11:20 -07:00
2026-01-02 17:33:20 -08:00
2026-01-02 17:33:20 -08:00
2026-01-02 17:33:20 -08:00
2026-01-02 17:33:20 -08:00
2026-01-02 17:33:20 -08:00
2026-01-02 17:33:20 -08:00
2026-01-02 17:33:20 -08:00
2026-01-02 17:33:20 -08:00
2026-01-02 17:33:20 -08:00
2026-04-21 08:11:48 -07:00
2026-04-21 08:11:48 -07:00
2026-01-02 17:33:20 -08:00
2026-01-02 17:33:20 -08:00
2026-08-17 01:17:23 -07:00
2026-08-17 01:17:23 -07:00
2014-11-30 18:59:32 -08:00
2014-11-30 18:59:32 -08:00
2014-11-30 18:59:32 -08:00
2026-01-02 17:33:20 -08:00
2004-10-20 21:42:31 +00:00
2004-10-20 21:42:31 +00:00
2004-10-20 21:42:31 +00:00
2026-01-02 17:33:20 -08:00
2026-08-17 01:17:23 -07:00
2026-08-17 01:17:23 -07:00
2026-01-02 17:33:20 -08:00
2026-08-17 01:17:23 -07:00
2026-01-02 17:33:20 -08:00
2026-01-02 17:33:20 -08:00
2026-01-02 17:33:20 -08:00
2026-01-02 17:33:20 -08:00
2020-01-09 22:56:39 -08:00
2026-08-17 01:17:23 -07:00
2026-01-02 17:33:20 -08:00
2026-01-02 17:33:20 -08:00
2026-04-21 08:11:48 -07:00
2026-05-15 13:30:54 -07:00
2026-04-11 16:19:38 -07:00
2026-01-02 17:33:20 -08:00
2026-01-02 17:33:20 -08:00
2026-01-02 17:33:20 -08:00
2026-01-02 17:33:20 -08:00
2026-01-02 17:33:20 -08:00
2026-01-02 17:33:20 -08:00
2026-01-02 17:33:20 -08:00
2026-04-23 11:51:17 -07:00
2026-08-17 01:17:23 -07:00
2026-01-02 17:33:20 -08:00
2026-04-20 16:59:50 -07:00
2026-01-02 17:33:20 -08:00
2026-01-02 17:33:20 -08:00
2026-01-02 17:33:20 -08:00
2026-01-02 17:33:20 -08:00
2026-01-02 17:33:20 -08:00
2026-01-02 17:33:20 -08:00
2026-04-21 08:11:48 -07:00
2026-01-02 17:33:20 -08:00
2026-01-02 17:33:20 -08:00
2014-11-30 18:59:32 -08:00
2014-11-30 18:59:32 -08:00
2004-10-20 21:42:31 +00:00
2026-01-02 17:33:20 -08:00
2026-01-02 17:33:20 -08:00
2018-12-20 21:23:11 -08:00
2026-01-02 17:33:20 -08:00
2026-01-02 17:33:20 -08:00
2026-01-02 17:33:20 -08:00