Commit Graph

17 Commits

Author SHA1 Message Date
ced0004c87 Fix for permissions/ownership getting screwed up with inplace modifying
of files. With the new change, temporary files are no longer created on
the filesystem and the file is entirely modified inplace (with an
in-memory copy kept on hand for matching).
2021-03-03 17:24:23 -08:00
de0fec8fcb Removed check() and replaced with err()/errx() 2021-01-26 17:54:23 -08:00
16c401fbbb Simplified code by disallowing escapes in strings and splitting
stringpatterns into chunks (so unescaped versions don't need to be
created)
2021-01-19 21:35:34 -08:00
b8bb6c25ec Finally got around to implementing binary search for line numbers 2021-01-18 15:24:10 -08:00
ac51181f34 Removed dead code for interning files (no longer needed since temp file
change)
2021-01-18 13:06:25 -08:00
97cf726442 More bools 2021-01-18 11:53:37 -08:00
0b0e99bfac A few more pedantic cleanups 2021-01-18 11:28:39 -08:00
46f1747947 More static analyzer cleanup 2021-01-18 10:47:20 -08:00
eece8c8556 More static analyzer cleanup, including switching to use bools where
appropriate and EXIT_SUCESS/EXIT_FAILURE
2021-01-18 10:30:17 -08:00
7f0c3804dc Checking more return values (per static analyzer) 2021-01-18 09:52:35 -08:00
3ededef53d Static analysis part 1 2021-01-18 09:15:25 -08:00
2615a3b9f2 Hacky fix for tabs misaligning error printing 2021-01-18 00:32:39 -08:00
dfdc7bf94a Fixed error printing code 2021-01-18 00:14:01 -08:00
f92dc5514d Updated comment 2021-01-17 18:13:00 -08:00
c6dd967c70 Fixed two bugs: mmapped files weren't getting closed, and filenames with
%s-style formatting strings caused issues.
2021-01-17 18:06:00 -08:00
a2f30332cc Sorting imports 2021-01-15 19:44:16 -08:00
77b33d6a3c Renaming files: printing->print, file_loader->files 2021-01-15 19:27:25 -08:00