-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* 78 do not print 'Wrote configuration file' following failure * add mkdir_p * 70 unit test cfg_file_write * 78 add cfg_file_paths, not yet functional * 78 harden XDG_CONFIG_HOME using tests * 78 allow unused results for getcwd in older nix/gcc environment * 78 harden XDG_CONFIG_HOME using tests * 78 use cfg_file_paths, resolve_paths->resolve_cfg_file, extract fs.ch * 78 extract file_write * #78 on write failure use alternatives * #78 ignore ~/.config when XDG_CONFIG_HOME present * #78 remember which cfg_file_paths was used to resolve the file * #78 write new file when none used * #78 write new file when none used * #78 create directory before writing new file * #78 tidy * #78 tidy following merge * #78 add directory watcher destroy, tidy unit test directories * #78 kill cfg dir watcher on failure to write * #78 kill cfg dir watcher on failure to write * #78 kill cfg dir watcher on failure to write * #78 create new cfg dir watcher on new file write * #78 newly written file is immediately watched * #78 don't snprintf in tests * #78 do snprintf in tests, valgrind on CI is strict * #78 do snprintf in tests, valgrind on CI is strict * #78 tidy IPC doc
- Loading branch information
1 parent
558a339
commit a291b46
Showing
24 changed files
with
922 additions
and
123 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
unusedFunction:tst/wrap-log.c | ||
unusedFunction:tst/tst.c | ||
unusedFunction:tst/util.c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#ifndef FS_H | ||
#define FS_H | ||
|
||
#include <stdbool.h> | ||
#include <sys/stat.h> | ||
|
||
bool mkdir_p(char *path, mode_t mode); | ||
|
||
bool file_write(const char *path, const char *contents); | ||
|
||
#endif // FS_H | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.