Re: [PATCH] config: Print the delimeter of intuited --bool values under --get-regexp
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Aug 27, 2010, 03:17 UTC
- Message-ID
- <20100827031757.GD23924@burratino>
- In-Reply-To
- <1282855775-22582-1-git-send-email-alex@chmrr.net>
Alex Vandiver wrote:
Show 6 quoted lines
> @@ -132,14 +129,21 @@ static int show_config(const char *key_, const char *value_, void *cb) > must_free_vptr = 1; > } > else > - vptr = value_?value_:""; > + vptr = value_;
[...]
> if (dup_error) {
> error("More than one value for the key %s: %s",
> key_, vptr);Could this segfault?