Commit graph

2177 commits

Author SHA1 Message Date
Andrea Mazzoleni
492ad40f2c Simpler handling of skip_sync 2026-05-21 16:08:03 +02:00
Andrea Mazzoleni
c2969f11ba Give a reasonable value to blockcur in case of alert failure 2026-05-21 16:08:03 +02:00
Andrea Mazzoleni
81995ccc8d Use eaccess() instead of access() 2026-05-21 16:08:03 +02:00
Andrea Mazzoleni
1f0136f2e5 Avoid potential size overflow in 32 bit system in option size specification 2026-05-21 16:08:02 +02:00
Andrea Mazzoleni
e17bb92f69 Avoid floating point precision errors in -p option 2026-05-21 16:08:02 +02:00
Andrea Mazzoleni
ecce8b136c Drop the test-run option from the official binary 2026-05-21 16:08:02 +02:00
Andrea Mazzoleni
3cdbc03a81 Avoid lock recursion in log_fatal if we cannot create locks 2026-05-21 10:31:03 +02:00
Andrea Mazzoleni
7680144e15 Relax overly strict comparison 2026-05-21 10:30:53 +02:00
Andrea Mazzoleni
4259a16931 Protect random reseeding with a lock 2026-05-21 10:30:35 +02:00
Andrea Mazzoleni
54d944c496 Handle failure of vfprintf 2026-05-21 10:30:25 +02:00
Andrea Mazzoleni
8749d0dfe3 Handle the cases of directory already create by another process 2026-05-21 10:30:14 +02:00
Andrea Mazzoleni
1aa808a106 Comment about the value returned by malloc_counter_get() 2026-05-21 10:30:04 +02:00
Andrea Mazzoleni
9f57d3217d Do not even attempt to recover if there are more failures than parities 2026-05-21 10:29:56 +02:00
Andrea Mazzoleni
e09e55a01b Comment about the FILE_IS_RELOCATED flag protection 2026-05-21 10:29:47 +02:00
Andrea Mazzoleni
65a20f48c6 Ensure to advising the remaining of the file when it's closed
Some checks are pending
Build / build-mac (push) Waiting to run
Build / build-linux (push) Waiting to run
Build / build-win (push) Waiting to run
CodeQL Advanced / Analyze (c-cpp) (push) Waiting to run
CodeQL Advanced / Analyze (actions) (push) Waiting to run
2026-05-21 00:41:37 +02:00
Andrea Mazzoleni
88a6dd1e81 Cast to unsigned char when using ctype macros 2026-05-21 00:16:26 +02:00
Andrea Mazzoleni
836480951e Fix leak on termination on Windows
Some checks are pending
Build / build-mac (push) Waiting to run
Build / build-linux (push) Waiting to run
Build / build-win (push) Waiting to run
CodeQL Advanced / Analyze (c-cpp) (push) Waiting to run
CodeQL Advanced / Analyze (actions) (push) Waiting to run
2026-05-20 20:00:56 +02:00
Andrea Mazzoleni
b50332db54 Fix a double close in Windows 2026-05-20 20:00:38 +02:00
Andrea Mazzoleni
6bfbc6e3b2 Fix potential division by zero with minuscule devices 2026-05-20 19:22:50 +02:00
Andrea Mazzoleni
00e50bd965 Fix wrong sizeof 2026-05-20 00:27:12 +02:00
Andrea Mazzoleni
10c327a558 Fixed syncing of the directory of the content file 2026-05-20 00:27:12 +02:00
Andrea Mazzoleni
4d09bffb94 Support the root filesystem as data and parity disk 2026-05-20 00:21:10 +02:00
Andrea Mazzoleni
b428cd80cc Verify the number of splits 2026-05-20 00:17:46 +02:00
Andrea Mazzoleni
9d7dcdd479 If skip_access is enabled, don't call fsinfo on the device 2026-05-20 00:17:18 +02:00
Andrea Mazzoleni
73b8ee9d29 Update HISTORY
Some checks failed
Build / build-mac (push) Has been cancelled
Build / build-linux (push) Has been cancelled
Build / build-win (push) Has been cancelled
CodeQL Advanced / Analyze (c-cpp) (push) Has been cancelled
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
2026-05-18 14:09:44 +02:00
Andrea Mazzoleni
66303491d7 Revise char conversion in Windows
Some checks are pending
Build / build-mac (push) Waiting to run
Build / build-linux (push) Waiting to run
Build / build-win (push) Waiting to run
CodeQL Advanced / Analyze (c-cpp) (push) Waiting to run
CodeQL Advanced / Analyze (actions) (push) Waiting to run
2026-05-18 11:45:39 +02:00
Andrea Mazzoleni
7c16a17079 Run actions also on stable branch 2026-05-18 09:55:16 +02:00
Andrea Mazzoleni
3d2c5464c3 Avoid modification in place of the readdir()-> d_name field 2026-05-18 09:55:16 +02:00
Andrea Mazzoleni
6fe5353533 Fix output of sysattr_vpd_pg83 2026-05-18 09:55:16 +02:00
Andrea Mazzoleni
19d212444c Fix leaks in Linux 2026-05-18 09:55:16 +02:00
Andrea Mazzoleni
7217948571 Fix leaks on Windows 2026-05-18 09:55:16 +02:00
Andrea Mazzoleni
03e941eb3d Fix double free on failed directory listing in Windows 2026-05-18 00:28:17 +02:00
Andrea Mazzoleni
8c8e100e01 Fix potential buffer overflow in strsplit 2026-05-16 18:21:33 +02:00
Andrea Mazzoleni
b32fa703ba Import incomplete attributes from smartctl 2026-05-14 17:02:16 +02:00
Andrea Mazzoleni
5731f3caf3 Add log of error during scan 2026-05-14 15:26:25 +02:00
Andrea Mazzoleni
cc413aa062 Update CHECKSUMS 2026-04-23 12:45:25 +02:00
Andrea Mazzoleni
ab5bc0ead8 Fix build warning 2026-04-23 12:31:08 +02:00
Andrea Mazzoleni
34b6a47e5e Fixed --gui-threshold logic
Some checks failed
Build / build-mac (push) Has been cancelled
Build / build-linux (push) Has been cancelled
Build / build-win (push) Has been cancelled
CodeQL Advanced / Analyze (c-cpp) (push) Has been cancelled
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
2026-04-20 00:42:48 +02:00
Andrea Mazzoleni
06341ba742 Add BLUEBOX
Some checks failed
Build / build-mac (push) Has been cancelled
Build / build-linux (push) Has been cancelled
Build / build-win (push) Has been cancelled
CodeQL Advanced / Analyze (c-cpp) (push) Has been cancelled
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
2026-04-18 10:28:37 +02:00
Andrea Mazzoleni
65341226c8 Update CHECKSUMS
Some checks failed
Build / build-mac (push) Has been cancelled
Build / build-linux (push) Has been cancelled
Build / build-win (push) Has been cancelled
CodeQL Advanced / Analyze (c-cpp) (push) Has been cancelled
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
2026-04-16 15:01:41 +02:00
Andrea Mazzoleni
523066ed0f Fix typos in function names
Some checks are pending
Build / build-mac (push) Waiting to run
Build / build-linux (push) Waiting to run
Build / build-win (push) Waiting to run
CodeQL Advanced / Analyze (c-cpp) (push) Waiting to run
CodeQL Advanced / Analyze (actions) (push) Waiting to run
2026-04-16 14:31:38 +02:00
Andrea Mazzoleni
c18163b392 Update COPYING 2026-04-16 14:14:46 +02:00
Andrea Mazzoleni
befb9b4a92 Fix RISC printf 2026-04-16 13:50:51 +02:00
Andrea Mazzoleni
391784c5ed Add some missing fflush in the speed test 2026-04-16 00:20:26 +02:00
Andrea Mazzoleni
ae9b472898 Add detection of AVX512BW and AVX512GFNI 2026-04-16 00:13:51 +02:00
Andrea Mazzoleni
4799b20929 In the speed benchmark force the same hardware in generation when recovering
Some checks are pending
Build / build-mac (push) Waiting to run
Build / build-linux (push) Waiting to run
Build / build-win (push) Waiting to run
CodeQL Advanced / Analyze (c-cpp) (push) Waiting to run
CodeQL Advanced / Analyze (actions) (push) Waiting to run
2026-04-15 20:08:42 +02:00
Andrea Mazzoleni
578033a892 Fix the speed computation for the recovery functions
To make them comparable with the generation function they should be
called only one time, recovering the max number of data disks possible.
2026-04-15 19:31:07 +02:00
Andrea Mazzoleni
b709371d2d Fix typos in the comment of the raid library
Some checks are pending
Build / build-mac (push) Waiting to run
Build / build-linux (push) Waiting to run
Build / build-win (push) Waiting to run
CodeQL Advanced / Analyze (c-cpp) (push) Waiting to run
CodeQL Advanced / Analyze (actions) (push) Waiting to run
2026-04-15 10:53:25 +02:00
Andrea Mazzoleni
eccc837e8d Update INSTALL
Some checks failed
Build / build-mac (push) Has been cancelled
Build / build-linux (push) Has been cancelled
Build / build-win (push) Has been cancelled
CodeQL Advanced / Analyze (c-cpp) (push) Has been cancelled
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
2026-04-13 23:06:04 +02:00
Andrea Mazzoleni
e5eb60ef4b Prefer the 128 bit multiplication over the assembler ARM64 implementation
Some checks are pending
Build / build-mac (push) Waiting to run
Build / build-linux (push) Waiting to run
Build / build-win (push) Waiting to run
CodeQL Advanced / Analyze (c-cpp) (push) Waiting to run
CodeQL Advanced / Analyze (actions) (push) Waiting to run
The asm code looks correct, but there is a report about a failure of the
self test on a Apple Silicon, maybe caused by a compiler bug.
Considering the 128 bit integer implementation is anyway equally fast,
makes sense to always use it.

See: https://github.com/amadvance/snapraid/issues/43
2026-04-13 11:44:49 +02:00