Add fflush (#24319).
authorjbj <devnull@localhost>
Wed, 21 Feb 2001 19:14:35 +0000 (19:14 +0000)
committerjbj <devnull@localhost>
Wed, 21 Feb 2001 19:14:35 +0000 (19:14 +0000)
CVS patchset: 4565
CVS date: 2001/02/21 19:14:35

lib/rpminstall.c

index 47024f0..741b6c8 100644 (file)
@@ -130,6 +130,7 @@ static void * showProgress(const void * arg, const rpmCallbackType what,
            fprintf(stdout, "%%%% %f\n", (total
                                ? ((float) ((((float) amount) / total) * 100))
                                : 100.0));
+           fflush(stdout);
        } else if (flags & INSTALL_HASH) {
            printHash(amount, total);
        }