]> granicus.if.org Git - curl/commit
curl -z: do not write empty file on unmet condition
authorKamil Dudka <kdudka@redhat.com>
Thu, 23 Apr 2015 12:01:08 +0000 (14:01 +0200)
committerKamil Dudka <kdudka@redhat.com>
Thu, 23 Apr 2015 12:42:07 +0000 (14:42 +0200)
commit710a2e99b569d3f7bbc2771badcb1add87bb7e09
treeb6e1087799e732a7ee41aeee866ebabe3b5686c1
parent79478fdb68ecdb2e36ae634262133670ada44084
curl -z: do not write empty file on unmet condition

This commit fixes a regression introduced in curl-7_41_0-186-g261a0fe.
It also introduces a regression test 1424 based on tests 78 and 1423.

Reported-by: Viktor Szakats
Bug: https://github.com/bagder/curl/issues/237
src/tool_operate.c
tests/data/Makefile.inc
tests/data/test1424 [new file with mode: 0644]