diff options
author | Eric Andersen | 2005-07-18 23:51:27 +0000 |
---|---|---|
committer | Eric Andersen | 2005-07-18 23:51:27 +0000 |
commit | 164a716f964bba247c660bc70149234f95146871 (patch) | |
tree | 95a8a6f75cb2ed1bb07cb6019088db7348ebf4d4 /busybox/scripts/config/expr.c | |
parent | 8c59a0bf0e9e2d87b0ff273ea3f0bf05bbbf6373 (diff) | |
download | busybox-164a716f964bba247c660bc70149234f95146871.zip busybox-164a716f964bba247c660bc70149234f95146871.tar.gz |
busybox-1.0.1-rc1.patch
http://busybox.net/lists/busybox/2005-July/014974.html
Diffstat (limited to 'busybox/scripts/config/expr.c')
-rw-r--r-- | busybox/scripts/config/expr.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/busybox/scripts/config/expr.c b/busybox/scripts/config/expr.c index 10f4523..30e4f9d 100644 --- a/busybox/scripts/config/expr.c +++ b/busybox/scripts/config/expr.c @@ -1087,3 +1087,13 @@ void expr_fprint(struct expr *e, FILE *out) { expr_print(e, expr_print_file_helper, out, E_NONE); } + +static void expr_print_gstr_helper(void *data, const char *str) +{ + str_append((struct gstr*)data, str); +} + +void expr_gstr_print(struct expr *e, struct gstr *gs) +{ + expr_print(e, expr_print_gstr_helper, gs, E_NONE); +} |