[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: trunk r117396: Do not allow out-of-range character position in Fcomp
From: |
Dmitry |
Subject: |
Re: trunk r117396: Do not allow out-of-range character position in Fcompare_strings. |
Date: |
Wed, 25 Jun 2014 16:22:03 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.91 (gnu/linux) |
Dmitry Antipov <address@hidden> writes:
> ------------------------------------------------------------
> revno: 117396
> revision-id: address@hidden
> parent: address@hidden
> committer: Dmitry Antipov <address@hidden>
> branch nick: trunk
> timestamp: Wed 2014-06-25 14:36:51 +0400
> message:
> Do not allow out-of-range character position in Fcompare_strings.
> * src/fns.c (validate_subarray): Add prototype.
> (Fcompare_substring): Use validate_subarray to check ranges.
> Adjust comment to mention that the semantics was changed. Also see
> http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00447.html.
IIUC, this small discussion ended with "it's too late to fix". Why did
you make the change, then?
And if it's okay to change the semantics, why not change it the other
way, relaxing `substring' requirements?
There was a thread not too long ago requesting that.
- Re: trunk r117396: Do not allow out-of-range character position in Fcompare_strings.,
Dmitry <=