jcs
/amend
/amendments
/diffreg.c
Amendments on February 6, 2023
*: Lots of little fixes and dead variable removal
Found by cppcheck and scan-build
Amendments on August 18, 2022
jcs made amendment
92
about 1 year ago
Amendments on June 15, 2022
repo: Limit filename length when creating temporary files
Files can be 31 characters long, so appending " (Amend tmp)" to a
long filename can put us over that limit. Work in a Str31 and put
our "[tmp] " and "[deleted] " labels at the beginning so we don't
end up overwriting the existing file if the filename is already 31
characters long.
Check error result of getpath calls as well.
Amendments on June 7, 2022
diffreg: Open files as binary to get expected newline handling
Unbeknownst to me, THINK C's file stream library transparently
converts \r newlines to \n. By opening files as binary, this is
disabled and we get \r newlines as expected.
Amendments on April 16, 2022
diffreg: Fix D_PROTOTYPE usage
Look for a Mac-style newline here, not Unix
Amendments on October 19, 2021
jcs made amendment
1
over 2 years ago
1