pgsql: Make some use of anonymous unions [pgcrypto]

Поиск
Список
Период
Сортировка
Искать

pgsql: Make some use of anonymous unions [pgcrypto]

От:
Peter Eisentraut <peter@eisentraut.org>
Дата:
Make some use of anonymous unions [pgcrypto]

Make some use of anonymous unions, which are allowed as of C11, as
examples and encouragement for future code, and to test compilers.

This commit changes some structures in pgcrypto.

Reviewed-by: Chao Li 
Discussion: https://www.postgresql.org/message-id/flat/f00a9968-388e-4f8c-b5ef-5102e962d997%40eisentraut.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/efcd5199d8cb8e5098f79b38d0c46004e69d1a46

Modified Files
--------------
contrib/pgcrypto/openssl.c | 14 +++++++-------
contrib/pgcrypto/px.h      |  2 +-
src/common/cryptohash.c    | 36 ++++++++++++++++++------------------
3 files changed, 26 insertions(+), 26 deletions(-)

Re: pgsql: Make some use of anonymous unions [pgcrypto]

От:
David Rowley <dgrowleyml@gmail.com>
Дата:
On Tue, 30 Sept 2025 at 23:37, Peter Eisentraut  wrote:
> src/common/cryptohash.c    | 36 ++++++++++++++++++------------------

This seems to be causing some trouble:

https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=sifaka&dt=2025-09-30%2010%3A57%3A42

David


FAQ