git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: b48af6d) | patch
Fix new test case to work on (some?) big-endian architectures.
2023年3月22日 21:14:21 +0000 (17:14 -0400)
2023年3月22日 21:14:21 +0000 (17:14 -0400)
commit c75a623304bc361b4456f916d455ea175ffd8055
Fix new test case to work on (some?) big-endian architectures.

Use of pack("L") gets around the basic endian problem, but it doesn't
deal with the fact that the order of the bitfields within the struct
may differ. This patch fixes it to work with gcc on NetBSD/macppc,
but I wonder whether that will be enough --- in principle, there
could be four different combinations of bitpatterns needed here.

Discussion: https://postgr.es/m/1650745.1679513221@sss.pgh.pa.us
src/bin/pg_amcheck/t/004_verify_heapam.pl diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /