curl-users
Re: Progress info on win32?
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