]> git.pld-linux.org Git - packages/mget.git/commitdiff
- multiline strings fix
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 1 Apr 2004 19:59:07 +0000 (19:59 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    mget-gcc33.patch -> 1.1

mget-gcc33.patch [new file with mode: 0644]

diff --git a/mget-gcc33.patch b/mget-gcc33.patch
new file mode 100644 (file)
index 0000000..ad6a136
--- /dev/null
@@ -0,0 +1,69 @@
+--- mget-1.4.1/mget.c.orig     2002-02-13 06:28:05.000000000 +0100
++++ mget-1.4.1/mget.c  2004-04-01 22:05:16.835294352 +0200
+@@ -41,36 +41,36 @@
+ void print_usage(void){
+       fprintf( \
+       stderr,
+-      "Usage: mget %s 
+-              [-n number_segments{1}] 
++      "Usage: mget %s\n\
++              [-n number_segments{1}]\n\
+               -f file_name\n" 
+ #ifdef HAVE_GETOPT_LONG
+-"             [--use_ftp_proxy[=<ftp_proxy_name:ftp_proxy_port{80}>]]
++"             [--use_ftp_proxy[=<ftp_proxy_name:ftp_proxy_port{80}>]]\n\
+               [--use_http_proxy[=<http_proxy_name:http_proxy_port{80}>]]\n"
+ #elif HAVE_GETOPT_GETOPT_H
+-"             [--use_ftp_proxy[=<ftp_proxy_name:ftp_proxy_port{80}>]]
++"             [--use_ftp_proxy[=<ftp_proxy_name:ftp_proxy_port{80}>]]\n\
+               [--use_http_proxy[=<http_proxy_name:http_proxy_port{80}>]]\n"
+ #endif
+-"             [-F<ftp_proxy_name:ftp_proxy_port{80}>]
+-              [-x<ftp_proxy_name:ftp_proxy_port{80}>]
+-              [-H<http_proxy_name:http_proxy_port{80}>]
+-              [-h<http_proxy_name:http_proxy_port{80}>]
+-              [-p port{80}] 
+-              [-O Output_file_name]
++"             [-F<ftp_proxy_name:ftp_proxy_port{80}>]\n\
++              [-x<ftp_proxy_name:ftp_proxy_port{80}>]\n\
++              [-H<http_proxy_name:http_proxy_port{80}>]\n\
++              [-h<http_proxy_name:http_proxy_port{80}>]\n\
++              [-p port{80}]\n\
++              [-O Output_file_name]\n\
+               [-C]\n"
+ #ifdef TRY_SIGNAL             
+ "             [-l {log_file}]\n"
+ #endif
+-"             [-t timeout_seconds{60}]
+-              [-R referrer]
+-              [-r rollback{0} bytes]
+-              [-v]
+-              [-V]
+--------------------------------------------------------------------------
+-proxy option can be given as -H(F) proxyhost:proxyport or 
+-as --use_http(or ftp)_proxy=proxyhost:proxyport. If port is not given, 
+-port is assumed to be 80. [Works differently in Solaris, refer manpage].
+-      On some machines getopt doesnot allow '-H <proxy_name>' i.e. the space is not allowed between H and hostname.
++"             [-t timeout_seconds{60}]\n\
++              [-R referrer]\n\
++              [-r rollback{0} bytes]\n\
++              [-v]\n\
++              [-V]\n\
++-------------------------------------------------------------------------\n\
++proxy option can be given as -H(F) proxyhost:proxyport or\n\
++as --use_http(or ftp)_proxy=proxyhost:proxyport. If port is not given,\n\
++port is assumed to be 80. [Works differently in Solaris, refer manpage].\n\
++      On some machines getopt doesnot allow '-H <proxy_name>' i.e. the space is not allowed between H and hostname.\n\
+                  \n", VERSION);
+       exit(1);
+ }
+@@ -308,8 +308,7 @@
+       if(PROTO_HTTP==FALSE)
+               port=21;
+-      VERBOSEPRINT(fprintf(outfile,"
+-              %sDocument %s requested from %s,with address %s in %d segments,\n,proxy:%s:%d\n%s",
++      VERBOSEPRINT(fprintf(outfile,"%sDocument %s requested from %s,with address %s in %d segments,\n,proxy:%s:%d\n%s",
+               sep,save_file_name,host_name,file_name,num_segment,proxy,proxy_port,sep))
+ }
This page took 0.068017 seconds and 4 git commands to generate.