[Toybox] [PATCH] Move the empty regex workaround into xregcomp.

enh enh at google.com
Tue Jul 30 09:58:19 PDT 2019


No current caller except grep needs this, but consistency seems like a
good idea.

Also change the xregcomp error message to be a bit more human-readable,
rather than mention an implementation detail.
---
 lib/xwrap.c       | 13 ++++++++++---
 toys/posix/grep.c |  5 ++---
 2 files changed, 12 insertions(+), 6 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Move-the-empty-regex-workaround-into-xregcomp.patch
Type: text/x-patch
Size: 1964 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20190730/dfc8ef81/attachment-0002.bin>


More information about the Toybox mailing list