1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00
curl/src/checksrc.whitelist
Daniel Stenberg 33ee411848 checksrc: detect fopen() for text without the FOPEN_* macros
Follow-up to e8423f9ce1 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.
2015-06-02 08:28:10 +02:00

4 lines
132 B
Plaintext

* 'name=@filename,filename2,filename3'
* 'name=@filename;type=image/gif,filename2,filename3'
file = fopen(name, "r"); /* VMS */