Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
462e9568
Commit
462e9568
authored
Apr 16, 2019
by
Dridi Boukelmoune
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Restore suggestion burried in the commit log
parent
10b79a43
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
closefd.cocci
tools/coccinelle/closefd.cocci
+5
-0
No files found.
tools/coccinelle/closefd.cocci
View file @
462e9568
...
@@ -5,6 +5,11 @@
...
@@ -5,6 +5,11 @@
* holding the file descriptor has a const qualifier. It also make sures that
* holding the file descriptor has a const qualifier. It also make sures that
* fd looks like a valid file descriptor before even calling close().
* fd looks like a valid file descriptor before even calling close().
*
*
* It might be worth revisiting regularly cases that don't apply to this
* patch:
*
* git grep '(void)close'
*
* The second part of the patch undoes the change when fd is a constant such
* The second part of the patch undoes the change when fd is a constant such
* as STDIN_FILENO where it becomes nonsensical.
* as STDIN_FILENO where it becomes nonsensical.
*/
*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment