Skip to content

Commit

Permalink
Merge pull request #182 from MetPX/issue140_2
Browse files Browse the repository at this point in the history
Issue140 2 misc documentation fixes
  • Loading branch information
petersilva authored Nov 20, 2024
2 parents 2a5bd5c + 8f26901 commit 2eede00
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions libsr3shim.c
Original file line number Diff line number Diff line change
Expand Up @@ -282,9 +282,9 @@ int remembered_max = 0;

int should_not_post(const char *fn)
/*
given the file name fn, return(1) if we should post it, 0 otherwise.
given the file name fn, return(1) if we should not post it, 0 otherwise.
return true:
return True:
- file isn't opened by parent pid.
- file hasn't been seen by this routine in minterval seconds.
Expand Down
3 changes: 1 addition & 2 deletions shim_post.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ realpath off
logReject on
logLevel debug
debug True
realpathAdjust -2
realpathDirPost True
realpathAdjust -1
exchangeDeclare True
#integrity none
shim_post_minterval 10
Expand Down
4 changes: 3 additions & 1 deletion sr_post.c
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,9 @@ void sr_post_message(struct sr_context *sr_c, struct sr_message_s *m)
}

void realpath_adjust(struct sr_log_context_s *logctx, const char *input_path, char *output_path, signed int adjust)
/* how to adjust the realpath resolution.
/*
* Given a logical (symlinked?) path, return an realpath resolved output_path.
* how to adjust the realpath resolution.
* 0 - use the whole thing.
* n < 0 - from the right work left...
* n > 0 - from the left, work right...
Expand Down

0 comments on commit 2eede00

Please sign in to comment.