Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Tor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
orbea
Tor
Commits
baef0843
Commit
baef0843
authored
4 years ago
by
Nick Mathewson
Browse files
Options
Downloads
Patches
Plain Diff
Fix a couple of documentation comments related to #40094
parent
dbc8d2a4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/lib/fs/conffile.c
+4
-4
4 additions, 4 deletions
src/lib/fs/conffile.c
src/lib/sandbox/sandbox.c
+3
-1
3 additions, 1 deletion
src/lib/sandbox/sandbox.c
with
7 additions
and
5 deletions
src/lib/fs/conffile.c
+
4
−
4
View file @
baef0843
...
...
@@ -53,10 +53,10 @@ config_get_lines_include(const char *string, config_line_t **result,
opened_lst
,
1
,
NULL
,
config_process_include
);
}
/** Return
s
a list of paths obtained when expading globs in <b>pattern</b>.
If
* <b>pattern</b> has no globs, return
s
a list with <b>pattern</b> i
f
it
is an
*
existing path or NULL otherwise.
If <b>opened_files</b> is provided, add
s
*
paths opened by glob to it.
Return
s
NULL on failure. */
/** Return a list of paths obtained when expading globs in <b>pattern</b>.
*
If
<b>pattern</b> has no globs, return a list with <b>pattern</b> i
n
it
.
* If <b>opened_files</b> is provided, add
paths opened by glob to it.
* Return NULL on failure. */
static
smartlist_t
*
expand_glob
(
const
char
*
pattern
,
smartlist_t
*
opened_files
)
{
...
...
This diff is collapsed.
Click to expand it.
src/lib/sandbox/sandbox.c
+
3
−
1
View file @
baef0843
...
...
@@ -1229,7 +1229,9 @@ static sandbox_filter_func_t filter_func[] = {
/**
* Return the interned (and hopefully sandbox-permitted) string equal
* to @a str.
*/
*
* Return NULL if `str` is NULL, or `str` is not an interned string.
**/
const
char
*
sandbox_intern_string
(
const
char
*
str
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment