cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-users Mailing List Archives

Re: Progress info on win32?

From: Gisle Vanem <gvanem_at_broadpark.no>
Date: Wed, 12 Nov 2003 17:19:13 +0100

> I can't seem to get the progress bar to show on the win32 command line, and If
> I add --progress-bar the program crashes and XP want's to send a report to M$ :-)

Seems this is needed for MSVC:

--- main.c.org Fri Nov 07 21:27:03 2003
+++ main.c Wed Nov 12 17:13:29 2003
@@ -2366,6 +2366,7 @@
     sprintf( outline, format, line, percent );
     fprintf( bar->out, "\r%s", outline );
   }
+ fflush( bar->out );
   bar->prev = point;

Don't know about the crash though.

--gv

-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
Received on 2003-11-12

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET