- Reuven Wachtfogel made curl -o - properly produce a binary output on windows
(no newline translations). Use -B/--use-ascii if you rather get the ascii approach.
This commit is contained in:
5
CHANGES
5
CHANGES
@@ -6,6 +6,11 @@
|
|||||||
|
|
||||||
Changelog
|
Changelog
|
||||||
|
|
||||||
|
Daniel Stenberg (16 Jun 2009)
|
||||||
|
- Reuven Wachtfogel made curl -o - properly produce a binary output on windows
|
||||||
|
(no newline translations). Use -B/--use-ascii if you rather get the ascii
|
||||||
|
approach.
|
||||||
|
|
||||||
Michal Marek (16 Jun 2009)
|
Michal Marek (16 Jun 2009)
|
||||||
- When doing non-anonymous ftp via http proxies and the password is not
|
- When doing non-anonymous ftp via http proxies and the password is not
|
||||||
provided in the url, add it there (squid needs this).
|
provided in the url, add it there (squid needs this).
|
||||||
|
|||||||
@@ -29,6 +29,7 @@ This release includes the following bugfixes:
|
|||||||
o curl uploading from stdin/pipes now works in non-blocking way so that it
|
o curl uploading from stdin/pipes now works in non-blocking way so that it
|
||||||
continues the downloading even when the read stalls
|
continues the downloading even when the read stalls
|
||||||
o ftp credentials are added to the url if needed for http proxies
|
o ftp credentials are added to the url if needed for http proxies
|
||||||
|
o curl -o - sends data to stdout using binary mode on windows
|
||||||
|
|
||||||
This release includes the following known bugs:
|
This release includes the following known bugs:
|
||||||
|
|
||||||
@@ -40,6 +41,6 @@ advice from friends like these:
|
|||||||
Yang Tse, Daniel Fandrich, Kamil Dudka, Caolan McNamara, Frank McGeough,
|
Yang Tse, Daniel Fandrich, Kamil Dudka, Caolan McNamara, Frank McGeough,
|
||||||
Andre Guibert de Bruet, Mike Crowe, Claes Jakobsson, John E. Malmberg,
|
Andre Guibert de Bruet, Mike Crowe, Claes Jakobsson, John E. Malmberg,
|
||||||
Aaron Oneal, Igor Novoseltsev, Eric Wong, Bill Hoffman, Daniel Steinberg,
|
Aaron Oneal, Igor Novoseltsev, Eric Wong, Bill Hoffman, Daniel Steinberg,
|
||||||
Fabian Keil
|
Fabian Keil, Michal Marek, Reuven Wachtfogel
|
||||||
|
|
||||||
Thanks! (and sorry if I forgot to mention someone)
|
Thanks! (and sorry if I forgot to mention someone)
|
||||||
|
|||||||
@@ -4584,7 +4584,7 @@ operate(struct Configurable *config, int argc, argv_item_t argv[])
|
|||||||
if(!config->errors)
|
if(!config->errors)
|
||||||
config->errors = stderr;
|
config->errors = stderr;
|
||||||
|
|
||||||
if(!outfile && !config->use_ascii) {
|
if((!outfile || !strcmp(outfile, "-")) && !config->use_ascii) {
|
||||||
/* We get the output to stdout and we have not got the ASCII/text
|
/* We get the output to stdout and we have not got the ASCII/text
|
||||||
flag, then set stdout to be binary */
|
flag, then set stdout to be binary */
|
||||||
SET_BINMODE(stdout);
|
SET_BINMODE(stdout);
|
||||||
|
|||||||
Reference in New Issue
Block a user