summaryrefslogtreecommitdiffstats
path: root/.gitignore
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2014-01-09 17:25:09 -0800
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-01-10 02:35:21 +0100
commite0a21c71f469f91843aa1250aec23e672778870d (patch)
tree0e83bb03107fbe93aaf3c18eb361d868cccb6558 /.gitignore
parent47a0d64dcf1f3351e39d1dae8fc3a317ffc03c5e (diff)
Don't check if a file exists before opening it
If the file doesn't exist, open() will fail. But open() might fail even if the file exists(), which would lead to bad follow-up code. In any case, this saves one unnecessary stat(2). Change-Id: Ic99507c9dc07a4387ee6a4fe9c24830fca54e095 Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions