[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#35062: [PATCH v3 2/3] constify a bit of xterm.c
From: |
Eli Zaretskii |
Subject: |
bug#35062: [PATCH v3 2/3] constify a bit of xterm.c |
Date: |
Sat, 20 Apr 2019 09:28:06 +0300 |
> Cc: 35062@debbugs.gnu.org
> From: Paul Eggert <eggert@cs.ucla.edu>
> Date: Fri, 19 Apr 2019 17:31:38 -0700
>
> 'const' is like 'register' in this respect. Putting 'const' nearly everywhere
> clutters C code. It's pretty easy for a human reader to determine whether a
> local variable is modified (if it's hard, write an Elisp function :-). In
> hindsight, perhaps C should have been designed so that 'const' was the
> default
> for local variables; but the ship has sailed there too.
Thanks. That was more or less my thinking as well.
- bug#35062: [PATCH v3 2/3] constify a bit of xterm.c, (continued)
- bug#35062: [PATCH v3 2/3] constify a bit of xterm.c, Paul Eggert, 2019/04/19
- bug#35062: [PATCH v3 2/3] constify a bit of xterm.c, Konstantin Kharlamov, 2019/04/19
- bug#35062: [PATCH v3 2/3] constify a bit of xterm.c, Konstantin Kharlamov, 2019/04/19
- bug#35062: [PATCH v3 2/3] constify a bit of xterm.c, Eli Zaretskii, 2019/04/20
- bug#35062: [PATCH v3 2/3] constify a bit of xterm.c, Konstantin Kharlamov, 2019/04/20
- bug#35062: [PATCH v3 2/3] constify a bit of xterm.c, Eli Zaretskii, 2019/04/20
- bug#35062: [PATCH v3 2/3] constify a bit of xterm.c, Konstantin Kharlamov, 2019/04/20
- bug#35062: [PATCH v3 2/3] constify a bit of xterm.c, Konstantin Kharlamov, 2019/04/20
- bug#35062: [PATCH v3 2/3] constify a bit of xterm.c, Konstantin Kharlamov, 2019/04/20
- bug#35062: [PATCH v3 2/3] constify a bit of xterm.c, Konstantin Kharlamov, 2019/04/20
- bug#35062: [PATCH v3 2/3] constify a bit of xterm.c,
Eli Zaretskii <=
bug#35062: [PATCH v3 1/3] Remove redundant comparison, Eli Zaretskii, 2019/04/13
- bug#35062: [PATCH v3 1/3] Remove redundant comparison, Konstantin Kharlamov, 2019/04/13
- bug#35062: [PATCH v3 1/3] Remove redundant comparison, Eli Zaretskii, 2019/04/13
- bug#35062: [PATCH v3 1/3] Remove redundant comparison, Konstantin Kharlamov, 2019/04/13
- bug#35062: [PATCH v3 1/3] Remove redundant comparison, Eli Zaretskii, 2019/04/13
- bug#35062: [PATCH v3 1/3] Remove redundant comparison, Richard Stallman, 2019/04/14
- bug#35062: [PATCH v3 1/3] Remove redundant comparison, Konstantin Kharlamov, 2019/04/15
- bug#35062: [PATCH v3 1/3] Remove redundant comparison, Eli Zaretskii, 2019/04/15
- bug#35062: [PATCH v3 1/3] Remove redundant comparison, Konstantin Kharlamov, 2019/04/15
- bug#35062: [PATCH v3 1/3] Remove redundant comparison, Eli Zaretskii, 2019/04/15