aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2018-02-20 16:42:25 +0200
committerSergey Poznyakoff <gray@gnu.org>2018-02-20 16:46:31 +0200
commitdae43f323db9578e656e3a6c53440e2365421af7 (patch)
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')
-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
81 void *clos); 81 void *clos);
82 /* [Input] (!WRDSF_NOCMD) Returns in the memory 82 /* [Input] (!WRDSF_NOCMD) Returns in the memory
83 location pointed to by RET the expansion of 83 location pointed to by RET the expansion of
84 the command CMD (LEN bytes nong). If WRDSF_ARGV 84 the command CMD (LEN bytes long). If WRDSO_ARGV
85 flag is set, ARGV contains CMD split out to 85 option is set, ARGV contains CMD split out to
86 words. Otherwise ARGV is NULL. 86 words. Otherwise ARGV is NULL.
87 87
88 See ws_getvar for a discussion of possible 88 See ws_getvar for a discussion of possible

Return to:

Send suggestions and report system problems to the System administrator.