From: Zdenek Kabelac <zkabelac@redhat.com>
To: lvm-devel@redhat.com
Subject: [PATCH 0/3] Allow empty prefix
Date: Thu, 6 Oct 2011 11:42:59 +0200 [thread overview]
Message-ID: <cover.1317893838.git.zkabelac@redhat.com> (raw)
Resolving problem of command like 'lvs/pvs/vgs' were always
printing 2 space prefix " " even if user has specified no prefix.
1. fix coredump of lvm if buggy config is read.
(introduced with cascaded patch).
2. For reading empty string introduce find_config_tree_str_allow_empty()
and dm_config_tree_find_str_allow_empty().
3. Change default to "" (no prefix) - since that what most users
would expect here probably.
Zdenek Kabelac (3):
Fix core on buggy config file
Add find_config_tree_str_allow_empty
Change default prefix.
doc/example.conf.in | 6 +++---
lib/commands/toolcontext.c | 7 ++++---
lib/config/config.c | 6 ++++++
lib/config/config.h | 2 ++
lib/config/defaults.h | 6 +++++-
libdm/libdevmapper.h | 2 ++
libdm/libdm-config.c | 25 +++++++++++++++++++------
test/t-000-basic.sh | 3 +++
8 files changed, 44 insertions(+), 13 deletions(-)
--
1.7.6.4
next reply other threads:[~2011-10-06 9:42 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-06 9:42 Zdenek Kabelac [this message]
2011-10-06 9:43 ` [PATCH 1/3] Fix core on buggy config file Zdenek Kabelac
2011-10-06 9:43 ` [PATCH 2/3] Add find_config_tree_str_allow_empty Zdenek Kabelac
2011-10-06 9:43 ` [PATCH 3/3] Change default prefix Zdenek Kabelac
2011-10-06 9:49 ` Zdenek Kabelac
2011-10-26 11:19 ` Milan Broz
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=cover.1317893838.git.zkabelac@redhat.com \
--to=zkabelac@redhat.com \
--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.