All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Allow empty prefix
@ 2011-10-06  9:42 Zdenek Kabelac
  2011-10-06  9:43 ` [PATCH 1/3] Fix core on buggy config file Zdenek Kabelac
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Zdenek Kabelac @ 2011-10-06  9:42 UTC (permalink / raw)
  To: lvm-devel

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



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-10-26 11:19 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-06  9:42 [PATCH 0/3] Allow empty prefix Zdenek Kabelac
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

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.