Re: [Toybox] [patch] add grep

2013-07-20 Thread Strake
Felix felix.ja...@posteo.de wrote: The *error_[msg,exit] functions should be used instead of [err,warn]x from err.h. These functions use xexit() instead of exit(). In xexit() calls exit() unless toys.rebound nonzero (e.g. when invoked from toysh) and in this case it long_jmps to

Re: [Toybox] [patch] add grep

2013-07-08 Thread Isaac
On Sun, Jul 07, 2013 at 08:02:29PM -0500, Strake wrote: # HG changeset patch # User Strake # Date 1373245375 18000 # Node ID 29e47cf402a5f81640c4b0a0e38d5f7741bc7ad6 # Parent f8db1f6ec4ab6972ee05126aae860e6ea104360e add grep diff -r f8db1f6ec4ab -r 29e47cf402a5 toys/posix/grep.c ---