- Eric Wong fixed --no-buffer to actually switch off output buffering. Been

broken since 7.19.0
This commit is contained in:
Daniel Stenberg 2009-06-07 22:21:22 +00:00
parent d71c1514f2
commit 9324f1c29f
3 changed files with 9 additions and 3 deletions

View File

@ -6,6 +6,10 @@
Changelog
Daniel Stenberg (8 June 2009)
- Eric Wong fixed --no-buffer to actually switch off output buffering. Been
broken since 7.19.0
Yang Tse (5 Jun 2009)
- John E. Malmberg provided VMS specific patch: "This fixes an existing bug
in urlglob.c where it was not converting the Curl Unix exit code to a VMS

View File

@ -23,6 +23,7 @@ This release includes the following bugfixes:
o set Content-Length: with POST and PUT failed with NTLM auth
o allow building libcurl for VxWorks
o curl tool exit codes fixed for VMS
o --no-buffer treated correctly
This release includes the following known bugs:
@ -33,6 +34,6 @@ advice from friends like these:
Yang Tse, Daniel Fandrich, Kamil Dudka, Caolan McNamara, Frank McGeough,
Andre Guibert de Bruet, Mike Crowe, Claes Jakobsson, John E. Malmberg,
Aaron Oneal, Igor Novoseltsev
Aaron Oneal, Igor Novoseltsev, Eric Wong
Thanks! (and sorry if I forgot to mention someone)

View File

@ -2634,8 +2634,9 @@ static ParameterError getparameter(char *flag, /* f or -long-flag */
}
break;
case 'N':
/* disable the output I/O buffering */
config->nobuffer = (bool)(!toggle);
/* disable the output I/O buffering. note that the option is called
--buffer but is mostly used in the negative form: --no-buffer */
config->nobuffer = (bool)(longopt ? !toggle : toggle);
break;
case 'O': /* --remote-name */
if(subletter == 'a') { /* --remote-name-all */