Re: Possible spelling fixes
Andres Freund <andres@anarazel.de>
From: Andres Freund <andres@anarazel.de>
To: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Josh Soref <jsoref@gmail.com>, Peter Eisentraut <peter.eisentraut@2ndquadrant.com>, Heikki Linnakangas <hlinnaka@iki.fi>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2017-03-01T18:20:27Z
Lists: pgsql-hackers
On 2017-03-01 14:40:26 -0300, Alvaro Herrera wrote: > Josh Soref wrote: > > > One thing that would be helpful is if someone could comment on: > > https://github.com/jsoref/postgres/commit/9050882d601134ea1ba26f77ce5f1aaed75418de > > -#undef SH_ITERTOR > > +#undef SH_ITERATOR > > > > It's unclear to me what that line is/was doing. It's possible that it > > could be removed entirely instead of having its spelling changed. > > If the line is trying to guard against a previous version of the code, > > which is no longer active, then it deserves a comment. > > AFAICS this is a bug. This file can potentially be included several > times by the same C source, and it defines SH_ITERATOR every time. The > second time it needs to be #undef'ed prior, which this line is supposed > to do but fails because of the typo. Indeed. Fixed, thanks for noticing. Andres
Commits
-
Fix s/ITERTOR/ITERATOR/ typo in simplehash.h.
- 8f7277dfb5e7 10.0 landed
-
Fix typos in comments.
- 2a931efb76fa 9.2.20 landed
- e8f9fe4ae7ab 9.3.16 landed
- 1dd06ede17e0 9.4.11 landed
- 3aee34d41d38 9.5.6 landed
- 90e859921994 9.6.2 landed
- 181bdb90ba1f 10.0 landed
-
XLOG (also known as WAL -:)) Bootstrap/Startup/Shutdown.
- 47937403676d 7.1.1 cited