]> granicus.if.org Git - curl/commit
file: use fdopen() for uploaded files if available
authorKamil Dudka <kdudka@redhat.com>
Mon, 30 Jul 2012 12:20:07 +0000 (14:20 +0200)
committerKamil Dudka <kdudka@redhat.com>
Mon, 30 Jul 2012 13:04:38 +0000 (15:04 +0200)
commit1f8518c5d9aaa369dae85620973f9b5c1add3277
treefc05a61f906b39bcce723dcbb155c6b4617cf3bc
parenta52857cb025436df5a424dc603c54b97e4c2fab0
file: use fdopen() for uploaded files if available

It eliminates noisy events when using inotify and fixes a TOCTOU issue.

Bug: https://bugzilla.redhat.com/844385
lib/file.c