Commit 462e9568 authored by Dridi Boukelmoune's avatar Dridi Boukelmoune

Restore suggestion burried in the commit log

parent 10b79a43
...@@ -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.
*/ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment