summaryrefslogtreecommitdiffabout
path: root/include
authorSergey Poznyakoff <gray@gnu.org>2018-02-20 14:42:25 (GMT)
committer Sergey Poznyakoff <gray@gnu.org>2018-02-20 14:46:31 (GMT)
commitdae43f323db9578e656e3a6c53440e2365421af7 (patch) (side-by-side diff)
tree6e1cec4e17f3ee0132a1819e6c5a05d5170e18f0 /include
parent3299cf1ccb1c596969fcfd91253e10d5482eacf9 (diff)
downloadgrecs-dae43f323db9578e656e3a6c53440e2365421af7.tar.gz
grecs-dae43f323db9578e656e3a6c53440e2365421af7.tar.bz2
Minor improvement in wordsplit
* src/wordsplit.c (expvar): Gracefully handle NULL values in ENV_KV environment. * src/wordsplit.h: Fix typo in a comment. * doc/wordsplit.3: Update.
Diffstat (limited to 'include') (more/less context) (ignore whitespace changes)
-rw-r--r--include/wordsplit.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/wordsplit.h b/include/wordsplit.h
index eed88bc..d8cd461 100644
--- a/include/wordsplit.h
+++ b/include/wordsplit.h
@@ -81,8 +81,8 @@ struct wordsplit
void *clos);
/* [Input] (!WRDSF_NOCMD) Returns in the memory
location pointed to by RET the expansion of
- the command CMD (LEN bytes nong). If WRDSF_ARGV
- flag is set, ARGV contains CMD split out to
+ the command CMD (LEN bytes long). If WRDSO_ARGV
+ option is set, ARGV contains CMD split out to
words. Otherwise ARGV is NULL.
See ws_getvar for a discussion of possible

Return to:

Send suggestions and report system problems to the System administrator.