Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes found when packaging for Chimera Linux #369

Merged
merged 3 commits into from
Feb 8, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
progress: make some globals atomic
this fixes builds with clang and makes all accesses atomic
instead of just the fetch_add
  • Loading branch information
autumnontape committed Feb 3, 2025
commit 5252454684663fb0a99ebc7d61e351d7d01a0fb8
2 changes: 1 addition & 1 deletion progress.c
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ static uint64_t files_scanned, bytes_scanned;
/*
* Used to track the status of our search extents from blocks
*/
static uint64_t search_total, search_processed;
static _Atomic uint64_t search_total, search_processed;

#define s_save_pos() if (tty) printf("\33[s");
#define s_restore_pos() if (tty) printf("\33[u");
Expand Down