Re: [PATCH] MI error messages

Andreas Schwab
2005-06-22T11:24:34Z

Nick Roberts <nickrob@snap.net.nz> writes:

> Nick Roberts writes:
> > I'll look at submitting a revised patch for mi-cmd-stack.c and mi-cmd-var.c
>
> I've defined two functions:
>
> enum mi_cmd_result
> mi_error (char* message)
> {
> mi_error_message = xstrprintf ("%s", message);

xstrdup?

Andreas.

--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, MaxfeldstraÃŸe 5, 90409 NÃ¼rnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."