[PATCH 08/12] echo: add -e option support
Sascha Hauer
s.hauer at pengutronix.de
Tue Mar 30 08:17:36 EDT 2010
On Tue, Mar 30, 2010 at 01:45:33PM +0200, Peter Korsgaard wrote:
> >>>>> "Sascha" == Sascha Hauer <s.hauer at pengutronix.de> writes:
>
> Sascha> Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
> Sascha> ---
> Sascha> commands/echo.c | 52 +++++++++++++++++++++++++++++++++++++++++++++++++++-
> Sascha> 1 files changed, 51 insertions(+), 1 deletions(-)
>
> Sascha> diff --git a/commands/echo.c b/commands/echo.c
> Sascha> index d5640a0..6f4f136 100644
> Sascha> --- a/commands/echo.c
> Sascha> +++ b/commands/echo.c
> Sascha> @@ -26,12 +26,59 @@
> Sascha> #include <fcntl.h>
> Sascha> #include <errno.h>
>
> Sascha> +static int my_fputs(int fd, const char *s)
>
> That's not a very descriptive name - What about something like
> advanced_fputs, escape_fputs or format_fputs?
Uh, I forgot to squash this commit with 10/12. This is what this patch
should look like:
More information about the barebox
mailing list