openssl/openssl

Strange code styl in crypto/s390xcap.c after reformatting in WebKit style

已關閉

#31,247 建立於 2026年5月20日

 (3 則留言) (0 個反應) (0 位負責人)C (11,262 個分叉)batch import
help wantedtriaged: cleanuptriaged: refactor

倉庫指標

星標
 (30,157 顆星)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

The entire code block below the comment /* query function tokens */ (lines 521-534) looks strange: https://github.com/openssl/openssl/blob/71943544885ff364a10bcc5ffc62d0e651c9a021/crypto/s390xcap.c#L520

Not only the long chain of if .. elseif ... in single lines look strange, but especially the block at line 532 seems to be misaligned IMHO: https://github.com/openssl/openssl/blob/71943544885ff364a10bcc5ffc62d0e651c9a021/crypto/s390xcap.c#L532

Is this as intended as-is, or is there a way to make this better readable?

貢獻者指南