[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#20783: 25.0.50; [PATCH] byte-to-position has internal off-by-one bug
From: |
Eli Zaretskii |
Subject: |
bug#20783: 25.0.50; [PATCH] byte-to-position has internal off-by-one bug |
Date: |
Thu, 11 Jun 2015 22:08:16 +0300 |
> From: Wolfgang Jenkner <wjenkner@inode.at>
> Cc: 20783@debbugs.gnu.org
> Date: Thu, 11 Jun 2015 18:41:35 +0200
>
> On Thu, Jun 11 2015, Eli Zaretskii wrote:
>
> > But please add a comment there about
> > BYTE_TO_CHAR expecting byte positions that are on a character
> > boundary,
>
> Wouldn't it make sense to add this to the comment before the definition
> of BYTE_TO_CHAR instead (or to both)?
Both, I'd say.