hugo/hugolib
Bjørn Erik Pedersen 4df86a703a Fix paginator counter on x86-32
Atomic operations with 64 bit values must be aligned for 64-bit on x86-32.

According to the spec:

"The first word in a global variable or in an allocated struct or slice can be relied upon to be 64-bit aligned."

The above wasn't enough for the `paginationPageCount` on `SiteInfo`, maybe due to how `SiteInfo` is embedded.

This commit adds a 4 byte padding before the `uint64` that creates the correct alignment.

Fixes #2415
2016-09-09 14:31:49 +02:00
..
author.go
benchmark_test.go
config.go
config_test.go
datafiles_test.go
embedded_shortcodes_test.go
handler_base.go
handler_file.go
handler_meta.go
handler_page.go Fix multilingual reload when shortcode changes 2016-09-06 18:32:21 +03:00
handler_test.go
hugo_info.go
hugo_sites.go Reset the i18n func map on reload 2016-09-08 17:18:11 +03:00
hugo_sites_test.go Fix go vet 1.7 issues 2016-09-06 18:32:21 +03:00
i18n.go
media.go
menu.go
menu_test.go
multilingual.go
node.go Add missing read lock in getNodes 2016-09-08 16:51:32 +03:00
node_test.go
page.go Fix multilingual reload when shortcode changes 2016-09-06 18:32:21 +03:00
page_permalink_test.go
page_taxonomy_test.go
page_test.go
page_time_integration_test.go
pageCache.go
pageCache_test.go
pageGroup.go
pageGroup_test.go
pageSort.go
pageSort_test.go
pagesPrevNext.go
pagesPrevNext_test.go
pagination.go
pagination_test.go
path_separators_test.go
path_separators_windows_test.go
permalinks.go
permalinks_test.go
planner.go
redis.cn.md
robotstxt_test.go
rss_test.go
scratch.go
scratch_test.go
shortcode.go Fix shortcode vs pygments 2016-09-08 21:23:01 +02:00
shortcode_test.go Fix shortcode vs pygments 2016-09-08 21:23:01 +02:00
shortcodeparser.go
shortcodeparser_test.go
site.go Fix paginator counter on x86-32 2016-09-09 14:31:49 +02:00
site_show_plan_test.go
site_test.go
site_url_test.go
siteJSONEncode_test.go
sitemap.go
sitemap_test.go
summary.go
taxonomy.go
taxonomy_test.go
translations.go