ports/ftp/rexx-curl/files/patch-common_loader.c
Dmitry Marakasov 356f2dd1b2 - Resurrect ftp/rexx-curl
Rexx/CURL is an external function package providing an interface to the cURL
package. cURL is a general purpose package that allows access to any
URL-addressable resource. With Rexx/CURL you can access resources such as web
pages, ftp sites, and telnet sessions under control of your Rexx program.

WWW: http://rexxcurl.sourceforge.net/

PR:		211920
Submitted by:	bob@eager.cx
2016-08-19 13:55:56 +00:00

10 lines
280 B
C

--- common/loader.c.orig 2012-04-20 00:41:50 UTC
+++ common/loader.c
@@ -225,6 +225,7 @@ int main
/*
* Get any program options.
*/
+ optind = 1; /* Previously clobbered by regina */
while ((c = getopt(argc, argv, "Dudivh?f:")) != EOF)
{
switch (c)