From: zkabelac@sourceware.org <zkabelac@sourceware.org>
To: lvm-devel@redhat.com
Subject: LVM2 ./WHATS_NEW lib/display/display.c
Date: 3 Nov 2009 10:50:58 -0000 [thread overview]
Message-ID: <20091103105058.22155.qmail@sourceware.org> (raw)
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: zkabelac at sourceware.org 2009-11-03 10:50:57
Modified files:
. : WHATS_NEW
lib/display : display.c
Log message:
Add fflush for the case the log is redirected to the buffered file.
Without this patch it have not been obvious, why the application
waits on the stdin as the prompt might be still buffered in memory.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.1310&r2=1.1311
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/display/display.c.diff?cvsroot=lvm2&r1=1.106&r2=1.107
--- LVM2/WHATS_NEW 2009/10/31 17:43:57 1.1310
+++ LVM2/WHATS_NEW 2009/11/03 10:50:57 1.1311
@@ -1,5 +1,6 @@
Version 2.02.55 -
===================================
+ Flush stdout after yes/no prompt.
Update vgsplit and vgcreate to use vg_set_clustered.
Add vg_mda_count and vg_set_clustered library function.
Add more vgcreate and vgsplit nightly tests.
--- LVM2/lib/display/display.c 2009/10/26 10:01:57 1.106
+++ LVM2/lib/display/display.c 2009/11/03 10:50:57 1.107
@@ -824,6 +824,7 @@
va_start(ap, prompt);
vprintf(prompt, ap);
va_end(ap);
+ fflush(stdout);
}
if ((c = getchar()) == EOF) {
next reply other threads:[~2009-11-03 10:50 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-03 10:50 zkabelac [this message]
-- strict thread matches above, loose matches on Subject: below --
2012-02-13 14:23 LVM2 ./WHATS_NEW lib/display/display.c zkabelac
2011-11-23 1:34 agk
2009-09-30 14:19 agk
2009-09-28 16:36 agk
2007-05-31 14:19 wysochanski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20091103105058.22155.qmail@sourceware.org \
--to=zkabelac@sourceware.org \
--cc=lvm-devel@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.