Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
3 changes: 0 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ jobs:
macos_unit_tests:
needs: unit_tests
uses: ./.github/workflows/macos_unit_tests.yml
valgrind_tests:
needs: unit_tests
uses: ./.github/workflows/valgrind.yml
static_check:
needs: unit_tests
uses: ./.github/workflows/job-static-check.yml
Expand Down
200 changes: 0 additions & 200 deletions .github/workflows/valgrind.sh

This file was deleted.

53 changes: 0 additions & 53 deletions .github/workflows/valgrind.yml

This file was deleted.

4 changes: 4 additions & 0 deletions cf-agent/files_edit.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,16 @@ typedef struct
char *changes_filename;
Item *file_start;
int num_edits;
int pass; // Current convergence pass (1 to CF_DONEPASSES-1)
#ifdef HAVE_LIBXML2
xmlDocPtr xmldoc;
#endif
NewLineMode new_line_mode;
} EditContext;

// Check if we're on the final convergence pass where errors should be reported
#define EDIT_CONTEXT_IS_FINAL_PASS(ec) ((ec)->pass >= CF_DONEPASSES - 1)

// filename must not be freed until FinishEditContext.
EditContext *NewEditContext(char *filename, const Attributes *a);
void FinishEditContext(EvalContext *ctx, EditContext *ec,
Expand Down
Loading
Loading