diff options
author | Daniel Stenberg <daniel@haxx.se> | 2015-06-02 08:28:10 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2015-06-02 08:28:10 +0200 |
commit | 33ee4118483111876c00e68004bc50674992eda2 (patch) | |
tree | 66e7040773cd32fd87e4f696c73f49e737dc25eb /src/checksrc.whitelist | |
parent | 3bbcb4b03605bafa0d8e79f82240b1bc8de7a7e7 (diff) |
checksrc: detect fopen() for text without the FOPEN_* macros
Follow-up to e8423f9ce150 with discussionis in
https://github.com/bagder/curl/pull/258
This check scans for fopen() with a mode string without 'b' present, as
it may indicate that an FOPEN_* define should rather be used.
Diffstat (limited to 'src/checksrc.whitelist')
-rw-r--r-- | src/checksrc.whitelist | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/checksrc.whitelist b/src/checksrc.whitelist index 335d44329..b078ac1ae 100644 --- a/src/checksrc.whitelist +++ b/src/checksrc.whitelist @@ -1,3 +1,3 @@ * 'name=@filename,filename2,filename3' * 'name=@filename;type=image/gif,filename2,filename3' -
\ No newline at end of file + file = fopen(name, "r"); /* VMS */ |