Re: [obv] Handle var_string_noescape and var_optional_filename together.

Jan Kratochvil
2012-07-18T13:57:25Z

On Wed, 18 Jul 2012 20:40:14 +0200, Yao Qi wrote:
> I notice that the code in case var_string_noescape and var_optional_filename
> are exactly the same, so this patch is to combine them together. I'll commit
> it in two days.

I do not agree, this will hide an existing bug.

Correct it to fix var_optional_filename to be more like var_filename (clearing
whitespaces + doing tilde_expand); except sure without that:
if (arg == NULL)
error_no_arg (_("filename to set it to."));

Thanks,
Jan