mirror of
https://github.com/curl/curl.git
synced 2026-08-24 11:33:33 +03:00
Some of Doug Kaufman's changes for the DOS port
This commit is contained in:
parent
6dd4c13bc0
commit
5b72eb0b03
5 changed files with 27 additions and 12 deletions
18
src/main.c
18
src/main.c
|
|
@ -432,10 +432,10 @@ static void help(void)
|
|||
" Overrides -n and --netrc-optional\n"
|
||||
" -U/--proxy-user <user[:password]> Specify Proxy authentication\n"
|
||||
" -v/--verbose Makes the operation more talkative\n"
|
||||
#ifdef DJGPP
|
||||
" Also enables Watt-32 debugging\n"
|
||||
#endif
|
||||
" -V/--version Outputs version number then quits");
|
||||
#ifdef __DJGPP__
|
||||
puts(" --wdebug Turns on WATT-32 debugging under DJGPP");
|
||||
#endif
|
||||
puts(" -w/--write-out [format] What to output after completion\n"
|
||||
" -x/--proxy <host[:port]> Use proxy. (Default port is 1080)\n"
|
||||
" --random-file <file> File to use for reading random data from (SSL)\n"
|
||||
|
|
@ -1067,6 +1067,9 @@ static ParameterError getparameter(char *flag, /* f or -long-flag */
|
|||
{"5m", "ntlm", FALSE},
|
||||
{"5n", "basic", FALSE},
|
||||
{"5o", "anyauth", FALSE},
|
||||
#ifdef __DJGPP__
|
||||
{"5p", "wdebug", FALSE},
|
||||
#endif
|
||||
{"0", "http1.0", FALSE},
|
||||
{"1", "tlsv1", FALSE},
|
||||
{"2", "sslv2", FALSE},
|
||||
|
|
@ -1311,6 +1314,12 @@ static ParameterError getparameter(char *flag, /* f or -long-flag */
|
|||
config->authtype = CURLAUTH_ANY;
|
||||
break;
|
||||
|
||||
#ifdef __DJGPP__
|
||||
case 'p': /* --wdebug */
|
||||
dbug_init();
|
||||
break;
|
||||
#endif
|
||||
|
||||
default: /* the URL! */
|
||||
{
|
||||
struct getout *url;
|
||||
|
|
@ -1723,9 +1732,6 @@ static ParameterError getparameter(char *flag, /* f or -long-flag */
|
|||
cleanarg(nextarg);
|
||||
break;
|
||||
case 'v':
|
||||
#ifdef DJGPP
|
||||
dbug_init();
|
||||
#endif
|
||||
config->conf ^= CONF_VERBOSE; /* talk a lot */
|
||||
break;
|
||||
case 'V':
|
||||
|
|
|
|||
|
|
@ -78,6 +78,10 @@ int fileno( FILE *stream);
|
|||
#else
|
||||
|
||||
#ifdef DJGPP
|
||||
#include <tcp.h>
|
||||
#ifdef word
|
||||
#undef word
|
||||
#endif
|
||||
#define DIR_CHAR "/"
|
||||
#define DOT_CHAR "_"
|
||||
#else
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
#define CURL_NAME "curl"
|
||||
#define CURL_VERSION "7.10.6-pre1"
|
||||
#define CURL_VERSION "7.10.6-pre3"
|
||||
#define CURL_ID CURL_NAME " " CURL_VERSION " (" OS ") "
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue